v1

latestOpenAPI 3.0.32026-07-26870417.2 KB
webhooks

Update Webhook

This endpoint updates a webhook. At least one field must be provided for update.

patch/webhooks/{id}

Path parameters

idstring required

The unique identifier of the webhook subscription

Request body

hookUrlstring

Update the webhook URL. Must be a valid HTTP or HTTPS URL

integrationNamestring

Update the integration name

integrationMetadataobject

Update the integration metadata

integrationTypestring

Update the integration type

typestring

Update the webhook type

isSubscribedboolean

Update the subscription status

namestring

Update the webhook name

Example request

{
  "hookUrl": "https://example.com/webhook-updated",
  "integrationName": "message.updated",
  "integrationType": "webhook",
  "type": "webhook",
  "isSubscribed": true,
  "name": "Updated Webhook Name"
}

Response

200 OK

idstring

Unique identifier of the webhook subscription

subscribed_atstring

Timestamp when the webhook was subscribed

is_subscribedboolean

Whether the webhook is currently active

integration_namestring

Name of the event this webhook listens to

integration_typestring

Type of integration

typestring

Type of the subscription

org_idstring

Organization ID that owns this webhook

hook_urlstring

The URL where webhook events are sent

integration_idstring

Unique identifier of the integration

Example response

{
  "id": "0ef25935-0b78-4660-beeb-f17311793305",
  "subscribed_at": "2025-11-16T11:20:42.038+00:00",
  "is_subscribed": true,
  "integration_name": "ticket.created",
  "integration_type": "webhook",
  "type": "webhook",
  "integration_metadata": {
    "id": "28ee5da7-d6e5-438b-8b73-9eba97f08269",
    "name": "https://webhook.site/951e142b-d2e6-420d-a666-f2c4bd8e572c"
  },
  "org_id": "03a52dbe-b8af-47c5-9fd1-e5a622680cad",
  "hook_url": "https://webhook.site/951e142b-d2e6-420d-a666-f2c4bd8e572c",
  "integration_id": "28ee5da7-d6e5-438b-8b73-9eba97f08269"
}