API referenceOAuth
List known scopes
The full scope registry a client can request, with the descriptions shown on the consent screen.
Dashboard onlyCalled by the Gladys merchant dashboard with a signed-in user. Application tokens are refused with 403, so it cannot be tried here: manage your applications and connected apps in the dashboard.
get
/oauth/scopesThe full scope registry a client can request, with the descriptions shown on the consent screen.
OAuth2 Token Revocation POST
Revokes an access or refresh token (RFC 7009); revoking a refresh token also revokes the access token issued with it. token_type_hint only decides which kind is looked up first. Answers 200 whether or not the token existed.
OAuth2 Token POST
Exchanges a grant for an access token: client_credentials (your app's own token), authorization_code with PKCE (a user who connected your app), or refresh_token. Send the parameters form-encoded. Errors use the RFC 6749 shape, {"error", "error_description"}.