Webhooks
Create Webhook
Agents
Calls, Messages, Stages
Corpora, Query, Sources
- Corpus Service (RAG) Overview
- GETList Corpora
- POSTCreate Corpus
- GETGet Corpus
- PATCHUpdate Corpus
- DELDelete Corpus
- POSTQuery Corpus
- GETList Corpus Sources
- POSTCreate Corpus Source
- GETGet Corpus Source
- PATCHUpdate Corpus Source
- DELDelete Corpus Source
- GETList Corpus Source Documents
- GETGet Corpus Source Document
- POSTCreate Corpus File Upload
Webhooks
Webhooks
Create Webhook
Creates a new webhook configuration for an account
POST
/
api
/
webhooks
curl --request POST \
--url https://api.ultravox.ai/api/webhooks \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"url": "<string>",
"secrets": [
"<string>"
],
"events": [
"call.started"
]
}'
{
"webhookId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created": "2023-11-07T05:31:56Z",
"url": "<string>",
"secrets": [
"<string>"
],
"events": [
"call.started"
]
}
Authorizations
API key
Body
application/json
Response
201 - application/json
The response is of type object
.
curl --request POST \
--url https://api.ultravox.ai/api/webhooks \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"url": "<string>",
"secrets": [
"<string>"
],
"events": [
"call.started"
]
}'
{
"webhookId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created": "2023-11-07T05:31:56Z",
"url": "<string>",
"secrets": [
"<string>"
],
"events": [
"call.started"
]
}