cURL
curl --request POST \ --url https://catalystapi.superdashhq.com/api/v1/whatsapp/manage/sendTemplateMessage/{workspaceId}/{assistantId} \ --header 'Content-Type: application/json' \ --header 'x-api-key: <x-api-key>' \ --data ' { "toNumber": "<string>", "templateName": "<string>", "language": "<string>", "parameters": {} } '
{ "msg": "Outbound WhatsApp Message succesfully sent", "data": { "messaging_product": "whatsapp", "contacts": [ { "input": "<WHATSAPP_USER_PHONE_NUMBER>", "wa_id": "<WHATSAPP_USER_ID>" } ], "messages": [ { "id": "<WHATSAPP_MESSAGE_ID>", "message_status": "<PACING_STATUS>" } ], "phoneNumberId": "<PHONE_NUMBER_ID_USED>" } }
Send a WhatsApp Template Message
"Named Parameters"