Create a company
Adds a company to your CRM. Only name is required.
Search the list endpoint by name first — nothing here deduplicates for you, so creating a company you already have leaves you with two.
Every company created through the API is a client. Vendors cannot be created here.
Body
required
application/json
Company attributes, wrapped in a company key.
- Type: objectcompanyrequired
Responses
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
Request Example for post/public-api/v1/companies
curl https://app.hellobonsai.com/public-api/v1/companies \
--request POST \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--data '{
"company": {
"name": "Acme Corp",
"default_contact_id": 7,
"domains": [
"example.com",
"example.net"
]
}
}'
{
"data": {
"id": 42,
"name": "Acme Corp",
"default_contact_id": 7,
"archived_at": "2026-04-14T09:12:04.000Z",
"created_at": "2026-04-14T09:12:04.000Z",
"domains": [
"example.com",
"example.net"
],
"url": "https://app.hellobonsai.com/companies/42"
},
"meta": {
"request_id": "b1f0d2c4-7a9e-4c3b-8d5f-1e2a3b4c5d6e"
}
}