SmakeSmake API Docs
EndpointsWebhooks

Update Webhook

PUT
/webhooks/{id}

Updates the webhook with the given id — its URL, token, description, subscribed events, or state. The attributes are the same as for Create; the example only sends url and state.

AuthorizationBearer
AuthorizationBearer <token>

In: header

Path Parameters

id*integer

The ID of the webhook.

Header Parameters

X-Api-Version?string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

Request example
curl -X PUT "https://example.com/webhooks/2" \  -H "X-Api-Version: 2022-02-01" \  -H "Content-Type: application/json" \  -d '{    "url": "http://example.com",    "state": "inactive"  }'
{  "id": 3,  "description": [],  "version": "2022-02-01",  "state": "inactive",  "url": "https://example.org/webhooks/scribe-update-1775819550",  "events": [],  "created_at": "2026-04-10T11:09:42+00:00",  "updated_at": "2026-04-10T11:12:43+00:00"}