Get workspace permissions OAuth Scope: identify:read
Get workspace permissions OAuth Scope: identify:read
Retrieve the permissions granted to the OAuth or API token for this workspace. API keys return all granular OAuth scopes. OAuth tokens return only the scopes they were authorized for.
posts write access is only included when the Send API feature is enabled; tokens with posts:write but without Send API receive posts as ["read"].
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Response
A map of OAuth resources to the permission actions granted for each. Keys are resource names (e.g. posts, segments) and values are arrays of granted actions (read and/or write). API keys receive all granular OAuth scopes. OAuth tokens receive only the scopes they were authorized for. posts write access is only included when the Send API feature is enabled for the workspace; if the token has posts:write but Send API is disabled, posts is returned as ["read"].