TanqoryDocs

tanqoryExtWebhookSubscriptionTest

  • Mutation
  • Apps and platform

Sends one of the caller's webhooks a test now: one signed POST with the latest body it was sent (or a sample before its first delivery) and X-Tanqory-Test: true, never retried. The answer is the attempt, also listed in its attempts log.

Arguments

ArgumentTypeRequiredDefault
idID!Required

Returns

TanqoryExtWebhookSubscriptionTestPayload

FieldTypeDescription
attemptTanqoryExtWebhookDeliveryAttempt

The attempt, as the attempts log lists it.

userErrors[TanqoryExtReviewFixOUserError!]!

Error codes: DISABLED (switch webhook_tools off), NOT_FOUND, THROTTLED (too many tests this minute).

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":"mutation TanqoryExtWebhookSubscriptionTest($id: ID!) {\n  tanqoryExtWebhookSubscriptionTest(id: $id) {\n    attempt { id }\n    userErrors {\n      code\n      field\n      message\n    }\n  }\n}","variables":{"id":"gid://tanqory/Type/id"}}'

Built from commit 0cac88ece6de · API version 2026-10