Mutation
mutation CreateWebhookCallback($input: CreateWebhookCallbackInput!) {
createWebhookCallback(input: $input) {
clientMutationId
errors
webhookCallback {
apiKey
consecutiveFailures
createdAt
disabled
disabledAt
id
}
}
}Variables
{
"input": {
"url": "string"
}
}Response
{
"data": {
"createWebhookCallback": {
"clientMutationId": "string",
"errors": [
"string"
],
"webhookCallback": {
"apiKey": "string",
"consecutiveFailures": 1,
"createdAt": "value",
"disabled": true,
"disabledAt": "value",
"id": "id"
}
}
}
}Mutations
createWebhookCallback
Register an outbound webhook so this Network delivers event payloads to your endpoint
Required scope: host:write:network_integrations
MUTATION
createWebhookCallback(input: CreateWebhookCallbackInput!): CreateWebhookCallbackPayloadArguments
input
required
Parameters for CreateWebhookCallback
Returns
clientMutationId
String
A unique identifier for the client performing the mutation.
errors
[String!]!
webhookCallback
Mutation
mutation CreateWebhookCallback($input: CreateWebhookCallbackInput!) {
createWebhookCallback(input: $input) {
clientMutationId
errors
webhookCallback {
apiKey
consecutiveFailures
createdAt
disabled
disabledAt
id
}
}
}Variables
{
"input": {
"url": "string"
}
}Response
{
"data": {
"createWebhookCallback": {
"clientMutationId": "string",
"errors": [
"string"
],
"webhookCallback": {
"apiKey": "string",
"consecutiveFailures": 1,
"createdAt": "value",
"disabled": true,
"disabledAt": "value",
"id": "id"
}
}
}
}