v1

latestOpenAPI 3.0.02026-07-265081124.2 KB
API Tokens

Get partner capabilities

Returns the partner capability configuration for the authenticated user, including whether token management is enabled and which scopes are allowed for self-service token derivation. Requires Privy authentication (Bearer token).

get/auth/api-tokens/capabilities

Response

Partner capability configuration

partnerProfileIdinteger required

Partner profile ID

tokenManagementEnabledboolean required

Whether the partner can manage tokens via self-service endpoints

allowedScopesstring[] required

Scopes the partner is allowed to request when deriving tokens

Example response

{
  "partnerProfileId": 42,
  "tokenManagementEnabled": true,
  "allowedScopes": [
    "trading",
    "account_creation",
    "delegated_signing"
  ]
}