Skip to content
gist.link ↗

Overview

GistLink is a suite of independent products — Support, Pay, Mail, Teams, CRM, Drive, and more — that share one identity and one API style. Everything you can do in a product’s UI, you can do through its API.

  • One GraphQL endpoint per product. Each service exposes a single schema-first GraphQL API at https://<service>.api.gist.link/graphql (for example https://support.api.gist.link/graphql). There are no REST endpoints.
  • One identity provider. The auth service owns all identities — human users and programmatic IAM users — and issues every access token from its OAuth token endpoint, https://auth.api.gist.link/oauth/token.
  • Organization scoping is automatic. Every IAM credential belongs to exactly one organization. Every row an API returns or mutates is scoped to the organization carried in your token — there is no cross-tenant access and no organizationId parameter to pass.
  1. Create an IAM user — an organization-scoped, non-human identity — in the Settings app under Security → IAM users (/dashboard/security/iam-users). Grant it permissions using the <app>:query|mutation:<field> grammar.
  2. Issue an API key for that IAM user. A key can carry all of its user’s permissions or a narrower subset. The key id looks like gciam_… and the one-time secret like gcsk_… — the secret is shown once and stored only as a hash.
  3. Exchange the key for an access token with the standard OAuth client_credentials grant, naming the one product you want to call via audience. The short-lived JWT you receive works only on that product’s API. See Authentication.
IAM key (gciam_… / gcsk_…)
│ POST /oauth/token (grant_type=client_credentials, audience=support)
▼
Access token (JWT, ~15 min, aud=support, permissions=[support:…])
│ Authorization: Bearer <token>
▼
POST https://support.api.gist.link/graphql
✅ Call any product API operation covered by the key’s granted permissions
✅ Hold wildcards (support:query:*, pay:*) for whole namespaces or apps
✅ Be rotated or revoked instantly without touching other keys
❌ Target the suite or auth audiences — IAM tokens are always single-product
❌ Manage identities (users, invitations, other IAM users) — that stays with human admins
❌ Exceed their parent IAM user’s current grants — effective permissions are the intersection
  • Quickstart — end-to-end walkthrough with copy-paste commands.
  • API reference — every service, every operation, every permission.
  • API conventions — pagination, money, dates, and other suite-wide rules.