New docs? Check out the change log to learn more!
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": {}
}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": {}
}The access token received from the authorization server in the OAuth 2.0 flow.