Synpath
Accounts & Keys

List grants

Who may do what, per account.

GET/grantsself-hosted · access token · manage_members

Self-hosted. Served by synpath serve on your own machine or host, which must be running; the engine and its order types live there. Nothing on this page runs on Synpath's servers.

Query parameters

NameTypeDescription
user_idstringOnly this user.

Response

An array of grants.

import os
import httpx

TOKEN = os.environ["SYNPATH_ACCESS_TOKEN"]

r = httpx.get("http://127.0.0.1:8000/trading/grants", headers={"Authorization": f"Bearer {TOKEN}"})
r.raise_for_status()
print(r.json())
200
[
  {
    "id": "g_19",
    "user_id": "u_alice",
    "account": "kalshi:desk-a",
    "permission": "trade",
    "granted_ts": 1789655008000
  }
]