Skip to main content
PUT
/
v0
/
webhooks
/
{id}
Update a webhook
curl --request PUT \
  --url https://{hostname}.gable.ai/v0/webhooks/{id} \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '
{
  "url": "<string>",
  "name": "<string>",
  "headers": {}
}
'
{
  "id": "<string>",
  "url": "<string>",
  "name": "<string>",
  "headers": {}
}

Authorizations

X-API-KEY
string
header
required

Path Parameters

id
string<uuid>
required

The UUID of the webhook

Body

application/json

Webhook to update

url
string
required

The URL that the webhooks will be sent to

name
string
required

The webhook name

headers
object

A map of headers

Response

Webhook was successfully updated

id
string
required

The id of a created webhook

url
string
required

The url of a created webhook

name
string
required

The name of a created webhook

headers
object

A map of headers