Hello24API docs

Messages

Send a WhatsApp text message

POSThttps://api.hello24.in/prod/v1/sendTextMessage

Sends a plain text WhatsApp message to a recipient.

Text messages can only be sent when there is an active customer service conversation with the recipient. The conversation remains active for 24 hours after the customer's last message.

If no active conversation exists, use the Send Template Message endpoint to initiate a new conversation.

Recipient Number

Provide the recipient's WhatsApp number in international format without spaces or special characters.

Example:

Text
919876543210

Response

An HTTP 200 OK response only confirms that Hello24 successfully received your request.

Always inspect the response body:

  • code = SUCCESS indicates the message was accepted for delivery.
  • code = FAILURE indicates the message could not be sent.

Request

Headers

HELLO24_API_KEYstringrequired
Your Hello24 API key. See Authentication.
Content-Typestringrequired
application/json

Body

messageTextstringrequired
Plain text message to send to the recipient. Example: Hi. I am a plain text message.
phonestringrequired
Recipient's WhatsApp number including country code. Example: 919876543210

Examples

cURL
curl -X POST 'https://api.hello24.in/prod/v1/sendTextMessage' \
  -H 'HELLO24_API_KEY: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "messageText": "Hi. I am a plain text message.",
    "phone": "919876543210"
  }'

Responses

200 OK

Message request processed successfully.

Response fields

SendMessageSuccessResponse

codestring (SUCCESS)required
dataobjectrequired
data.contactsarray of Contactrequired
data.contacts[].inputstringrequired
Phone number provided in the request. Example: 919876543210
data.contacts[].wa_idstringrequired
WhatsApp ID of the recipient. Example: 919876543210
data.messagesarray of Messagerequired
data.messages[].idstringrequired
Unique WhatsApp message identifier. Example: gBEGkXQRF3gGAgl4jbPFezZT6XX
data.metaMetarequired
data.meta.api_statusstringrequired
Example: stable
data.meta.versionstringrequired
Example: 2.43.2

When code is FAILURE

codestring (FAILURE)required
errorstringrequired
Example: The provided input parameters are invalid.

When code is FAILURE

codestring (FAILURE)required
datastringrequired
Example: Given Params ... does not match the template.

When code is FAILURE

codestring (FAILURE)required
dataobjectrequired
data.errorsarray of ApiError
data.errors[].codeintegerrequired
Example: 1013
data.errors[].titlestringrequired
Example: Primary Reason
data.errors[].detailsstringrequired
Example: Detailed error description
data.metaMeta
data.meta.api_statusstringrequired
Example: stable
data.meta.versionstringrequired
Example: 2.43.2
200 OK · Successful request
{
  "code": "SUCCESS",
  "data": {
    "contacts": [
      {
        "input": "919876543210",
        "wa_id": "919876543210"
      }
    ],
    "messages": [
      {
        "id": "gBEGkXQRF3gGAgl4jbPFezZT6XX"
      }
    ],
    "meta": {
      "api_status": "stable",
      "version": "2.43.2"
    }
  }
}
200 OK · Request validation failed
{
  "code": "FAILURE",
  "error": "The provided input parameters are invalid."
}

403 Forbidden

Invalid API key or unauthorized request.