Overview
WhatsApp uses acknowledgment (ACK) statuses to indicate the delivery and read status of messages. Periskope displays these statuses using visual indicators to help you understand the current state of your messages. Important Notes:- ACK values are monotonic - they only increase (never decrease) once a message is sent
- For group chats, check the
delivery_infoobject in the message payload for detailed participant-level delivery (delivered_count) and read (read_count) statistics - The ACK status reflects the highest acknowledgment level achieved so far
Message Status Types
Message Failed
ack: -1Pending Send
ack: 0Sent to WhatsApp
ack: 1- Messages typically should not be in the 1 state for more than a couple of seconds. If it is, please reset the connection and scan the QR again
Delivered to WhatsApp
ack: 2- For individual chats: Awaiting delivery confirmation from the recipient
- For group chats: The message has been delivered to at least one participant (but not necessarily all), but awaiting delivery confirmation from the rest. Check
delivery_info.delivered_countfor the exact number of participants who received it
Delivered to all recipients
ack: 3Read by all
ack: 4 or 5- For individual chats: The message has been read by the recipient. This status will typically appear only if the recipient has read receipts enabled in their WhatsApp privacy settings.
Understanding Group Chat Delivery
For group chats, theack value provides a summary status, but the delivery_info object in the message payload contains detailed statistics:
delivered_count: Number of participants who have received the messageread_count: Number of participants who have read the message
- A group with 10 participants might have
ack: 2(delivered to at least one) butdelivery_info.delivered_count: 7(delivered to 7 participants) - The
ackvalue will increase to3only when all participants have received it
Troubleshooting
Message Stuck at Status 0 or 1
- Check your phone connection status
- Try restarting your phone on Periskope
- Ensure that WhatsApp on your phone is updated to the latest version
- Verify your internet connection is stable
Message Failed (Status -1)
- Ensure that WhatsApp on your phone is updated to the latest version
- Verify the recipient’s phone number is correct and not formatted incorrectly
- Check if the recipient has blocked your number
- Try restarting your phone on Periskope
- For group chats, verify the group still exists and your number hasn’t been removed
ACK Status Not Advancing
- ACK values are monotonic (they never decrease)
- If a message shows
ack: 2for a long time, it may mean:- The recipient hasn’t read it yet (for individual chats)
- Not all group participants have read it (for group chats)
- Read receipts are disabled
- Network issues or WhatsApp server delays can also cause status updates to be delayed
API Integration
When integrating with Periskope’s API, these status codes are returned as integers in the message object’sack field.
For group chats, also check the delivery_info object:
Webhook Integration
You can track acknowledgment status changes in real-time using themessage.ack.updated webhook event, which fires whenever a message’s acknowledgment status changes.
The webhook payload will include both the ack value and, for group chats, the updated delivery_info with current counts.