Whatsapp Messages
Core messaging endpoints. Initiate chats, send messages, templates, and reactions.
Endpoints
| Method | Route | Auth | Description |
|---|---|---|---|
| POST | /api/v1/WhatsappMessage/addgroup | Create a new chat group with a contact | |
| POST | /api/v1/WhatsappMessage/groups | Get paginated list of chat groups | |
| GET | /api/v1/WhatsappMessage/group/{id} | Get a specific chat group by ID | |
| POST | /api/v1/WhatsappMessage/messages | Get paginated list of messages | |
| GET | /api/v1/WhatsappMessage/message/{id} | Get a specific message by ID | |
| POST | /api/v1/WhatsappMessage/sendtemplatemessage | Send a template message to a chat group | |
| POST | /api/v1/WhatsappMessage/sendtemplatewithmobileno | Send a template message via mobile number | |
| POST | /api/v1/WhatsappMessage/sendtemplatebulk | Send a template message to multiple contacts in bulk | |
| POST | /api/v1/WhatsappMessage/sendcustommessage | Send a custom free-form text or media message | |
| POST | /api/v1/WhatsappMessage/sendmessagewithmobileno | Send a custom message via mobile number | |
| POST | /api/v1/WhatsappMessage/sendtestjson | Send direct template JSON payload (for testing) |
POST
/api/v1/WhatsappMessage/sendtemplatemessage
JSON Request
{
"groupId": "123e4567-e89b-12d3-a456-426614174000",
"templateId": "53f191b7-9577-4406-81da-45e0f7690f70"
}JSON Response
{
"isSuccess": true,
"data": {
"id": "e43b1740-4221-432d-9872-872f2d937000",
"status": "Sent",
"timestamp": "2026-05-28T10:00:00Z"
}
}POST
/api/v1/WhatsappMessage/sendcustommessage
JSON Request
{
"groupId": "123e4567-e89b-12d3-a456-426614174000",
"bodyText": "Hello! How can we help you today?",
"replyMessageId": null,
"fileId": null
}JSON Response
{
"isSuccess": true,
"data": {
"id": "c194a28f-1248-4392-8000-092f248fa000",
"status": "Sent",
"timestamp": "2026-05-28T10:05:00Z"
}
}POST
/api/v1/WhatsappMessage/sendtemplatebulk
JSON Request
{
"contactIds": [
"3f9b2c3a-8d19-4a37-b312-d92fa1f78e01",
"1a2b3c4d-5e6f-7a8b-9c0d-e1f2a3b4c5d6"
],
"templateId": "53f191b7-9577-4406-81da-45e0f7690f70"
}JSON Response
{
"isSuccess": true,
"data": true
}