GET
/
v5
/
me
/
social_accounts
curl --request GET \
  --url https://{defaultHost}/v5/me/social_accounts \
  --header 'Authorization: Bearer <token>'
[
  {
    "service": "discord",
    "username": "<string>",
    "default": true,
    "account_id": "<string>",
    "image_url": "<string>"
  }
]

Authorizations

Authorization
string
header
required

User OAuth token for /v5/me endpoints

Response

200 - application/json
social accounts retrieved
service
enum<string>
required

The type of social account that it is.

Available options:
discord,
twitter
default
boolean | null
required

Whether or not this is the default social account for the user's account for the provider.

account_id
string
required

The ID of the social account from the provider, like a discord ID or twitter ID.

username
string | null

The username of the social account

image_url
string | null

A URL for the image of the social account.