Endpoints

MethodRouteAuthDescription
POST/api/v1/WhatsappMessage/addgroup🔑 API KeyCreate a new chat group with a contact
POST/api/v1/WhatsappMessage/groups🔑 API KeyGet paginated list of chat groups
GET/api/v1/WhatsappMessage/group/{id}🔑 API KeyGet a specific chat group by ID
POST/api/v1/WhatsappMessage/messages🔑 API KeyGet paginated list of messages
GET/api/v1/WhatsappMessage/message/{id}🔑 API KeyGet a specific message by ID
POST/api/v1/WhatsappMessage/sendtemplatemessage🔑 API KeySend a template message to a chat group
POST/api/v1/WhatsappMessage/sendtemplatewithmobileno🔑 API KeySend a template message via mobile number
POST/api/v1/WhatsappMessage/sendtemplatebulk🔑 API KeySend a template message to multiple contacts in bulk
POST/api/v1/WhatsappMessage/sendcustommessage🔑 API KeySend a custom free-form text or media message
POST/api/v1/WhatsappMessage/sendmessagewithmobileno🔑 API KeySend a custom message via mobile number
POST/api/v1/WhatsappMessage/sendtestjson🔑 API KeySend 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
}