Skip to main content

Acknowledge

Webhook 

For every message or template you send, you can get an acknowledge if the recipient received your message or not (hook "update"). There are four available statuses: failed, sent, delivered, read.

Acknowledges are turned off by default. You can enable them with readStatus in the Set Webhook endpoint.

Settings:

SettingValue
URLYour URL — set it with Set Webhook
MethodJSON via POST

With every acknowledge message, you will receive the following:

{
"status": "OK",
"hook": "update",
"unique": "19545c3deca25da-0a504082ac7ad12-oiksAeQWvDMRtBQ",
"to": "972771234567",
"from": "972501234567",
"from_id": "IL.1605856887361213",
"country": "IL",
"timestamp": "1789900061",
"conversationTimeLeft": 1380,
"isBilledTemplate": 0,
"newTemplateType": 0,
"isNewConversation": 0,
"newConversationType": 0,
"ack": 3
}

Response explained​

ParameterDescription / Example
status"OK" always.
hook"update" always, for an acknowledge update message.
uniqueThe same unique ID as the original message — the unique you received when you sent it. This parameter allows you to know which message was seen.
toYour WhatsApp account.
fromThe contact that you sent the message to. If you messaged a normal international number, this will return the number. If you messaged a user id (2 letters country code + dot + 16 digits), this will return this value.
from_idThe user id of the contact that you sent the message to. Null when it is not known.
countryThe country code (two letters) of the contact that you sent the message to, taken from their user id. Null when there is no user id.
timestampThe timestamp of the ack (Unix time, in seconds, as a string).
conversationTimeLeftThe time (in minutes) that is left for the conversation between you and the end user to finish, in case an incoming conversation is open between you and the client; otherwise 0. A conversation is a 24 hours session.
isBilledTemplateThis value shows if a new billed template was sent to the client — see below.
newTemplateTypeIn case a new billed template is created under isBilledTemplate, here you can know the type of the template — see below.
isNewConversationThis value is no longer in use. It is always 0.
newConversationTypeThis value is no longer in use. It is always 0.
ackAcknowledge type — see below.

isBilledTemplate​

This value shows if a new billed template was sent to the client. You will get this only once per new billed template: 1 arrives on its first delivered (ack 2) or read (ack 3) update.

  • If this value is 1, it means a new template is billed.
  • If this value is 0, it means there is no new billing event.

A billed template is:

  • any marketing template you send.
  • any utility template you send if no incoming 24 hours session is open with the client.
  • any authentication template you send.

newTemplateType​

ValueExplanation
0No billing template
1Utility template. Authentication templates currently arrive as 1 too.
2Marketing template
3Authentication template (not sent at the moment — see 1)

ack​

ValueExplanation
0Message failed to deliver. For more information, check the System Messages of type "messages" with the same unique (needs system 1 in Set Webhook).
1Acknowledge that the message was sent (one gray check mark).
2Acknowledge that the recipient received the message (two gray check marks). Message marked as delivered.
3Acknowledge that the recipient read the message (two blue check marks). Message marked as read. This ack is only available if the recipient allowed it within their WhatsApp privacy settings inside the mobile app.
Important note

The word "conversation" can be a little confusing regarding how it is counted and billed. Please see this page for more information: Template, conversation and Message.

Remarks​

  • The order of the acknowledges is not guaranteed: a delivered acknowledge (ack 2) may arrive before the sent one (ack 1).
  • The acknowledges of messages sent from the WhatsApp Business app of a coexistence account (Outgoing Messages) arrive here too, with the same unique.
  • An example of every acknowledge is under Webhook payload below.

Webhook payload

​

Your response​

Received. Answer with any 2xx status (200, 201, 204 …) — we wait up to 5 seconds to connect and up to 15 seconds for your answer. The body of your answer is ignored.