Saltar al contenido principal
POST
/
workflows
/
webhooks
/
{webhookToken}
Disparar un flujo de trabajo vía webhook
curl --request POST \
  --url https://api.altostrat.io/workflows/webhooks/{webhookToken} \
  --header 'Content-Type: application/json' \
  --data '{
  "event_type": "user.created",
  "data": {
    "id": "user_abc123",
    "email": "new.user@example.com"
  }
}'

Path Parameters

webhookToken
string
required

El token único y secreto para el flujo de trabajo habilitado para webhook.

Body

application/json · object

El payload JSON para el webhook. Estará disponible para el flujo de trabajo bajo webhook_payload.

The body is of type object.

Response

Aceptado. El webhook ha sido recibido y la ejecución del flujo de trabajo ha sido puesta en cola.