webhook_enable

Arguments

ArgumentTypeRequiredDefaultDescription
dataEnableWebhookInput!Yes

Return Type

EnableWebhookOutput

Mutation

mutation webhook_enable(
  $data: EnableWebhookInput!
) {
  webhook_enable(
    data: $data
  ) {
    request_id
    complexity
    webhook {
      ...WebhookFragment
    }
  }
}

Variables

{
  "data": {
    "webhook_id": "abc123"
  }
}

Response

{
  "data": {
    "webhook_enable": {
      "request_id": "abc123",
      "complexity": 987,
      "webhook": Webhook
    }
  }
}