v1
latestOpenAPI 3.0.12026-07-226992320.0 KBWebhooks
Create Webhook
Registers a new webhook to receive real-time event notifications on your HTTPS endpoint. The webhook is scoped to a single agent and fires only for the event types you specify. Returns the created webhook including its webhookId and HMAC secret — store the secret securely as it is only returned once.
post/v1/webhooks
Request body
Example request
{
"name": "Call Events - Production",
"agentId": "D5D0p7TUs66TTAEAx",
"url": "https://yourapp.com/webhooks/sigmamind",
"events": [
"conversation_started",
"conversation_ended"
]
}Response
Created
Example response
{
"workspaceId": "org_BUbkx3PsbzQm5V10",
"webhookId": "wh_BUbkx3PsbzQm5V10",
"name": "Call Events - Production",
"agentId": "D5D0p7TUs66TTAEAx",
"active": true,
"secret": "mK9vXq2pL8nR5tY1wA3sD6fH0jC4bE7u"
}