Webhooks

Update a webhook

PATCH
/webhooks/{id}

Authorization

bearer
headerAuthorizationBearer <token>

Path Parameters

id*string
Formatuuid

Request Body

application/json
  1. body
domains?array<string>|

exx extension: the domain filter (see CreateWebhook); null or empty removes it, leaving it out keeps it.

endpoint?string|null
events?array<string>|null
status?|

enabled or disabled. Enabling a disabled webhook clears disabled_reason and failing_since and sends its pending deliveries; events that came while it was disabled are not sent to it.

Response Body

Success

application/json
  1. response
id*string
Formatuuid
object*string
Example Request
curl -X PATCH 'https://api.exx.sh/webhooks/497f6eca-6276-4993-bfeb-53cbbbba6f08' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "object": "string"}