Update Company
Update an existing company by its ID. All fields are optional and only provided fields will be updated.
Path Parameters
Unique identifier of the company to update
Request Body
Company name (1-255 characters)
List of domains associated with this company. Used for automatically linking contacts by email domain. If Linear is connected, these domains will be synced to the Linear customer.Each domain must match the pattern: [0-9a-z-]+\.(?:(?:co|or|gv|ac|com)\.)?[a-z]{2,7}$
Your own organization IDs for referencing this company. Useful for linking contacts with generic email domains (e.g., @gmail.com) to companies. If Linear is connected, these IDs will be synced as Linear customer externalIds.
Automatically add all existing contacts with matching email domains to this company
Company size (number of employees). If Linear is connected, this will be synced to the Linear customer. Pass null to clear the value.
Annual revenue. If Linear is connected, this will be synced to the Linear customer. Pass null to clear the value.
Linear customer tier ID. Only works if Linear is connected. Use GET /companies/linear-options to fetch available tier IDs. Pass null to clear the value.
Linear customer status ID. Only works if Linear is connected. Use GET /companies/linear-options to fetch available status IDs. Pass null to clear the value.
Response
Unique identifier for the updated company
List of domains associated with the company
External IDs for the company
Whether to automatically add contacts with matching domains
Company size (number of employees)
Linear customer status ID
Timestamp when the company was created
Timestamp when the company was last updated
ID of the workspace this company belongs to
Example Request
{
"name": "Acme Corporation",
"size": 100,
"revenue": 2000000,
"tierId": "tier_456"
}
Example Response
{
"id": "comp_123456789",
"name": "Acme Corporation",
"domains": ["acme.com", "acme.io"],
"externalIds": ["ACME-001"],
"autoAdd": true,
"size": 100,
"revenue": 2000000,
"tierId": "tier_456",
"statusId": "status_456",
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T11:45:00Z",
"workspaceId": "ws_123456789"
}
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Required string length: 1 - 255
Required string length: 1 - 63
Your own organization IDs for referencing this company
Required string length: 1 - 255
createdAt
string<date-time>
required
updatedAt
string<date-time>
required