Hello24API docs

Reference

Models

The data structures used in requests, responses and webhook payloads.

Contact

inputstringrequired
Phone number provided in the request. Example: 919876543210
wa_idstringrequired
WhatsApp ID of the recipient. Example: 919876543210

Message

idstringrequired
Unique WhatsApp message identifier. Example: gBEGkXQRF3gGAgl4jbPFezZT6XX

Meta

api_statusstringrequired
Example: stable
versionstringrequired
Example: 2.43.2

ApiError

codeintegerrequired
Example: 1013
titlestringrequired
Example: Primary Reason
detailsstringrequired
Example: Detailed error description

TemplateParams

Values supplied for the variables defined in the approved WhatsApp template.

Include only the components used by the template.

headerarray of string
Header variables or media URL.
bodyarray of string
Body variables in template order.
buttonsarray of string
Dynamic URL values for CTA buttons.
quick_reply_buttonsarray of string
Payload values for quick reply buttons.

SendTemplateMessageRequest

templateNamestringrequired
Name of the approved WhatsApp template including the language code. Example: welcome_message (en) Example: welcome_message (en)
paramsTemplateParams
Values supplied for the variables defined in the approved WhatsApp template. Include only the components used by the template.
params.headerarray of string
Header variables or media URL.
params.bodyarray of string
Body variables in template order.
params.buttonsarray of string
Dynamic URL values for CTA buttons.
params.quick_reply_buttonsarray of string
Payload values for quick reply buttons.
phonestringrequired
Recipient phone number in international format. Example: 919876543210

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

SendMessageFailureResponse

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

IncomingMessageWebhook

messaging_productstringrequired
Example: whatsapp
metadataobjectrequired
metadata.display_phone_numberstring
Example: 918056585189
contactsarray of objectrequired
contacts[].profileobject
contacts[].profile.namestring
Example: V
contacts[].wa_idstring
contacts[].user_idstring
messagesarray of IncomingMessagerequired
messages[].fromstring
messages[].from_user_idstring
messages[].idstring
messages[].timestampstring
messages[].typestring
Example: text
messages[].textobject
messages[].text.bodystring

MessageStatusWebhook

messaging_productstringrequired
Example: whatsapp
metadataobjectrequired
metadata.display_phone_numberstring
Example: 918056585189
contactsarray of objectrequired
contacts[].profileobject
contacts[].profile.namestring
Example: V
contacts[].wa_idstring
contacts[].user_idstring
statusesarray of MessageStatusrequired
statuses[].idstring
statuses[].statusstring (sent | delivered | read | failed)
statuses[].timestampstring
statuses[].recipient_idstring
statuses[].recipient_user_idstring
statuses[].conversationobject
statuses[].conversation.idstring
statuses[].conversation.expiration_timestampstring
statuses[].conversation.originobject
statuses[].conversation.origin.typestring
Example: service

IncomingMessage

fromstring
from_user_idstring
idstring
timestampstring
typestring
Example: text
textobject
text.bodystring

MessageStatus

idstring
statusstring (sent | delivered | read | failed)
timestampstring
recipient_idstring
recipient_user_idstring
conversationobject
conversation.idstring
conversation.expiration_timestampstring
conversation.originobject
conversation.origin.typestring
Example: service

WebhookBase

messaging_productstringrequired
Example: whatsapp
metadataobjectrequired
metadata.display_phone_numberstring
Example: 918056585189
contactsarray of objectrequired
contacts[].profileobject
contacts[].profile.namestring
Example: V
contacts[].wa_idstring
contacts[].user_idstring