Skip to content
gist.link ↗

Settings types

Type definitions referenced by Settings queries and mutations.

Scalar. The Boolean scalar type represents true or false.

Input object.

Field Type Description
address String! Full address, e.g. jane@yourdomain.com; the domain must be verified.
user_ids [String!] Auth user ids to assign the mailbox to (at least one for kind=mailbox; ignored for kind=support).
display_name String! —
kind String mailbox (default) or support — support addresses create tickets in the support app instead of a mailbox.

Input object.

Field Type Description
provider String! —
display_name String! —
enabled Boolean —
config JSON —

Input object. Credentials for a DNS provider connection (write-only — encrypted at rest, never returned). Cloudflare: api_token (Zone.DNS edit). GoDaddy: api_key + api_secret. Namecheap: api_user + api_key, optional username and client_ip (the API-whitelisted IP).

Field Type Description
api_token String —
api_key String —
api_secret String —
api_user String —
username String —
client_ip String —

Object. A DNS record the domain needs published.

Field Type Description
record_type String! TXT | CNAME | MX
name String! Fully-qualified record name.
value String! Record value (MX values include the priority prefix).
purpose String! Human-readable explanation of what the record enables.

Input object. One record for upsertDomainDnsRecords. Must target the domain or a subdomain of it.

Field Type Description
record_type String! One of: CNAME, TXT, A, AAAA.
name String! Fully-qualified record name, e.g. “app.example.com”.
value String! —
purpose String Human-readable reason shown alongside the record (optional).

Object. An organization-owned domain, shared across the suite (the mail product only creates mailboxes and accepts API from addresses on domains whose status is “verified”; deploy will attach applications to domains). Optionally connected to a DNS provider so the required records are published automatically.

Field Type Description
uuid String! —
domain String! Lowercase fully-qualified domain name; globally unique across the suite.
status String! pending | verified | failed (mirrors the email provider’s identity state).
dns_records [DnsRecord!]! DNS records the domain needs (DKIM, SPF, DMARC, inbound MX). Published manually or synced via the connected provider.
dns_provider String Connected DNS provider: cloudflare | godaddy | namecheap | domain_connect; null = manual DNS.
dns_last_synced_at String When the records were last pushed to the provider successfully.
dns_sync_error String Failure message from the last sync attempt, null when it succeeded.
created_at String! —
updated_at String! —
verified_at String —

Object. Live DNS setup inspection for a domain — everything the frontend needs to offer a one-click “Connect automatically” path before falling back to manual setup. Detection is best-effort: fields are null when DNS/HTTP lookups fail.

Field Type Description
zone String! Registrable zone holding the domain’s records (e.g. example.com for mail.example.com).
nameservers [String!]! Nameservers currently serving the zone.
detected_provider String Provider detected from the nameservers: cloudflare | godaddy | namecheap; null when unrecognized.
detected_provider_name String Display name for the detected provider.
cloudflare_token_url String! Prefilled Cloudflare dashboard link that creates a Zone.DNS Edit token in two clicks (Cloudflare offers no public OAuth).
domain_connect_available Boolean! True when the zone’s DNS provider supports Domain Connect with the GistLink template onboarded.
domain_connect_provider_name String DNS provider’s display name from Domain Connect discovery.
domain_connect_url String Domain Connect sync-flow URL — send the browser here; the provider applies the records after consent and redirects back.

Scalar. The Int scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.

Scalar. Arbitrary JSON value.

Object. One of the organization’s own physical locations. Settings is the single source for the org’s own addresses: shipping uses ships_from locations as origins (default ship-from → first active ships_from → business address) and shop references them as inventory locations.

Field Type Description
uuid String! —
name String! —
kind String! warehouse | store | office | other
address_line1 String! —
address_line2 String —
city String! —
region String —
postal_code String —
country String! ISO 3166-1 alpha-2
phone String —
email String —
contact_name String —
ships_from Boolean! Usable as a shipping origin.
is_default_ship_from Boolean! The org’s default ship-from (at most one).
active Boolean! —
created_at String! —
updated_at String! —

Input object.

Field Type Description
name String! —
kind String —
address_line1 String! —
address_line2 String —
city String! —
region String —
postal_code String —
country String! —
phone String —
email String —
contact_name String —
ships_from Boolean —
is_default_ship_from Boolean —

Object. A mailbox assigned to one or more auth users, on a domain verified in settings. Mailboxes live in the mail service; settings is only the admin surface.

Field Type Description
uuid String! —
address String! Full lowercase address, globally unique.
display_name String! —
kind String! mailbox (regular inbox) or support (inbound mail creates tickets in the support app; no inbox).
user_ids [String!]! Assigned auth-service user ids (several = shared mailbox; empty for support addresses).
created_at String! —
updated_at String! —

Object. An organization user account that a mailbox can be assigned to.

Field Type Description
id String! —
email String! —
name String! —

Object.

Field Type Description
uuid String! —
company_name String! —
legal_name String —
description String —
industry String —
website String —
email String —
default_sender_email String Org-wide default outbound sender address (pre-selected across products that send email, e.g. campaigns).
phone String —
address_line1 String —
address_line2 String —
city String —
state_region String —
postal_code String —
country_code String —
logo_url String —
timezone String! —
locale String! —
currency String! —
tax_identifiers JSON —
cra_business_number String CRA payroll program account, e.g. 123456789RP0001 (Canadian payroll remittances + T4s).
us_ein String US IRS Employer Identification Number, e.g. 12-3456789 (941 remittances + W-2s).
eu_tax_id String EU employer / tax identifier used on annual payroll statements.
metadata JSON —
created_at String! —
updated_at String! —

Input object.

Field Type Description
company_name String —
legal_name String —
description String —
industry String —
website String —
email String —
default_sender_email String —
phone String —
address_line1 String —
address_line2 String —
city String —
state_region String —
postal_code String —
country_code String —
logo_url String —
timezone String —
locale String —
currency String —
tax_identifiers JSON —
cra_business_number String Deprecated — use createTaxRegion/updateTaxRegion instead.
us_ein String Deprecated — use createTaxRegion/updateTaxRegion instead.
eu_tax_id String Deprecated — use createTaxRegion/updateTaxRegion instead.
metadata JSON —

Object. Organization-wide mail policy, owned by the mail service.

Field Type Description
external_forwarding_enabled Boolean! Whether members may auto-forward mail to addresses outside the organization.
spam_level String! lenient | standard | aggressive — how eagerly inbound mail is classified as spam.
dmarc_fail_action String! none | spam | reject — what happens to mail that fails DMARC.
spam_purge_days Int! Days spam is kept before permanent deletion.
trash_purge_days Int! Days trash is kept before permanent deletion.
retention_days Int! Delete ALL mail older than this many days; 0 disables retention-based deletion.
updated_at String! —

Input object.

Field Type Description
external_forwarding_enabled Boolean —
spam_level String —
dmarc_fail_action String —
spam_purge_days Int —
trash_purge_days Int —
retention_days Int —

Object.

Field Type Description
uuid String! —
provider String! —
display_name String! —
enabled Boolean! —
config JSON —
created_at String! —
updated_at String! —

Scalar. The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.

Object. Org-scoped invoice/sales tax rate in basis points (2000 = 20.00%). Matched against a customer’s billing country/region: country+region match > country match > org default (is_default) > 0. Consumers snapshot the applied rate.

Field Type Description
id Int! Stable numeric id (kept for pay-app compatibility).
uuid String! —
name String! —
rate_bps Int! —
country String ISO 3166-1 alpha-2 (uppercase); null = matches any country.
region String Free-form region/state/province; null = matches any region.
is_default Boolean! —
active Boolean! —
created_at String! —
updated_at String! —

Input object.

Field Type Description
name String —
rate_bps Int Basis points, 0..10000.
country String —
region String —
is_default Boolean —
active Boolean —

Object. A region (country, optionally narrowed to a state/province) where the organization does business, with region-specific business details and the tax account registered with that region’s authority. The company address country always has a base region which cannot be deleted; a business in multiple regions adds one entry per registration. “EU” is accepted as an EU-wide pseudo country code.

Field Type Description
uuid String! —
country_code String! ISO 3166-1 alpha-2 country code (uppercase), or the EU pseudo-code.
state_region String Optional state/province narrowing, e.g. BC, California.
legal_name String Registered business name in this region; null = the organization legal name.
registration_number String Tax account / registration number with this region’s authority (CRA BN+RP, IRS EIN, VAT id, …).
address_line1 String —
address_line2 String —
city String —
postal_code String —
created_at String! —
updated_at String! —

Input object.

Field Type Description
country_code String Required on create; immutable afterwards.
state_region String —
legal_name String —
registration_number String —
address_line1 String —
address_line2 String —
city String —
postal_code String —

Input object.

Field Type Description
display_name String —
enabled Boolean —
config JSON —