Linkable
Webhooks

Update a webhook

PATCH
/v1/me/webhooks/{id}

Update a webhook. Provide at least one field. Setting is_active: true re-activates an auto-disabled endpoint and clears its failure counter.

Authorization

ClientToken
AuthorizationBearer <token>

Bearer token issued by Linkable. Pass in the Authorization: Bearer <token> header.

In: header

Path Parameters

id*string

Webhook id.

Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Properties1 <= properties

Response Body

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/v1/me/webhooks/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "url": "http://example.com",  "description": "string",  "topics": [    "order.created"  ],  "is_active": true,  "consecutive_failures": 0,  "disabled_reason": "string",  "created_at": "2019-08-24T14:15:22Z",  "updated_at": "2019-08-24T14:15:22Z"}