Skip to content
gist.link ↗

Settings API

Org-wide configuration: business details, branding, domains, payment methods.

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

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

Operation Required permission Description
assignableUsers settings:query:assignableUsers User accounts a mailbox can be assigned to (from the auth service). ROLE_ADMIN.
domain settings:query:domain —
domainDnsSetup settings:query:domainDnsSetup Live DNS setup inspection for a domain — powers the “Connect automatically” flow: detected nameserver provider, Domain Connect availability + apply URL, and a prefilled Cloudflare token-creation link. ROLE_ADMIN.
domains settings:query:domains The organization’s domains (email verification state + DNS automation; consumed by mail, deploy, …).
emailDomain settings:query:emailDomain Legacy alias for domain.
emailDomains settings:query:emailDomains Legacy alias for domains.
location settings:query:location A single location of the current organization, or null. Any org member or org-bound ROLE_SERVICE.
locations settings:query:locations The organization’s own locations (warehouses, stores, offices) — the suite’s ship-from origins (shipping) and inventory locations (shop). Active only unless include_inactive; ships_from filters by origin eligibility. Default ship-from first. Any org member or org-bound ROLE_SERVICE.
mailboxes settings:query:mailboxes Mailboxes provisioned across the organization (proxied from the mail service). ROLE_ADMIN.
organizationSettings settings:query:organizationSettings The current organization’s shared settings, or null before first save.
orgMailPolicy settings:query:orgMailPolicy Organization-wide mail policy (proxied from the mail service). ROLE_ADMIN.
paymentMethodConfig settings:query:paymentMethodConfig —
paymentMethodConfigs settings:query:paymentMethodConfigs Non-secret payment method configuration shared across the organization.
taxRates settings:query:taxRates Org-scoped invoice/sales tax rates (consumed by the pay app to apply tax automatically).
taxRegions settings:query:taxRegions Regions where the organization does business, each with its own business details and tax registration. The company address country always has a base region.
Operation Required permission Description
addDomain settings:mutation:addDomain Register a domain and provision it with the email provider. ROLE_ADMIN.
addEmailDomain settings:mutation:addEmailDomain Legacy alias for addDomain.
archiveLocation settings:mutation:archiveLocation Archive (deactivate) a location; archiving the default ship-from clears it. ROLE_ADMIN.
completeDomainConnect settings:mutation:completeDomainConnect Complete a Domain Connect “Connect automatically” flow after the DNS provider redirects back to the settings frontend. state is the HMAC token issued in the apply URL; error is the provider’s failure reason when the user cancelled or the apply failed. ROLE_ADMIN.
connectDomainDns settings:mutation:connectDomainDns Connect a DNS provider (cloudflare | godaddy | namecheap) to a domain and run an initial sync that publishes the required DNS records automatically. Credentials are encrypted at rest and never returned. ROLE_ADMIN.
createLocation settings:mutation:createLocation Create a location. ROLE_ADMIN or org-bound ROLE_SERVICE (legacy address migration).
createMailbox settings:mutation:createMailbox Provision a mailbox on a verified domain and assign it to one or more users (proxied to the mail service). ROLE_ADMIN.
createPaymentMethodConfig settings:mutation:createPaymentMethodConfig Create a non-secret payment method configuration. ROLE_ADMIN.
createTaxRate settings:mutation:createTaxRate Create an invoice/sales tax rate. ROLE_ADMIN.
createTaxRegion settings:mutation:createTaxRegion Add a region the organization does business in. ROLE_ADMIN.
deletePaymentMethodConfig settings:mutation:deletePaymentMethodConfig Delete a payment method configuration. ROLE_ADMIN.
deleteTaxRate settings:mutation:deleteTaxRate Delete an invoice/sales tax rate. ROLE_ADMIN.
deleteTaxRegion settings:mutation:deleteTaxRegion Remove a region. The base region (company address country) cannot be removed. ROLE_ADMIN.
disconnectDomainDns settings:mutation:disconnectDomainDns Forget the DNS provider connection and its stored credentials. ROLE_ADMIN.
removeDomain settings:mutation:removeDomain Remove a domain here and deprovision it with the email provider. ROLE_ADMIN.
removeEmailDomain settings:mutation:removeEmailDomain Legacy alias for removeDomain.
setDefaultShipFromLocation settings:mutation:setDefaultShipFromLocation Make a location the org’s single default ship-from (clears any other). ROLE_ADMIN.
setMailboxUsers settings:mutation:setMailboxUsers Replace a mailbox’s user assignments (several users = shared mailbox; proxied to the mail service). ROLE_ADMIN.
syncDomainDns settings:mutation:syncDomainDns Re-push the required DNS records through the connected provider. ROLE_ADMIN.
updateLocation settings:mutation:updateLocation Replace a location’s details. ROLE_ADMIN.
updateOrganizationSettings settings:mutation:updateOrganizationSettings Create or update the current organization’s shared settings. ROLE_ADMIN.
updateOrgMailPolicy settings:mutation:updateOrgMailPolicy Update the organization-wide mail policy (proxied to the mail service). ROLE_ADMIN.
updatePaymentMethodConfig settings:mutation:updatePaymentMethodConfig Update a payment method configuration. ROLE_ADMIN.
updateTaxRate settings:mutation:updateTaxRate Update an invoice/sales tax rate (existing documents keep their snapshot). ROLE_ADMIN.
updateTaxRegion settings:mutation:updateTaxRegion Update a region’s business details / tax registration. ROLE_ADMIN.
upsertDomainDnsRecords settings:mutation:upsertDomainDnsRecords Upsert additional DNS records through the connected provider — the surface other suite services (e.g. deploy custom domains) integrate over. Records must target the domain or its subdomains. ROLE_ADMIN or ROLE_SERVICE.
verifyDomain settings:mutation:verifyDomain Re-check the email provider’s verification state for a domain. ROLE_ADMIN.
verifyEmailDomain settings:mutation:verifyEmailDomain Legacy alias for verifyDomain.