Messages statuses

Receive double check

The "receive double check" on messages sent by the customer appears when the callback with the received status reaches 360Dialog Webhook and then notifies the WABA. This settingarrow-up-right needs to be set up previously for this to work.

The "receive double check" on messages sent by the business appears when the customer’s WhatsApp app receives the message.

Read double check

The read double check on messages sent by the customer appears when the message is marked as read by the businessarrow-up-right.

The read double check on messages sent by the business appears when the customer’s WhatsApp app is open in the message.

Step 1: Make POST Request to /messages

The message_id used in this API call is the id provided in the Webhook Inbound Notification.

POST /messages
{
  "messaging_product": "whatsapp",
  "status": "read",
  "message_id": "MESSAGE_ID"
  }'

Parameters

Name
Description

messaging_product

Required. Use whatsapp

message_id

Required.

status

Required.

Updating status to read is applicable only for incoming messages.

Step 2: Check the API Response

A successful response returns:

Typing indicators

Typing indicators allow a business integration to signal that a reply is being composed after an incoming message is received. When triggered, WhatsApp marks the message as read, then displays a typing indicator in the conversation until a response message is sent. If a response message is not sent within 25 seconds, the indicator is automatically dismissed.

Typing indicators are useful when additional processing time is required before sending a response, such as calling external services or performing complex business logic.

Send a typing indicator

POST https://waba-v2.360dialog.io/messages

To send a typing indicator, use the request URL, the following headers, and JSON body.

Headers

Name
Value

Content-Type

application/json

D360-API-KEY

Your 360Dialog API key

Request Body

Name
Type
Description

messaging_product*

string

Must be set to "whatsapp".

status*

string

The message must be marked "read" before displaying a typing indicator. Use "read".

message_id*

string

ID of the incoming message to mark as read and send a typing indicator for. Starts with "wamid.".

typing_indicator*

object

An object which contains a "type" key, whose value must be "text".

A successful request results in a "success": true response:

Last updated

Was this helpful?