WebhookSubscriptionCreatePayload

Wat webhookSubscriptionCreate teruggeeft.

Soort · object


Velden

  • Name
    webhookSubscription
    Type
    WebhookSubscription
    Description

    Het nieuwe abonnement, of null wanneer het niet is aangemaakt. Zie WebhookSubscription.

  • Name
    userErrors
    Type
    [WebhookSubscriptionUserError!]!
    Description

    Wat er mis was met wat je vroeg. Vraag dit altijd op. Zie WebhookSubscriptionUserError.

Voorbeeldwaarde

WebhookSubscriptionCreatePayload

{
  "webhookSubscription": {
    "id": "gid://rouwkaart/WebhookSubscription/b3f1a0c2-55d6-4a71-9c0e-2f7b8d4e1a90",
    "topic": "CARDS_CREATE",
    "endpoint": {
      "callbackUrl": "https://voorbeeld.nl/hooks/rouwkaart"
    },
    "format": "JSON",
    "createdAt": "2026-09-25T10:00:00.000Z",
    "updatedAt": "2026-09-25T10:00:00.000Z"
  },
  "userErrors": [
    {
      "field": [
        "tekst"
      ],
      "message": "is al gebruikt voor een andere kaart",
      "code": "BLANK"
    }
  ]
}

Waar je dit tegenkomt

Het type

"""Wat `webhookSubscriptionCreate` teruggeeft."""
type WebhookSubscriptionCreatePayload {
  """Het nieuwe abonnement, of null wanneer het niet is aangemaakt."""
  webhookSubscription: WebhookSubscription

  """Wat er mis was met wat je vroeg. Vraag dit altijd op."""
  userErrors: [WebhookSubscriptionUserError!]!
}

Had je hier iets aan?