New webhook event when a message status changes: MessageStatusUpdate
J
Jesús Borrás
In the case of WhatsApp, when a message is sent, the OutboundMessage webhook is triggered with the information of that message. When the message information arrives through the webhook to the target application, the status is usually sent or delivered.
If we want to track that message to know whether it has been read, we need to periodically run one of the following API calls:
- Export messages by location ID (https://marketplace.gohighlevel.com/docs/ghl/conversations/export-messages-by-location)
- Get message by message id (https://marketplace.gohighlevel.com/docs/ghl/conversations/get-message)
In projects with a high volume of messages, making periodic calls to those endpoints just to check if the status has changed is costly in both time and resources.
To optimize this process, it would be great to have a MessageStatusUpdate webhook that is triggered every time the status changes. That way, external tools could easily know if a message has been read, whether to show it in a BI dashboard or to trigger some action.
This new webhook could also work for other types of messages, like Email, since it could fire when an email changes status to opened, clicked, bounced, etc.
Log In