Rewardly Docs
API ReferenceWebhooks

Update a webhook endpoint

PATCH
/v1/webhook-endpoints/{id}

Change the URL, subscribed events, or pause/resume deliveries with active.

AuthorizationBearer <token>

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X PATCH "https://example.com/v1/webhook-endpoints/string" \  -H "Content-Type: application/json" \  -d '{}'
{  "endpoint": {    "id": "string",    "url": "string",    "events": [      "string"    ],    "active": true,    "createdAt": "string"  }}