Authentication
API uses OAuth2 as an authorization layer. As such, every API request must contain an Authorize HTTP header with a apikey . Apikey are app and user-specific.
Please do not share the apikey with anyone, nor post it publicly.
OAuth2 with apikey
The recommended way to authenticate with the API is by using OAuth2. When establishing a connection using OAuth2, you will need your apikey — you will find it in the dashboard under API settings. Here's how to add the apikey to the request header using cURL:
Example request with bearer token
curl -/v1/whatsapp \
-H 'apikey':'string'
Always keep your token safe and reset it if you suspect it has been compromised.