What is the Anant8 API?
Anant8 provides WhatsApp Business messaging software. Its Meta-shaped /v1 send routes synchronously submit supported messages through Anant8's prepaid billing and durable dispatch pipeline, then return Meta's actual HTTP 200 response with the provider wamid. A wamid confirms provider acceptance, not final delivery. Create a phone-number-scoped Anant8 Bearer API token from an authenticated client account for server integrations.
Integration workflow
Create an Anant8 customer account and connect an active WhatsApp Business Account in the Anant8 app. Sign in at /api/auth/client/login, then create a developer token scoped to one connected phone number at /api/client/developer-tokens. Use that token for /v1 WhatsApp routes, and use the login JWT for customer portal APIs such as message history. Keep both credentials on your server; never put them in browser code.
Quick start
/api/auth/client/loginBearer JWTThe login endpoint accepts the customer email and password. Store the returned token securely and send it as a Bearer token. The endpoint uses tenant resolution from the request host (and the optional X-Tenant-Host header where the deployment requires it).
curl -X POST https://api.anant8tech.com/api/auth/client/login \
-H 'Content-Type: application/json' \
-d '{"email":"you@example.com","password":"YOUR_ACCOUNT_PASSWORD"}'Login response
The successful response contains data.token, clientId, partnerId, companyName, and role. JWT expiry is configured by the server (JwtSettings:ExpiryMinutes); the response does not currently include an expiresAt value. When the token expires, authenticate again with the client login endpoint.
{
"success": true,
"message": "Client login successful.",
"data": {
"token": "<JWT>",
"clientId": 123,
"partnerId": 45,
"companyName": "Example Co",
"role": "Client"
}
}Available capabilities
The /v1 public API supports text, image, document, video, audio, location, interactive button/list, and approved template sends. Successful sends return HTTP 200 only after Meta accepts the request. Free-form and media sends require an open 24-hour customer service window; use approved templates outside the window. Marketing templates use the marketing route. Cloud API media upload, metadata retrieval, download, and delete are supported for media uploaded through Anant8. Anant8-specific batch APIs remain asynchronous; history reports sent, delivered, read, and failed statuses separately.
Need help with an integration? Contact Anant8