Create a webhook event schema
Creates a custom GraphQL schema for one webhook event namespace. For supported business events, the schema is a root-level Business selection set such as ”{ id name runs { id agent } }”.
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
Request
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 } }”. Use snake_case field names; do not wrap the query in “object { … }”.
Response
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.