Settings you can create a URL associated with a specific channel.This gives you independent control based on the flow or use case.
What are they used for?
They allow your system to automatically receive information when an event occurs in a campaign or message. For example:- Confirm that a message was read
- Detect a send failure
- Record when a user replies
How to configure a notification URL
When creating a new URL you will need to:- Select the events you want to receive. Choose at least one in either of the two selectors:
- Template events: Delivered to channel, Delivered to user, Read, Failed, and Reply.
- Service message events: Delivered to channel, Delivered to user, Read, and Failed.
- Enter the destination URL (endpoint).
- Define the authentication type the endpoint will use.
Service message events
Service messages are the messages your channel or your operators send that are not templates. Their statuses are notified with the same authentication types as template events.- You can create a URL only for service messages or add these events to an existing URL. In that case, the URL keeps receiving template events.
- The payload includes
"type": "service"so you can tell it apart from template events. - It does not include
campaignIdortemplate, because these messages don’t belong to a campaign. - The
errorfield only appears in theFAILEDstatus. - On Gupshup channels,
idis the ID Gupshup assigns to the message (gsId). - There is no Reply event, because it only applies to template buttons.
Statuses may arrive in a different order than they happened. For example,
DELIVERED_USER may arrive before DELIVERED_CHANNEL. Use timestamp to sort them.Benefits
Greater flexibilityYou can define a URL for a specific event or group all of them into one. More security
Configure the authentication method that best suits your technical environment. Simpler administration
Fewer duplicate configurations and better organization. Better operational experience
Clear interface to manage notifications in an organized and efficient way.
Notification URLs are key when you need to integrate Jelou with a CRM, internal systems, or real-time analytics tools.
Event examples
Below are examples of the payload you will receive at your notification URL depending on the event type:Templates
Failed
Failed
Sent when the message could not be delivered.
Delivered to channel
Delivered to channel
Sent when the message was delivered to the channel (WhatsApp).
Delivered to user
Delivered to user
Sent when the message was delivered to the user’s device.
Read
Read
Sent when the user read the message.
Service messages
Service · Failed
Service · Failed
Sent when the message could not be delivered.
Service · Delivered to channel
Service · Delivered to channel
Sent when the message was delivered to the channel (WhatsApp).
Service · Delivered to user
Service · Delivered to user
Sent when the message was delivered to the user’s device.
Service · Read
Service · Read
Sent when the user read the message.