Create company
Companies
Create company
POST /companies — create a new object
POST
Create company
Endpoint
/companiesAuthentication: Bearer JWT
Request body
The body is a JSON object with a singlefields property. Each key inside fields is a field internal_name (the same names returned in GET responses, not nested under fields in the response).
Include every field you want to set on the new record.
| Key | Description |
|---|---|
fields | Required. Map of internal_name → value for this object type. |
fields.external_id | Optional. External identifier for sync with outside systems. |
fields.
Required on create: At least one of
company_name or website_url. See API introduction for field types and validation rules.Default response fields
201 returns a flat object with these properties:| Property | Description |
|---|---|
id | Internal object ID |
company_name | Custom or system field (flat on the object) |
description | Custom or system field (flat on the object) |
industry | Custom or system field (flat on the object) |
company_owner | Assigned owner email |
external_id | External identifier (nullable) |
archived | false when active; ISO timestamp when archived |
created_at and updated_at are always included in every response (ISO 8601 UTC), even when not listed above. When an object is archived, archived_by is also included automatically.Response example
Errors
| Status | When |
|---|---|
400 | Invalid JSON body, unknown field name, validation failure, or forbidden system field |
401 | Missing account context |
409 | Duplicate active record (email, website_url, or external_id) |
500 | Internal server error |
Authorizations
Bearer JWT with valid account context.
Body
application/json
Write payload for POST create and PATCH update. Keys inside fields match field internal names returned in GET responses.
Field values keyed by internal_name. Custom account fields use the same key names.
Response
Created
Assigned owner email
Example:
"jane@example.com"
false when active, or ISO timestamp when archived
