tanqoryExtMessagingSettings
- Query
- Other operations
The store's Messaging settings (defaults until the first save).
Arguments
None.
Returns
TanqoryExtMessagingSettings! The store's Messaging settings (Apps > Messaging > Settings).
| Field | Type | Description |
|---|---|---|
botFiltering | Boolean! | |
brandAccentColor | String | #rrggbb; null = the notification branding's accent colour. |
brandLogoUrl | String | |
effectiveReplyTo | String | Where replies go now. |
effectiveSenderName | String! | The From name messages use now. |
emailUtm | TanqoryExtMessagingUtm! | |
footerText | String! | Extra text above the legal footer. |
fromAddress | String! | The address marketing email is sent from (the platform's sending domain). |
listHealth | Boolean! | |
monthlySendAlert | Int | Number of marketing emails in a calendar month that sends the store an alert; null = off. |
openTracking | Boolean! | |
pendingSenderEmail | String | A new sender email waiting for its confirmation link to be opened; the current one stays in use until then. |
postalAddress | [String!] | The store's postal address the footer shows (Settings > General); null when it is incomplete: then nothing is sent. |
quietHours | TanqoryExtMessagingQuietHours! | Email quiet hours: automation email due inside them waits until they end (store time zone). Off by default. |
replyTo | String | Where replies go instead of the sender email; null = the sender email, else the store's contact email. |
senderEmail | String | The confirmed sender email (replies go to it unless replyTo is set); null when none is confirmed. |
senderEmailStatus | TanqoryExtMessagingSenderEmailStatus! | |
senderEmailVerifiedAt | DateTime | |
senderName | String | The From name of marketing email as set; null = the store's name. |
smartDelivery | Boolean! | |
sms | TanqoryExtMessagingSmsSettings! | |
verificationSentAt | DateTime | When the confirmation link was last sent. |
whatsappRequestedAt | DateTime |
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 -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 TanqoryExtMessagingSettings {\n tanqoryExtMessagingSettings {\n botFiltering\n brandAccentColor\n brandLogoUrl\n effectiveReplyTo\n effectiveSenderName\n footerText\n fromAddress\n listHealth\n monthlySendAlert\n openTracking\n }\n}","variables":{}}'// Node.js 18 or later (fetch is built in). Save as request.mjs and run: node request.mjs
const query = `query TanqoryExtMessagingSettings {
tanqoryExtMessagingSettings {
botFiltering
brandAccentColor
brandLogoUrl
effectiveReplyTo
effectiveSenderName
footerText
fromAddress
listHealth
monthlySendAlert
openTracking
}
}`;
const variables = {};
const res = await fetch(`https://api.tanqory.com/admin/2026-10/stores/${process.env.STORE_ID}/graphql`, {
method: 'POST',
headers: {
'Authorization': 'Bearer ' + process.env.TANQORY_ACCESS_TOKEN,
'Content-Type': 'application/json',
},
body: JSON.stringify({ query, variables }),
});
console.log(res.status, JSON.stringify(await res.json(), null, 2));# Python 3, standard library only. Save as request.py and run: python3 request.py
import json, os, urllib.request
query = """query TanqoryExtMessagingSettings {
tanqoryExtMessagingSettings {
botFiltering
brandAccentColor
brandLogoUrl
effectiveReplyTo
effectiveSenderName
footerText
fromAddress
listHealth
monthlySendAlert
openTracking
}
}"""
variables = json.loads("""{}""")
req = urllib.request.Request(
"https://api.tanqory.com/admin/2026-10/stores/" + os.environ["STORE_ID"] + "/graphql",
data=json.dumps({"query": query, "variables": variables}).encode(),
headers={
"Authorization": "Bearer " + os.environ["TANQORY_ACCESS_TOKEN"],
"Content-Type": "application/json",
},
)
with urllib.request.urlopen(req) as res:
print(res.status, json.dumps(json.load(res), indent=2))