Webhooks
Message Response Webhook Request Body
This endpoint must be implemented on YOUR server (for example: https://yourdomain.com/webhooks/on-response). Treble will call this webhook when a user responds to a question in the conversation. You must configure the URL of this webhook in the Treble admin panel.
POST
Body
application/json
Information about the response event
Evento que se dispara cuando un usuario responde a una pregunta en la conversación
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.