API Reference
Debug an access token
/debug_tokenhttps://whatsapp.mimicr.dev/v24.0 · provider: https://graph.facebook.com/v24.0Inspects an access token: app, validity, scopes and the WABAs each scope reaches (granular_scopes). Authenticate with the app access token <app_id>|<app_secret>. An unknown or revoked token answers 200 with is_valid: false.
Authorization
Bearer token in the Authorization: Bearer <token> header. See Authentication.
Query parameters
Token to inspect.
Responses
200Token data.
Show child attributes
App ID.
USER.
App name.
Whether the token is valid.
Issue time.
Expiry (0 = never).
Data access expiry.
Show child attributes
Permission.
WABA IDs.
User ID.
Show child attributes
190.
Why the token is invalid.
401Missing, invalid or revoked access token (190; a revoked token adds error_subcode: 460). A missing token answers 400 with code 104.
Show child attributes
Human-readable error message, for WhatsApp errors prefixed with (#code).
Exception type.
"OAuthException"Error code. See the error codes reference.
More specific code, when there is one (for example 33 for objects that do not exist or are not visible to the token, 460 for revoked tokens, 2388024 for duplicate templates).
Title meant to be shown to the end user.
Message meant to be shown to the end user.
Show child attributes
Always whatsapp.
Details about the error.
Trace ID. Include it when you contact support.