Debug Token

GET https://graph.facebook.com/{{Version}}/debug_token?input_token={{OAuth-User-Token}}

After a business finishes the embedded signup flow, you can fetch the shared WhatsApp business account ID using the returned accessToken with the Debug-Token endpoint.

Request Params

| Key | Datatype | Required | Description | | input_token | string | | Token returned once the business finished going through the embedded signup flow. |

HEADERS

| Key | Datatype | Required | Description |

RESPONSES

status: OK

{"data":{"app_id":"facebook-app-id","type":"USER","application":"app-name","data_access_expires_at":1600000000,"expires_at":1600000000,"is_valid":true,"scopes":["whatsapp_business_management","public_profile"],"granular_scopes":[{"scope":"whatsapp_business_management","target_ids":["111111111111111","222222222222222","333333333333333"]}],"user_id":"XXXXXXXXXXXXXXX"}}