Skip to Content
ColdVenue API
Webhooks

Update a webhook endpoint

Changes its URL, events or description, or enables it again. **Required scope:** `webhooks:write` **Plan feature:** API access

PATCH
/api/v1/webhooks/{endpointId}

Changes its URL, events or description, or enables it again.

Required scope: webhooks:write

Plan feature: API access

Authorization

apiKey
headerAuthorizationBearer <token>

A workspace API key (mf_live_…), created under Settings → API keys. Send it as Authorization: Bearer <key>.

Path Parameters

endpointId*string
Match^[a-f0-9]{24}$

Request Body

application/json
  1. body
url?string
Formaturi
Lengthlength <= 2000
description?string
Lengthlength <= 500
events?array<>
Items1 <= items <= 17
enabled?boolean

Response Body

Default Response

application/json
  1. response
data*
Example Request
curl -X PATCH 'https://api.coldvenue.in/api/v1/webhooks/string' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response200
{  "data": {    "id": "string",    "url": "string",    "description": "string",    "events": [      "email.sent"    ],    "status": "active",    "disabledReason": "manual",    "consecutiveFailures": 0,    "lastSuccessAt": "string",    "lastFailureAt": "string",    "createdAt": "string",    "updatedAt": "string"  }}