This endpoint must be implemented on YOUR server (for example: https://tudominio.com/webhooks/on-optout). Treble will call this webhook when a user decides to opt out of the conversation. You must configure the URL of this webhook in the Treble admin panel.
Information about the opt-out event
Evento que se dispara cuando un usuario decide darse de baja o salir de la conversación
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.