Superadmin APIs/Third-Party Integrations
Test WhatsApp Integration
POST
/superadmin/integrations/:id/test-whatsappBearer token required
SUPERADMINContent-Type:
application/jsonPath Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | number | Required |
Request Example
JSON
{
"phoneNumber": "+919876543210",
"mode": "template",
"templateName": "hello_world",
"languageCode": "en_US"
}Code Examples
curl -X POST 'https://<your-domain>:3001/superadmin/integrations/:id/test-whatsapp' \
-H 'Authorization: Bearer <token>' \
-H 'Content-Type: application/json' \
-d '{
"phoneNumber": "+919876543210",
"mode": "template",
"templateName": "hello_world",
"languageCode": "en_US"
}'