Types
CreateWebhookInput
Holds the settings of a new webhook.
input
CreateWebhookInputFields
endpoint
String!
required
URL to POST events to. Must use HTTPS, have no credentials or fragment, and resolve to a public address.
filter
String!
required
Which events to deliver. Compares event fields with eq, joined by and, or and parentheses, values in double quotes, e.g. type eq "source.updated" and sourceId eq "products". Every or branch must name a type; the Events API's GET /v1/event-types lists the types and the fields each one can be filtered on.
name
String!
required
Name of the webhook, 1 to 200 characters. Spaces at the ends are trimmed.
Was this page helpful?