API referenceWebhooks
Update subscriptions
Requires a current workspace administrator personal access token. This is a full replacement, not an additive patch.
Requires a current workspace administrator personal access token. This is a full replacement, not an additive patch.
Authorization
machineBearer AuthorizationBearer <token>
Personal access tokens and supported service-account keys are accepted only in the Authorization header and never in URLs. Each operation documents which principal types it authorizes.
In: header
Path Parameters
workspaceId*string
Workspace UUID. It must match the workspace bound to the credential.
Format
uuidendpointId*string
Format
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/api/v1/workspaces/497f6eca-6276-4993-bfeb-53cbbbba6f08/webhook-endpoints/497f6eca-6276-4993-bfeb-53cbbbba6f08/subscriptions" \ -H "Content-Type: application/json" \ -d '{ "subscriptions": [ "story.created" ] }'Empty