Skip to main content
POST
/
v0
/
webhooks
Create a webhook endpoint
curl --request POST \
  --url https://{hostname}.gable.ai/v0/webhooks \
  --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

Body

application/json
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

Successful operation

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