For the complete documentation index, see llms.txt. This page is also available as Markdown.

Social Settings

Get the social settings

get
/v1/social-settings

Returns the social settings of the authenticated user, or the defaults when they never changed them.

Authorizations
AuthorizationstringRequired

Signed Fetch authentication. See ADR-44 for more details about the authentication mechanism.

Responses
200

Social settings of the authenticated user

application/json
get/v1/social-settings
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"
  }
}

Update the social settings

patch
/v1/social-settings

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.

Authorizations
AuthorizationstringRequired

Signed Fetch authentication. See ADR-44 for more details about the authentication mechanism.

Body
privateMessagesPrivacystring · enumOptionalPossible values:
blockedUsersMessagesVisibilitystring · enumOptionalPossible values:
showSituationReactionsstring · enumOptionalPossible values:
Responses
200

Updated social settings

application/json
patch/v1/social-settings
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"
  }
}

Get the private messages settings of other users

get
/v1/private-messages-settings

Returns who can send private messages to each requested user, and whether each one is a friend of the authenticated user.

Authorizations
AuthorizationstringRequired

Signed Fetch authentication. See ADR-44 for more details about the authentication mechanism.

Query parameters
addressesstring[] · max: 50Optional

Addresses to look up, at most 50 (e.g. ?addresses=0x0000000000000000000000000000000000000001&addresses=0x0000000000000000000000000000000000000002)

Responses
200

Private messages settings of the requested users

application/json
get/v1/private-messages-settings
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