Webhooks

Update a webhook

patch/api/v1/webhooks/{id}

Request

  • Base URL: https://api.korala.ai
  • URL: https://api.korala.ai/api/v1/webhooks/{id}
  • Auth: one of:
    • API key in header X-API-Key
    • bearer (a scheme the document does not define)

Path parameters

idstring required

Request body

urlstring
eventsWebhookEventType[]
descriptionstring
isActiveboolean
mode'live' | 'test'

Which traffic this endpoint receives: live or test documents, sessions and workflows. API credentials pin the mode. Existing subscriptions cannot change mode.

Example request

{
  "url": "https://example.com/webhooks"
}

Response

idstring required
urlstring required
eventsWebhookEventType[] required
mode'live' | 'test' required

Which traffic this endpoint receives: live or test documents, sessions and workflows. API credentials pin the mode. Existing subscriptions cannot change mode.

isActiveboolean required
descriptionstring
createdAtstring date-time required
updatedAtstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.