Authentication
How to authenticate your requests to the WhatsApp API.
API Token
To authenticate your requests, you must include your API token in the Authorization header of every request.
Header: Authorization: Bearer YOUR_API_TOKEN
Note: Your API token can be found in the API settings of your dashboard. Keep this token secure and do not share it.
Example Request
curl -H "Authorization: Bearer $TOKEN" $API_URL/user/profileError Codes
If your token is missing or invalid, the API will return a 401 Unauthorized response.
{
"success": false,
"message": "Invalid or missing authentication token"
}