Skip to main content
GET
Get the decrypted Meta access token
Returns the Meta access token that D-API stores for the connection, already decrypted, along with the token’s classification. The id accepts the connection id or the session id (cloud-<uuid>).

Token types (kind)

Besides kind, data contains label (summary in Portuguese, ready to display), expiresInDays, isValid, scopes, type (Meta’s own label: USER, SYSTEM_USER…), wabaId, phoneNumberId and businessId.

Example

The accessToken is a secret: with it you can send messages and manage the WABA. Only call this route from your backend, with the secret API key, and do not log the token. Every read is audited.
To replace the stored token (rotation), use Update connection with the accessToken field.

Authorizations

Authorization
string
header
required

API Key for authentication. Format: <API_KEY>

Path Parameters

id
string
required

Response

Successful response

success
boolean
required
data
any
error
string
code
string