POST
/
webhooks
curl --request POST \
  --url https://api.cloudglue.dev/v1/webhooks \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "description": "<string>",
  "endpoint": "<string>",
  "subscribed_events": [
    "transcribe.job.processing"
  ]
}'
{
  "id": "<string>",
  "object": "webhook",
  "created_at": 123,
  "webhook_secret": "<string>",
  "endpoint": "<string>",
  "active": true,
  "description": "<string>",
  "subscribed_events": [
    "transcribe.job.processing"
  ]
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Webhook creation parameters

The body is of type object.

Response

200
application/json

Webhook created successfully

The response is of type object.