Who am I?
GET
/api/v1/integration/me
Verify your access_token and see the installer + scopes.
Auth: Bearer access_token
Returns the installer user and the scopes your token was granted. Use this as a credentials probe.
Responses
| Status | When |
|---|---|
200 | Token valid |
RequestResponses
curl -X GET "https://backend.mysmsgateway.app/api/v1/integration/me" \
-H "Authorization: Bearer <ACCESS_TOKEN>"Token valid
{
"success": true,
"data": {
"integration": {
"id": 12,
"name": "Your App"
},
"user": {
"id": 42,
"name": "Gary",
"email": "gary@example.com"
},
"scopes": [
"contacts.read",
"contacts.write"
]
}
}Try It!
This endpoint needs a bearer token. Open Settings (top right) and paste your access_token.
Request URL
GEThttps://backend.mysmsgateway.app/api/v1/integration/me
Previous
« Refresh tokens
Next
List workspaces »
