Skip to main content
GET
/
users
/
@me
/
applications
/
{application_id}
/
role-connection
cURL
curl --request GET \
  --url https://discord.com/api/v10/users/@me/applications/{application_id}/role-connection \
  --header 'Authorization: Bearer <token>'
{
  "platform_name": "<string>",
  "platform_username": "<string>",
  "metadata": {}
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

application_id
string<snowflake>
required

Response

200 response for get_application_user_role_connection

platform_name
string | null
platform_username
string | null
metadata
object