POST /v2/webhooks
Changed onCreates a new webhook to receive call event notifications.
The webhook secret is returned only once during creation and should be saved securely.
Request
- Base URLhttps://api.samora.ai
- AuthAPI key in header X-API-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Webhook created successfully
Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking