TanqoryDocs

tanqoryExtWebhookDeliveryAttempt

  • Query
  • Apps and platform

One attempt of one of the caller's webhooks (to read its body); null when it is not one, is gone, or the switch is off.

Arguments

ArgumentTypeRequiredDefault
idID!Required

Returns

TanqoryExtWebhookDeliveryAttempt One attempt to send a webhook, or one test send.

FieldTypeDescription
attemptInt!

1 for the first attempt of a delivery, 2 for its first retry, and so on; 1 for a test.

bodyString

The body as the webhook sends it from the same event (what its creator may see, its fields and format), or the sample a test sent. Null when the event is no longer kept or the webhook may not send it now.

createdAtDateTime!
durationMsInt

How long the request took, in milliseconds; null when nothing was sent.

errorString

Why it failed or was not sent, in short; null when delivered.

eventIdString

The X-Tanqory-Event-Id of the event it carried; null for a test sent with the sample body.

idID!
nextRetryAtDateTime

When the next attempt is due (outcome RETRYING).

outcomeTanqoryExtWebhookAttemptOutcome!
responseStatusCodeInt

The HTTP status the endpoint answered; null when it did not answer (timeout, refused address) or nothing was sent.

testBoolean!

Whether it was a test send (X-Tanqory-Test: true).

webhookIdString!

The X-Tanqory-Webhook-Id it was sent with: the delivery's id (the same for every retry), or the test's own.

Example request

A starting point: required arguments as variables and a few fields of the result. Replace the placeholders.

Set STORE_ID and TANQORY_ACCESS_TOKEN in your environment first (Make your first API call).

curl
curl -X POST "https://api.tanqory.com/admin/2026-10/stores/$STORE_ID/graphql" \
  -H "Authorization: Bearer $TANQORY_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  --data '{"query":"query TanqoryExtWebhookDeliveryAttempt($id: ID!) {\n  tanqoryExtWebhookDeliveryAttempt(id: $id) {\n    attempt\n    body\n    createdAt\n    durationMs\n    error\n    eventId\n    id\n    nextRetryAt\n    outcome\n    responseStatusCode\n  }\n}","variables":{"id":"gid://tanqory/Type/id"}}'

Built from commit 0cac88ece6de · API version 2026-10