Webhooks

Update a webhook

Changed on
put/projects/{project_id}/webhooks/{webhook_id}

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP bearer

Path parameters

project_idinteger required

Project ID

webhook_idinteger required

Webhook ID

Request body

enabledboolean nullable

Whether the webhook is enabled

eventsstring[] nullable

Event types to subscribe to

secretstring password nullable

A credential. Write-only: it is never returned, and the AI assistant supplies it through a secret slot instead of typing it into the conversation.

urlstring nullable

Target URL for webhook delivery

Response

Webhook updated

created_atstring date-time required
enabledboolean required
eventsstring[] required
has_secretboolean required
idinteger required
project_idinteger required
updated_atstring date-time required
urlstring required

Example response

{
  "created_at": "2025-10-12T12:15:47.609192Z",
  "updated_at": "2025-10-12T12:15:47.609192Z"
}

Changes

    • breaking

      the request property secret became not nullable

    • breaking

      the secret request property type changed from string null to no type

    • info

      added subschema #2 to the secret request property oneOf list