Create or update a company
Companies
Create or update a company
Creates a company, or updates the existing one with the same externalId (upsert).
Scope: write:companies
POST
Create or update a company
Authorizations
Bearer API key. Secret server keys start with gt_live_; client-safe browser keys start with gt_pub_ (write-only, origin-pinned). Create and scope keys in Settings → API Keys.
Body
application/json
Create or update a company. Upserts on externalId (defaults to a slug of name).
Required string length:
1 - 255Upsert key. Defaults to a slug of the name.
Maximum string length:
100Maximum string length:
255Maximum string length:
100Maximum string length:
50Maximum string length:
50Maximum string length:
100Maximum string length:
255Maximum string length:
30Maximum string length:
255Required range:
x >= 0Integer minor units.
Required range:
x >= 0Integer minor units.
Required range:
x >= 0ISO 4217 code or null.
Maximum string length:
3Pattern:
^[A-Z]{3}$Response
Existing company updated.
A canonical company record. Health, counts, and timestamps are read-only.
Last modified on July 6, 2026