logoAccess

Update webhook endpoint

PATCH
/api/v1/webhooks/endpoints/{id}

Update a webhook endpoint's URL, event filters, or status.

Authorization

apiKeyHeader
headerx-api-key<token>

API key for authentication. Generate from the dashboard or via POST /v1/api-keys.

Path Parameters

id*string

Unique webhook endpoint ID

Header Parameters

x-api-key*string

API key for authentication

Length1 <= length

Request Body

  1. body
url?string

Updated HTTPS endpoint URL

Formaturi
enabled_events?array<>
status?string
Value in"active""disabled"

Response Body

Response for status 200

application/json
  1. response
id*string
url*string
status*string
enabled_events*array<string>
updated_at*string
curl -X PATCH 'https://api.tryaccess.xyz/api/v1/webhooks/endpoints/wh_01J9Z8K2P3Q4R5S6T7U8V9W0X1' \  -H 'x-api-key: string' \  -H 'Content-Type: application/json' \  -d '{}'
{  "id": "string",  "url": "string",  "status": "string",  "enabled_events": [    "string"  ],  "updated_at": "string"}

How is this guide?