TanqoryDocs

tanqoryExtMessagingTemplates

  • Query
  • Other operations

The store's saved templates, newest first (at most 250); channel narrows, query matches the name.

Arguments

ArgumentTypeRequiredDefault
channelTanqoryExtMessagingChannelOptional
queryStringOptional

Returns

[TanqoryExtMessagingTemplate!]! A saved template of the store (Apps > Messaging > Templates): content to start messages from.

FieldTypeDescription
bodyString!
channelTanqoryExtMessagingChannel!
createdAtDateTime!
designJSON

An email template's visual design (as TanqoryExtMessagingMessage.design); null for SMS and WhatsApp.

idID!
nameString!
previewTextString!
subjectString!

The subject line (email) or the message name (SMS / WhatsApp) a message starts with; may be empty.

unfinishedSections[TanqoryExtMessagingUnfinishedSection!]!

The sections a message made from it would have to finish before sending (as TanqoryExtMessagingMessage.unfinishedSections).

updatedAtDateTime!

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 TanqoryExtMessagingTemplates {\n  tanqoryExtMessagingTemplates {\n    body\n    channel\n    createdAt\n    design\n    id\n    name\n    previewText\n    shortenLinks\n    subject\n    updatedAt\n  }\n}","variables":{}}'

Built from commit c0b3fb3fdef7 · API version 2026-10