Registers an endpoint that receives the subscribed events. The
response includes a secret — store it to verify delivery signatures.
Authorization
bearerAuth An API key created under Settings → API & Webhooks.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/webhooks" \ -H "Content-Type: application/json" \ -d '{ "url": "https://example.com/hooks/swarmhit", "events": [ "message.received", "connection.accepted" ] }'{ "data": { "id": "string", "url": "string", "events": [ "string" ], "enabled": true, "classifyReplies": true, "secret": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "lastDeliveryAt": "2019-08-24T14:15:22Z", "failureCount": 0, "disabledReason": "string" }}List voices GET
The voices an `ai_voice_note` step can speak in: the shared library plus any voice this workspace cloned from its own recording. Put `id` into the step's `config.voiceId` for all senders, or into an item in `config.voiceAssignments` for sender-specific voices. Cloned voices cost more credits per voice note than library voices. Cloning needs an audio upload and is done in the app, not through the API.
Delete a webhook endpoint DELETE
Next Page