Create a company
Create a company. Values are trimmed; empty strings are stored as null.
POST
https://api.centerfy.ai/webhooks/inbound/companies Headers
| Header | Required | Value | Description |
|---|---|---|---|
x-api-key | Yes | your sub-account API key (cfy_…) | Authenticates the request; or use Authorization: Bearer <key>. |
Body parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
name | string | Yes | — | Company name (max 500 characters). |
website | string | null | No | — | Website URL. |
industry | string | null | No | — | Industry label. |
phone | string | null | No | — | Phone number (stored as given). |
email | string | null | No | — | Email address. |
address | string | null | No | — | Postal address. |
notes | string | null | No | — | Free-text notes. |
Request body
{
"name": "Acme Inc",
"website": "https://acme.example.com",
"industry": "Manufacturing",
"phone": "+14155550123",
"email": "[email protected]",
"address": "1 Example Way, San Francisco, CA"
}Example
curl -X POST "https://api.centerfy.ai/webhooks/inbound/companies" \
-H "x-api-key: $CENTERFY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Acme Inc",
"website": "https://acme.example.com",
"industry": "Manufacturing",
"phone": "+14155550123",
"email": "[email protected]",
"address": "1 Example Way, San Francisco, CA"
}' import { CenterfyClient } from "@centerfy/sdk";
const centerfy = new CenterfyClient({ apiKey: process.env.CENTERFY_API_KEY! });
const result = await centerfy.companies.create({
"name": "Acme Inc",
"website": "https://acme.example.com",
"industry": "Manufacturing",
"phone": "+14155550123",
"email": "[email protected]",
"address": "1 Example Way, San Francisco, CA"
});
console.log(result); centerfy companies create '{"name":"Acme Inc","website":"https://acme.example.com","industry":"Manufacturing","phone":"+14155550123","email":"[email protected]","address":"1 Example Way, San Francisco, CA"}' MCP tool: centerfy_companies_create (see MCP server)
Response
{
"status": "success",
"company": {
"id": "5a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
"name": "Acme Inc",
"website": "https://acme.example.com",
"industry": "Manufacturing",
"phone": "+14155550123",
"email": "[email protected]",
"address": "1 Example Way, San Francisco, CA",
"notes": null,
"created_at": "2026-10-01T10:00:00.000Z",
"updated_at": "2026-10-01T10:00:00.000Z"
}
}Errors
400— if name is missing or empty.
Notes
Returns 201. The response does not include contact_count.