Social Settings
Returns the social settings of the authenticated user, or the defaults when they never changed them.
Signed Fetch authentication. See ADR-44 for more details about the authentication mechanism.
Social settings of the authenticated user
Invalid request or missing authentication
Internal server error
GET /v1/social-settings HTTP/1.1
Host: social-api.decentraland.org
Authorization: YOUR_API_KEY
Accept: */*
{
"data": {
"privateMessagesPrivacy": "all",
"blockedUsersMessagesVisibility": "show_messages",
"showSituationReactions": "show"
}
}Updates the submitted social settings of the authenticated user and returns all of them. At least one setting must be submitted. The private messages privacy is also synced to Comms Gatekeeper; if that fails the request answers 500, and a restriction to only_friends is not stored.
Signed Fetch authentication. See ADR-44 for more details about the authentication mechanism.
Updated social settings
Invalid request or missing authentication
Internal server error
PATCH /v1/social-settings HTTP/1.1
Host: social-api.decentraland.org
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 113
{
"privateMessagesPrivacy": "all",
"blockedUsersMessagesVisibility": "show_messages",
"showSituationReactions": "show"
}{
"data": {
"privateMessagesPrivacy": "all",
"blockedUsersMessagesVisibility": "show_messages",
"showSituationReactions": "show"
}
}Returns who can send private messages to each requested user, and whether each one is a friend of the authenticated user.
Signed Fetch authentication. See ADR-44 for more details about the authentication mechanism.
Addresses to look up, at most 50 (e.g. ?addresses=0x0000000000000000000000000000000000000001&addresses=0x0000000000000000000000000000000000000002)
Private messages settings of the requested users
Invalid request or missing authentication
Internal server error
GET /v1/private-messages-settings HTTP/1.1
Host: social-api.decentraland.org
Authorization: YOUR_API_KEY
Accept: */*
{
"data": [
{
"address": "text",
"privateMessagesPrivacy": "all",
"isFriend": true
}
]
}Last updated