Vai al contenuto principale
POST
/
workflows
/
webhooks
/
{webhookToken}
Attiva un workflow tramite 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

Il token unico e segreto per il workflow abilitato al webhook.

Body

application/json · object

Il payload JSON per il webhook. Sarà disponibile per il workflow sotto webhook_payload.

The body is of type object.

Response

Accettato. Il webhook è stato ricevuto e l'esecuzione del workflow è stata messa in coda.