Webhooks
Message Delivery Webhook Request Body
This endpoint must be implemented on YOUR server (for example: https://yourdomain.com/webhooks/on-delivered). Treble will call this webhook when a message is delivered to the user. You must configure the URL of this webhook in the Treble admin panel.
POST
Body
application/json
Information about the delivery event
Evento que se dispara cuando un mensaje es entregado al usuario
Response
200 - application/json
Response to update or add information to the session
JSON object with new information that will be replaced or added to the session for future use. The service must respond within 10 seconds.