X-Api-Key as the primary credential for public API integration.
X-Api-Key: <api_key>Authorization: Bearer <api_key>(alternative)
API key example
cURL
Optional: bearer token
Bearer token is also supported for public API key usage.cURL
Token management
- Store credentials in server-side secret manager.
- Never expose credentials in browser client code.
- Rotate credentials if you suspect leakage.
Creating API keys
Create and manage API keys from your Wazapin dashboard (organization settings). For public integration, use the generated key directly inX-Api-Key.
Authentication errors
If token is missing or invalid, API returns401 Unauthorized.
See Error handling for response schema.