TanqoryDocs

tanqoryExtMessagingTemplate

  • Query
  • Other operations

Arguments

ArgumentTypeRequiredDefault
idID!Required

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 TanqoryExtMessagingTemplate($id: ID!) {\n  tanqoryExtMessagingTemplate(id: $id) {\n    body\n    channel\n    createdAt\n    design\n    id\n    name\n    previewText\n    shortenLinks\n    subject\n    updatedAt\n  }\n}","variables":{"id":"gid://tanqory/Type/id"}}'

Built from commit c0b3fb3fdef7 · API version 2026-10