List a brand's token gates
The brand's gates, on or off, with where each applies. Needs `org.tokenGates.view`.
/v1/orgs/{org}/brands/{brand}/token-gatesThe brand's gates, on or off, with where each applies. Needs org.tokenGates.view.
Authorization
bearer An org API key (sk_live_…, sk_test_…), or an access token from the Synq issuer (the synq brand, on the accounts host) for this API.
In: header
Path Parameters
The org's id
^org_[0-9a-hjkmnp-tv-z]{26}$The brand's id
^brd_[0-9a-hjkmnp-tv-z]{26}$Query Parameters
At most this many items, 200 at the most.
1 <= value <= 20050The previous page's next_cursor, for the page after it.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X GET "https://api.synq.build/v1/orgs/org_01h455vb4pex5vsknk084sn02q/brands/brd_01h455vb4pex5vsknk084sn02q/token-gates" \ -H "Authorization: Bearer $SYNQ_API_KEY"{ "data": [ { "id": "tkg_01h455vb4pex5vsknk084sn02q", "brand": "brd_01h455vb4pex5vsknk084sn02q", "name": "Acme holders", "enabled": true, "rule": { "version": 1, "root": { "type": "all", "conditions": [ { "type": null, "chain": null, "mint": null, "min_amount": null, "wallets": null, "label": null, "display": null } ] } }, "schedule": { "timezone": "string", "all_day": true, "starts": "string", "ends": "string", "outside": "let_in", "starts_at": "2026-10-21T12:00:00.000Z", "ends_at": "2026-10-21T12:00:00.000Z", "state": "in_effect" }, "refusal_message": "string", "summary": "All of: At least 1,000 USDC; One of (At least 3 NFTs from Mad Lads; The NFT Mad Lad #42)", "brands": [ "brd_01h455vb4pex5vsknk084sn02q" ], "apps": [ "app_01h455vb4pex5vsknk084sn02q" ], "discord_roles": [ { "server": "string", "server_name": "Mollyverse", "role": "string", "role_name": "MDP Holder", "grace_seconds": 0, "recheck_seconds": 0, "existing_members": "verify", "adopt_by": "2026-10-21T12:00:00.000Z", "adoption": { "state": "none", "verify_by": "2026-10-21T12:00:00.000Z", "counted": 0, "unverified": 0, "member_listing": "full", "problem": "members_intent", "problem_detail": "string" } } ], "telegram_groups": [ { "group": "string", "title": "RODAI Holders", "on_lost": "mute", "grace_seconds": 0, "recheck_seconds": 0, "existing_members": "verify", "adopt_by": "2026-10-21T12:00:00.000Z", "adoption": { "state": "none", "verify_by": "2026-10-21T12:00:00.000Z", "counted": 0, "unverified": 0, "member_listing": "full", "problem": "members_intent", "problem_detail": "string" } } ], "created_at": "2026-10-21T12:00:00.000Z", "updated_at": "2026-10-21T12:00:00.000Z" } ], "next_cursor": "string", "chains": [ "solana:mainnet" ]}Read a token gate GET
A gate of the brand (404 for a gate of another brand). Needs `org.tokenGates.view`.
Read a token gate GET
Any gate of the org, with its brand. Kept for callers of the org's own routes from before gates belonged to a brand: `/v1/orgs/{org}/brands/{brand}/token-gates` does the same within one brand. Needs `org.tokenGates.view`.