POST
/
v1
/
webhooks
/
update
Update Webhook
curl --request POST \
  --url https://api.vocode.dev/v1/webhooks/update \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "subscriptions": [
    "event_message"
  ],
  "url": "<string>",
  "method": "GET"
}'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "subscriptions": [
    "event_message"
  ],
  "url": "<string>",
  "method": "GET"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

id
string<uuid>
required

Body

application/json
subscriptions
url
method
Available options:
GET,
POST

Response

Successful Response

id
string<uuid>
required
user_id
string<uuid>
required
subscriptions
enum<string>[]
required
url
string
required
method
enum<string>
default:POST
Available options:
GET,
POST