Create a webhook subscription
Webhooks
Create a webhook subscription
POST
Create a webhook subscription
Authorizations
Your AssemblyAI API key in the Authorization header (raw key; a Bearer prefix is also accepted).
Body
application/json
Delivery URL. Must be https and a public host.
Example:
"https://your-app.com/webhooks/assemblyai"
Minimum array length:
1Available options:
session.started, session.completed, call.connected, call.ended, call.failed Signing secret, 32–256 printable ASCII chars (no whitespace). Write-only; never returned.
Required string length:
32 - 256Scope to one agent. Omit for account-wide events.
Response
The created subscription.
A subscription. The signing secret is never returned, only its version.