Webhooks

Change an endpoint, or re-enable it

Change the URL or the events. Sending status: "active" re-enables an endpoint we disabled and clears its failure count — without clearing it, one more failure would disable it again immediately.

patchhttps://api-notetaker.nabrah.ai/ext/v1/webhooks/{id}

معاملات المسار

idstring · uuidمطلوب

جسم الطلب

urlstring · uri
eventsenum[]
statusstring

الطلب

curl -X PATCH https://api-notetaker.nabrah.ai/ext/v1/webhooks/{id} \
  -H "Authorization: Bearer $NABRAH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "url": "string",
  "events": [
    "meeting.started"
  ],
  "status": "string"
}'

الاستجابات

200One endpoint.
401No key, an unknown key, or one that has been revoked or has expired.
403The key is read only, or lacks the reach for this route.
404No such record — or one that belongs to another account.
422The body or query failed validation; details names the field.
429Too many requests. Retry-After says how long to wait.
{
  "data": {
    "id": "00000000-0000-0000-0000-000000000000",
    "url": "string",
    "events": [
      "string"
    ],
    "status": "active",
    "consecutiveFailures": 0,
    "lastDeliveryAt": "string",
    "lastStatus": 0,
    "disabledReason": "string",
    "createdAt": "2026-01-01T09:00:00.000Z"
  }
}