logo
enes

Example

Last update: 6 hours ago by Irais Aguirre

curl examples for generating the Messaging and Admin tokens.

Messaging token

curl "https://{{url}}/whatsapp-bsp-api-endpoint-ws/services/v1/auth/token" \
--header "Api-Key: {{api-key}}" \
--header "Api-Token: {{api-token}}"

Admin token

curl "https://{{url_token_admin}}/broadcaster-authorization-server-ws/services/v1/auth/token" \
--header "Api-Key: {{api-key}}" \
--header "Api-Token: {{api-token}}"
WhatsApp — Previous
HTTP connection
Next
Response