Update a webhook event schema
Updates the GraphQL selection set for a webhook event schema. The namespace is immutable. Changes apply to future event snapshots only.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
webhook_id
Webhook ID
id
Webhook event schema ID
Request
This endpoint expects an object.
schema
GraphQL selection set rooted at the event object for the namespace. Updating this value affects future event snapshots only. Existing event snapshots continue to deliver the payload captured when the event was created.
Response
webhook event schema updated
object
id
Unique identifier for this webhook event schema.
namespace
Event namespace for the schema override. Currently supported business event namespaces are business.created and business.updated.
schema
GraphQL selection set rooted at the event object for the namespace. For business.updated, write fields directly against the Business object, for example ”{ id name runs { id agent } }”. The selected object replaces only data.object in delivered webhook payloads.
created_at
updated_at
Errors
404
Update Webhook Event Schema Request Not Found Error
422
Update Webhook Event Schema Request Unprocessable Entity Error