API ReferenceIdentity
Current token
Describe the current access token — its app, organization, actor and granted scopes.
Authorization
bearerAuth AuthorizationBearer <token>
OAuth access token, e.g. Authorization: Bearer swot_….
In: header
Response Body
application/json
application/json
curl -X GET "https://example.com/api/oauth/v1/me"{
"application": {
"id": "string",
"name": "string",
"client_id": "string"
},
"organization": {
"id": "string",
"name": "string",
"display_name": "string",
"domain": "string",
"created_at": "2019-08-24T14:15:22Z"
},
"actor": "app",
"scopes": [
"string"
],
"user": {
"id": "string",
"name": "string",
"email": "string",
"instagram_handle": "string",
"profile_picture_url": "string"
}
}{
"error": "insufficient_scope",
"error_description": "The token is missing a required scope."
}