Create webhook subscription.
cURL
curl --request POST \ --url https://app.strix.ai/api/v1/webhooks \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "url": "<string>", "events": [ "<string>" ], "is_active": true } '
{ "webhook": { "id": "<string>", "url": "<string>", "events": [ "<string>" ], "secret_prefix": "<string>", "is_active": true, "last_success_at": "2023-11-07T05:31:56Z", "last_failure_at": "2023-11-07T05:31:56Z", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" }, "secret": "<string>" }
API token from Settings > API Access
Webhook created. The secret is returned only once.
Show child attributes
Webhook signing secret (shown only once)