tanqoryExtEmbeddedApp
- Query
- Apps and platform
Opens the embedded partner app with this handle: the app, its URL and origin, the installation's scopes and a session token. Null when there is no such app, when it is not embedded, not installed on the store, made by Tanqory (Tanqory's apps are native pages) or has no URL the dashboard may frame. Only a member of the store, never an app's own token.
Arguments
| Argument | Type | Required | Default |
|---|---|---|---|
handle | String! | Required |
Returns
TanqoryExtEmbeddedApp An embedded partner app opened in the dashboard or the mobile apps: what the host needs to frame it.
| Field | Type | Description |
|---|---|---|
accessScopes | [String!]! | The installation's access scopes: the host offers a resource picker only for what the app may read. |
app | App! | The app. |
appOrigin | String! | The only origin the host reads App Bridge messages from and sends them to: the origin of |
appUrl | URL! | The app's URL as registered: the host appends the path and the launch parameters to it. |
bridgeCapabilities | [TanqoryExtAppBridgeCapability!]! | The device capabilities the app declared in its configuration, each with its reason. The host answers NOT_PERMITTED to a request for a capability not listed here. Empty when the app declared none. |
bridgeProtocolVersion | Int! | The App Bridge protocol version this API's hosts speak. |
sessionToken | TanqoryExtAppSessionToken! | A session token for the frame's first request ( |
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 TanqoryExtEmbeddedApp($handle: String!) {\n tanqoryExtEmbeddedApp(handle: $handle) {\n accessScopes\n app { id }\n appOrigin\n appUrl\n bridgeProtocolVersion\n }\n}","variables":{"handle":""}}'// Node.js 18 or later (fetch is built in). Save as request.mjs and run: node request.mjs
const query = `query TanqoryExtEmbeddedApp(\$handle: String!) {
tanqoryExtEmbeddedApp(handle: \$handle) {
accessScopes
app { id }
appOrigin
appUrl
bridgeProtocolVersion
}
}`;
const variables = {
"handle": ""
};
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 TanqoryExtEmbeddedApp($handle: String!) {
tanqoryExtEmbeddedApp(handle: $handle) {
accessScopes
app { id }
appOrigin
appUrl
bridgeProtocolVersion
}
}"""
variables = json.loads("""{
"handle": ""
}""")
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))