TanqoryDocs

tanqoryExtDomainEmailForwarding

  • Query
  • Products

Email forwarding of one of the store's connected domains (domainId is a TanqoryExtDomain id). Null for an unknown id or the platform domain.

Arguments

ArgumentTypeRequiredDefault
domainIdID!Required

Returns

TanqoryExtEmailForwarding

FieldTypeDescription
availableBoolean!

Whether forwarding can be set up on this platform (the email provider is configured).

forwards[TanqoryExtEmailForward!]!

The forwarding addresses, oldest first.

messageString

Why forwarding is not active yet (the email provider's own words); null when active or not set up.

records[TanqoryExtEmailForwardingRecord!]!

The DNS records forwarding needs on the domain: the receiving MX first. Empty while not set up.

statusTanqoryExtEmailForwardingStatus

Null while the domain has no forwarding address.

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 TanqoryExtDomainEmailForwarding($domainId: ID!) {\n  tanqoryExtDomainEmailForwarding(domainId: $domainId) {\n    available\n    forwards { id }\n    message\n    status\n  }\n}","variables":{"domainId":"gid://tanqory/Type/id"}}'

Built from commit c0b3fb3fdef7 · API version 2026-10