Create a company
Creates a company.
Endpoint
POST/companies
Body
| Name | Type | Required | Description |
|---|---|---|---|
organization_id | integer | Yes | Organization to create the company in. |
name | string | Yes | Company name. |
owned_by_user_id | integer | No | Owner. Defaults to the API key's user. |
custom_fields_by_key | object | No | Custom field values keyed by field key. Values are validated against the field type; unknown keys are rejected. |
tags | array | No | Tags as { id, name, color } objects. |
Fields not in the company object are rejected. created_by_user_id is always set to the API key's user.
Request
Response
json
Report an issue with this documentation
Please log in to report issues with our documentation.