Skip to content
gist.link ↗

Developers API

The partner platform: app manifests, the app store, installs, and partner revenue/payouts.

Endpoint POST https://developers.api.gist.link/graphql
Token audience audience=developers
Permission prefix developers:

Mint an access token for this API with your IAM key and audience=developers — see Authentication.

Operation Required permission Description
health developers:query:health —
installedApps developers:query:installedApps The caller org’s active app installs (feeds the dashboard launcher).
partnerApp developers:query:partnerApp One of the caller org’s apps.
partnerApps developers:query:partnerApps All apps registered by the caller’s (partner) organization.
partnerAppStats developers:query:partnerAppStats Install statistics for one of the caller org’s apps.
partnerBalance developers:query:partnerBalance The caller (partner) org’s accrued balance per currency.
partnerLedger developers:query:partnerLedger The caller (partner) org’s revenue/payout ledger, newest first.
partnerPayouts developers:query:partnerPayouts The caller (partner) org’s payout history, newest first.
partnerProfile developers:query:partnerProfile The caller org’s partner profile, or null when not enrolled.
platformFeeBps developers:query:platformFeeBps Platform fee GistLink retains on app revenue, in basis points.
storeApp developers:query:storeApp One listed app by key.
storeApps developers:query:storeApps Browse listed apps in the app store.
Operation Required permission Description
changeAppPlan developers:mutation:changeAppPlan Switch the org’s plan for an installed app (takes effect on the next invoice). Requires an org admin.
installApp developers:mutation:installApp Install a listed app for the caller’s organization on the given plan. This is the consent step: it grants the app’s OAuth client access to this org (with the manifest’s permissions), adds the paid plan to the org’s monthly GistLink invoice, and registers the app’s automations. Requires an org admin.
registerPartner developers:mutation:registerPartner Enroll (or update) the caller’s organization in the partner program. Requires an org admin.
rotateAppCredentials developers:mutation:rotateAppCredentials Issue or rotate the app’s OAuth client credentials (available once listed). The secret is returned exactly once — store it in your app’s secret manager. Requires an org admin.
saveAppManifest developers:mutation:saveAppManifest Create or update an app from its JSON manifest (manifest_version: 1). The manifest declares the app’s identity and launch URL, requested permissions, pricing plans, launcher embed, and extension registrations. The app key is immutable once created. Requires an org admin of the partner org.
setPartnerPayoutAccount developers:mutation:setPartnerPayoutAccount Set the partner’s payout bank account. Details are stored encrypted in the pay service; this platform only keeps the supplier reference. Requires an org admin.
submitAppForReview developers:mutation:submitAppForReview Submit the app’s current draft manifest for review. Requires an org admin.
uninstallApp developers:mutation:uninstallApp Uninstall an app: revokes its access to the org and stops billing. Requires an org admin.

The following operations exist in the schema but are reserved for internal suite automation (service tokens or suite operators) and are not available to IAM credentials: reviewQueue, approveApp, rejectApp, delistApp, recordAppRevenue.