Webhooks

Update a Webhook

Changed on

Updates the target URL, subscribed events, or metadata of a Webhook. Omitted fields are left unchanged.

patch/v0/webhooks/{id}

Request

  • Base URL
    https://api.exa.ai/websets
  • URL
    https://api.exa.ai/websets/v0/webhooks/{id}
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Path parameters

idstring required

The id of the webhook

Request body

eventsEventType[]

The events to trigger the webhook

urlstring uri

The URL to send the webhook to

metadataobject

Set of key-value pairs you want to associate with this object.

Response

Webhook

idstring required

The unique identifier for the webhook

object'webhook' required

The type of object

status'active' | 'inactive' required

The status of the webhook

eventsEventType[] required

The events to trigger the webhook

urlstring uri required

The URL to send the webhook to

secretstring nullable required

The secret to verify the webhook signature. Only returned on Webhook creation.

metadataobject

The metadata of the webhook

createdAtstring date-time required

The date and time the webhook was created

updatedAtstring date-time required

The date and time the webhook was last updated

Changes

    • warning

      the / request property's maxLength was set to 250

    • breaking

      added 'propertyNames' constraint to the request property

    • info

      added 'propertyNames' constraint to the response property for the status