message_delivery.sent - this is triggered when the message has been sent to the contact.{
"type": "message_delivery.sent",
"data": {
"message": {
"id": "cmsg_1234abcd",
"status": "sent",
"type": "template_message",
"reason": null,
"created_at": "2025-05-22T11:25:06.239Z",
"updated_at": "2025-05-22T11:25:06.239Z"
},
"contact": {
"id": 1,
"account_id": 1,
"name": "John Doe",
"phone_number": "+919988776655",
"first_name": "John",
"last_name": "Doe",
"country_code": "91",
"language": null,
"email": "johndoe@example.com"
},
"event": null
}
}{
"type": "message_delivery.sent",
"data": {
"message": {
"id": 1,
"status": "sent",
"type": "message",
"reason": null,
"created_at": "2025-05-03T02:17:07.420Z",
"updated_at": "2025-05-03T02:17:07.420Z"
},
"contact": {
"id": 1,
"account_id": 1,
"name": "John Doe",
"phone_number": "+919988776655",
"first_name": "John",
"last_name": "Doe",
"country_code": "91",
"language": null,
"email": "johndoe@example.com"
},
"event": null
}
}message_delivery.delivered - this is triggered when the message has been delivered to the contact.{
"type": "message_delivery.sent",
"data": {
"message": {
"id": "cmsg_1234abcd",
"status": "delivered",
"type": "template_message",
"reason": null,
"created_at": "2025-05-22T11:25:06.239Z",
"updated_at": "2025-05-22T11:25:06.239Z"
},
"contact": {
"id": 1,
"account_id": 1,
"name": "John Doe",
"phone_number": "+919988776655",
"first_name": "John",
"last_name": "Doe",
"country_code": "91",
"language": null,
"email": "johndoe@example.com"
},
"event": null
}
}{
"type": "message_delivery.sent",
"data": {
"message": {
"id": 1,
"status": "delivered",
"type": "message",
"reason": null,
"created_at": "2025-05-03T02:17:07.420Z",
"updated_at": "2025-05-03T02:17:07.420Z"
},
"contact": {
"id": 1,
"account_id": 1,
"name": "John Doe",
"phone_number": "+919988776655",
"first_name": "John",
"last_name": "Doe",
"country_code": "91",
"language": null,
"email": "johndoe@example.com"
},
"event": null
}
}message_delivery.failed - this is triggered when the message could not be sent to the contact.{
"type": "message_delivery.sent",
"data": {
"message": {
"id": "cmsg_1234abcd",
"status": "failed",
"type": "template_message",
"reason": "failure reason",
"created_at": "2025-05-22T11:25:06.239Z",
"updated_at": "2025-05-22T11:25:06.239Z"
},
"contact": {
"id": 1,
"account_id": 1,
"name": "John Doe",
"phone_number": "+919988776655",
"first_name": "John",
"last_name": "Doe",
"country_code": "91",
"language": null,
"email": "johndoe@example.com"
},
"event": null
}
}{
"type": "message_delivery.sent",
"data": {
"message": {
"id": 1,
"status": "failed",
"type": "message",
"reason": "failure reason",
"created_at": "2025-05-03T02:17:07.420Z",
"updated_at": "2025-05-03T02:17:07.420Z"
},
"contact": {
"id": 1,
"account_id": 1,
"name": "John Doe",
"phone_number": "+919988776655",
"first_name": "John",
"last_name": "Doe",
"country_code": "91",
"language": null,
"email": "johndoe@example.com"
},
"event": null
}
}message_delivery.read - this is triggered when the message was read by the contact.{
"type": "message_delivery.sent",
"data": {
"message": {
"id": "cmsg_1234abcd",
"status": "read",
"type": "template_message",
"reason": null,
"created_at": "2025-05-22T11:25:06.239Z",
"updated_at": "2025-05-22T11:25:06.239Z"
},
"contact": {
"id": 1,
"account_id": 1,
"name": "John Doe",
"phone_number": "+919988776655",
"first_name": "John",
"last_name": "Doe",
"country_code": "91",
"language": null,
"email": "johndoe@example.com"
},
"event": null
}
}{
"type": "message_delivery.sent",
"data": {
"message": {
"id": 1,
"status": "read",
"type": "message",
"reason": null,
"created_at": "2025-05-03T02:17:07.420Z",
"updated_at": "2025-05-03T02:17:07.420Z"
},
"contact": {
"id": 1,
"account_id": 1,
"name": "John Doe",
"phone_number": "+919988776655",
"first_name": "John",
"last_name": "Doe",
"country_code": "91",
"language": null,
"email": "johndoe@example.com"
},
"event": null
}
}message_delivery.replied - this is triggered when the template message was replied to by the contact.{
"type": "message_delivery.replied",
"data": {
"message": {
"id": "cmsg_1234abcd",
"status": "read",
"type": "template_message",
"reason": "",
"created_at": "2025-09-30T04:40:33.514Z",
"reply": {
"id": 1,
"conversation_id": 1,
"author": {
"id": 1,
"account_id": 1,
"name": "John Doe",
"phone_number": "+919999776655",
"first_name": "John",
"last_name": "Doe",
"country_code": "91",
"language": "en"
},
"author_type": "Subscriber",
"text": "Thanks for the update!",
"content_type": "text",
"direction": "inbound",
"_phone_number": "+91 88776 65544",
"reply_to": {
"id": 1,
"reply_to_type": "Wa::TemplateMessage",
"template_id": "wat_1234abcd",
"template_name": "Sample WhatsApp Template"
}
},
"updated_at": "2025-09-30T04:40:35.671Z"
},
"contact": {
"id": 1,
"account_id": 1,
"name": "John Doe",
"phone_number": "+919999776655",
"first_name": "John",
"last_name": "Doe",
"country_code": "91",
"language": "en"
},
"event": null
}
}