API conventions
Every GistLink API follows the same conventions. Learn them once and every service reads the same way.
GraphQL only
Section titled “GraphQL only”Each product exposes exactly one endpoint:
POST https://<service>.api.gist.link/graphqlRequests are JSON bodies with query and optional variables /
operationName keys. There are no REST endpoints, no API versions in the
URL, and no per-resource paths. Schemas evolve additively — fields are added,
not repurposed.
Field naming
Section titled “Field naming”Entity fields are snake_case (created_at, body_html,
due_at); operations and type names are camelCase/PascalCase
(createTicket, InvoiceConnection).
Dates and times
Section titled “Dates and times”All timestamps are ISO-8601 strings with timezone offsets, e.g.
"2026-09-10T12:00:00+00:00". Send the same format for date/time arguments.
Money is never a float. Monetary values are objects pairing integer minor units with an ISO 4217 currency code:
{ "amount": 129900, "currency": "USD" } // $1,299.00Amount arguments likewise take integer minor units. Divide/multiply by the currency’s exponent (100 for USD/EUR, 0 for JPY, …) only at the display edge.
Pagination
Section titled “Pagination”List fields are cursor-paginated connections taking first (page size)
and after (opaque cursor) arguments and returning a connection type
(typically edges { node { … } } plus page info — the exact shape is on each
service’s types page). Iterate by passing the last page’s
end cursor as after until there’s no next page. Many connections also take
filter and sort arguments; see each operation’s reference page.
Organization scoping
Section titled “Organization scoping”Your token carries your organization. Every query returns only your organization’s rows and every mutation writes into them. There is no cross-organization access; you never pass an organization id.
Identifiers
Section titled “Identifiers”Most entities use UUID ID values (some services use integer ids for
sub-resources — the reference pages show the exact type). Treat all ids as
opaque strings.
Files and media
Section titled “Files and media”Binary content never travels through GraphQL. File-bearing services (Drive, attachments in Support/Teams) use a three-step pattern:
- a mutation issues a presigned upload URL plus required headers,
- you
PUTthe bytes directly to object storage, and - a completion mutation finalizes the node.
Downloads likewise return short-lived presigned URLs.
Idempotency
Section titled “Idempotency”Mutations that trigger billing or external side effects (e.g. usage recording, payment capture) accept or require an idempotency key — retries with the same key replay the stored result instead of double-charging. Each operation’s reference page documents its idempotency argument when present.
Async processing
Section titled “Async processing”Some mutations enqueue work (sending email, processing payouts, webhooks)
and return immediately with a QUEUED/PENDING status. Poll the
corresponding query for the terminal state rather than assuming synchronous
completion.