TanqoryDocs

tanqoryExtSenderDomainCreate

  • Mutation
  • Apps and platform

Adds the store's own sending domain (one per store) and answers the DNS records to publish: three CNAMEs from the email provider's domain authentication (return path with SPF, two DKIM keys) and a DMARC TXT record. The domain is not used until tanqoryExtSenderDomainVerify passes. TAKEN when the store already has one or another store sends from it; INVALID when the domain is not one a business can own or sending from own domains is not available.

Arguments

ArgumentTypeRequiredDefault
domainString!Required

Returns

TanqoryExtSenderDomainPayload

FieldTypeDescription
senderDomainTanqoryExtSenderDomain
userErrors[TanqoryExtNotificationUserError!]!

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 TanqoryExtSenderDomainCreate($domain: String!) {\n  tanqoryExtSenderDomainCreate(domain: $domain) {\n    senderDomain { id }\n    userErrors {\n      code\n      field\n      message\n    }\n  }\n}","variables":{"domain":""}}'

Built from commit c0b3fb3fdef7 · API version 2026-10