POST
/
treble-webhooks
curl --request POST \
--url https://{webhookUrl}/treble-webhooks \
--header 'Content-Type: application/json' \
--data '{
"event_type": "hsm.status",
"event_id": "5f8d7e6a5f8d7e6a5f8d7e6a",
"timestamp": "2024-09-10T12:34:56.789Z",
"status": "APPROVED",
"name": "welcome_message",
"affected_conversation_ids": [
12345,
67890,
54321
]
}'
{}

Body

application/json

Información del evento. El tipo de evento se determina por el campo 'event_type'.

Evento que se dispara cuando cambia el estado de un HSM (Highly Structured Message)

Response

200 - application/json

Respuesta exitosa

Objeto JSON con la confirmación de recepción. El servicio debe responder en menos de 5 segundos.