Introspect the current token
/session-token/me
Describes the credential this request authenticated with. The envelope is deliberately token-kind-agnostic: type discriminates and scope is the per-type part, so an API token and a dashboard session get back the common fields only, while a session token also gets its scope, its clock, and its resolved capabilities.
Returning capabilities here is what keeps the embedded widget honest: the same resolved configuration backs every server-side gate, so a button the widget renders and the check that permits it cannot disagree.
It reports counts, never values, for anything sensitive. There is no allowed_origins array — echoing that list back into a browser would hand an attacker the exact string to spoof — only allowed_origins_count, which is the count of the list this session declares (its own narrowing if it narrowed, otherwise the environment's). The token itself is never echoed either.
This is always a point read, so a revoked session reads as gone immediately rather than lingering in an index.
Response Body
Session tokens only. How many origins this session declares. The list itself is never returned. Framing is always governed by the environment's list.
1Session tokens only. The environment's resolved connections configuration — the same answer every server-side gate uses.
Whether the widget may reopen an existing connection's post-connect form via POST /integrated-account/form-token.
Whether the widget may start a new connection.
Whether the widget may remove a connection.
Whether one tenant may hold more than one account per integration.
Whether the widget may reconnect an existing account.
Whether the widget may refresh an account's credentials.
Whether raw upstream error details are included in the widget's connection reads.
Session tokens only. Moves forward on every renewal.
2026-07-28T11:45:00.000ZThe subject the credential resolves to — the tenant id when type is tenant, otherwise the API token id or the user id.
acme-1Session tokens only. Whether POST /session-token/renew will work.
trueSession tokens only. When the session was minted.
2026-07-28T11:30:00.000ZSession tokens only. The credential that minted this session.
1ba1f401-7183-47c5-9e39-e8e257e3c795api_tokenapi_tokensession
Session tokens only. The environment's presentation defaults for the catalog. Not a security boundary — the SDK may override them per embed and the end user may change them in the widget's own toolbar — but they belong to the environment, so they arrive with the session rather than being guessed client-side.
How the catalog is grouped when it opens.
nonecategorystatus
Which catalog layout the widget opens in.
cardslist
Whether the catalog's search box is shown. A catalog small enough not to need it hides the toolbar anyway.
Session tokens only. Fixed at mint time.
2026-07-28T23:30:00.000ZSession tokens only. What this session is confined to.
8a2b104d-74a6-47f2-b93e-c6b611e82391acme-1Session tokens only. The name of the team that owns the environment — what the connect flow falls back to when the Link UI has no brand_name, so the widget can name the same party when it tells an end user who to contact.
Acme CorpWhich kind of credential this is. tenant is a session token minted by POST /session-token — the credential this resource is named for. api_token is an admin API key, and session is a signed-in dashboard user, neither of which is a session token in the sense used here. An integrated-account token never appears: it cannot reach this route at all (see the 403 below).
tenanttenantapi_tokensession
Errors
| Status | Description |
|---|---|
401 | No credential, or one that has expired or been revoked. |
403 | An integrated-account token was used — that credential is confined to its own routes. |
curl -X GET 'https://api.truto.one/session-token/me' \
-H 'Authorization: Bearer <your_api_token>' \
-H 'Content-Type: application/json'const response = await fetch('https://api.truto.one/session-token/me', {
method: 'GET',
headers: {
'Authorization': 'Bearer <your_api_token>',
'Content-Type': 'application/json',
},
});
const data = await response.json();
console.log(data);import requests
url = "https://api.truto.one/session-token/me"
headers = {
"Authorization": "Bearer <your_api_token>",
"Content-Type": "application/json",
}
params = {
}
response = requests.get(url, headers=headers, params=params)
print(response.json())