TanqoryDocs

tanqoryExtMessagingAutomationRuns

  • Query
  • Other operations

An automation's runs, newest trigger first, first (1-50, default 25) after the cursor after (switch messaging_workflow_builder; enabled false and no runs when it is off).

Arguments

ArgumentTypeRequiredDefault
afterStringOptional
firstIntOptional
idID!Required

Returns

TanqoryExtMessagingAutomationRuns!

FieldTypeDescription
cursorString

Pass as after for the next page.

enabledBoolean!

False with switch messaging_workflow_builder off (no runs are listed).

hasMoreBoolean!
runs[TanqoryExtMessagingAutomationRun!]!

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 TanqoryExtMessagingAutomationRuns($first: Int, $id: ID!) {\n  tanqoryExtMessagingAutomationRuns(first: $first, id: $id) {\n    cursor\n    enabled\n    hasMore\n    runs { id }\n  }\n}","variables":{"first":5,"id":"gid://tanqory/Type/id"}}'

Built from commit 0cac88ece6de · API version 2026-10