API Reference
Login and Embedded Signup

Debug an access token

GET/debug_token
Base URL: https://whatsapp.mimicr.dev/v24.0 · provider: https://graph.facebook.com/v24.0

Inspects 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

input_tokenstringrequired

Token to inspect.

Responses

200Token data.
dataobject
Show child attributes
app_idstring

App ID.

typestring

USER.

applicationstring

App name.

is_validboolean

Whether the token is valid.

issued_atinteger

Issue time.

expires_atinteger

Expiry (0 = never).

data_access_expires_atinteger

Data access expiry.

scopesstring[]
granular_scopesobject[]
Show child attributes
scopestring

Permission.

target_idsstring[]

WABA IDs.

user_idstring

User ID.

errorobject
Show child attributes
codeinteger

190.

messagestring

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.
errorobjectrequired
Show child attributes
messagestringrequired

Human-readable error message, for WhatsApp errors prefixed with (#code).

typestringrequired

Exception type.

Example: "OAuthException"
codeintegerrequired

Error code. See the error codes reference.

error_subcodeinteger

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).

error_user_titlestring

Title meant to be shown to the end user.

error_user_msgstring

Message meant to be shown to the end user.

error_dataobject
Show child attributes
messaging_productstring

Always whatsapp.

detailsstring

Details about the error.

fbtrace_idstringrequired

Trace ID. Include it when you contact support.