API ReferenceWebhooks
POST
bearerAuthheader
AuthorizationBearer <token>API key authentication. Pass your ioZen API key as a Bearer token in the Authorization header.
Webhook URL, events, optional description, and optional intake_bot_ids
application/json- body
url*stringHTTPS URL to receive webhook payloads
Format
uriLength
length <= 2048events*array<v1WebhookEventSchema>Event types to subscribe to (e.g. submission.completed)
Items
1 <= itemsdescription?stringHuman-readable description for this endpoint
Length
length <= 500intake_bot_ids?array<>Restrict deliveries to these intake bots. Omit or pass [] for all bots in the workspace.
Items
items <= 50Webhook endpoint created with signing secret
application/json- response
webhook*curl -X POST 'https://app.iozen.ai/api/v1/webhooks' \ -H 'Content-Type: application/json' \ -d '{ "url": "https://api.example.com/webhooks/iozen", "events": [ "submission.completed" ], "description": "Production submission handler", "intake_bot_ids": []}'Example Response
{ "webhook": { "id": "string", "url": "string", "events": [ "string" ], "status": "string", "description": "string", "intake_bot_ids": [ "string" ], "last_delivery_at": "string", "last_delivery_ok": true, "consecutive_fails": 0, "created_at": "string", "updated_at": "string", "secret": "string" }}