Retrieve access token details
If you want to retrieve information about your access token, you can perform a GET request on /auth
. This request returns diverse information on the user authenticated in your application: id, username, screen name, extended permissions accepted, roles granted the application through which the token was created.
Response example:
{
"id": "x1fz4ii",
"scope": [
"manage_comments",
"manage_videos",
"userinfo"
],
"roles": [],
"username": "DailymotionAPI",
"screenname": "Dailymotion API"
}