Update Webhook

Updates an existing webhook.

📘 One webhook per organization

An organization can register a single webhook, which receives every event produced in that organization. See the Events documentation for the list of event types and payload shapes.

Authentication

AuthorizationBearer
Bearer user API key
OR
AuthorizationBasic

Basic organization-scoped API key

Path parameters

idstringRequiredformat: "uuid"

Headers

X-Polytomic-VersionstringRequired

Request

This endpoint expects an object.
endpointstringRequired
secretstringRequired6-32 characters
organization_idstring or nullOptionalformat: "uuid"

Response

OK
dataobject

Errors

401
Unauthorized Error
422
Unprocessable Entity Error
500
Internal Server Error