Skip to main content
POST
/
workflows
/
webhooks
/
{webhookToken}
Trigger a workflow via 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": "[email protected]"
  }
}
'

Path Parameters

webhookToken
string
required

The unique, secret token for the webhook-enabled workflow.

Body

application/json

The JSON payload for the webhook. This will be available to the workflow under webhook_payload.

The body is of type object.

Response

Accepted. The webhook has been received and the workflow execution has been queued.