webhookSubscriptionCreate

Abonneert een adres op een melding.

Soort · mutatie

Geeft terug · WebhookSubscriptionCreatePayload — WebhookSubscriptionCreatePayload


Argumenten

Voorbeeld

Request

MUTATION
webhookSubscriptionCreate
mutation WebhookSubscriptionCreate($topic: WebhookSubscriptionTopic!, $webhookSubscription: WebhookSubscriptionInput!) {
  webhookSubscriptionCreate(topic: $topic, webhookSubscription: $webhookSubscription) {
    webhookSubscription {
      id
      topic
      format
      createdAt
      updatedAt
    }
    userErrors {
      field
      message
      code
    }
  }
}

Dit voorbeeld vraagt elk veld op dat zonder argumenten kan. Vraag in de praktijk alleen op wat je gebruikt: wat je niet opvraagt halen wij ook niet op, en het scheelt punten.

Had je hier iets aan?