GET
/
partner
/
scopes
curl https://api.thanx.com/partner/scopes \
  -H 'X-ClientId: ${client_id}' \
  -H 'Accept-Version: v4.0' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer ${access_token}' \
{
  "scopes": [
    "subscribers.write"
  ]
}
This endpoint can be used to list out the scopes the API credentials currently has access to.
curl https://api.thanx.com/partner/scopes \
  -H 'X-ClientId: ${client_id}' \
  -H 'Accept-Version: v4.0' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer ${access_token}' \

Response

scopes
array(string)
Scope granted to API credential being used
{
  "scopes": [
    "subscribers.write"
  ]
}