Skip to content
Docs menu

Companies

Practice-side accounts: referring offices, payers, employers, insurance plans.

The company object

Companies don't hold PHI — they're contact-of-contact records. They participate in deals and tickets, and contacts can be associated to a primary company. sizeRange is one of SOLO, SMALL, MEDIUM, LARGE, ENTERPRISE.

POST/api/companiesBearer token

Create a company

Add a new company to the workspace.

Required scopes:contacts.write

Request body

NameTypeDescription
namerequiredstringCompany display name. 1–200 chars.
domainstringPrimary web domain — used for auto-association.
industrystringFree-form industry label.
sizeRangestringBucketed employee count.
addressLine1stringStreet address.
citystringCity.
statestringState / region.
zipstringPostal code.
countrystringCountry.
phonestringMain phone.
websitestringWebsite URL.
ownerIdstringOwning user. Defaults to the caller.

Request body

JSON
{ "name": "Northwell Internal Medicine", "domain": "northwell.com" }

Responses

  • 201 CreatedCreated.
    example
    {
      "id": "cmp_1f8s7p…",
      "name": "Northwell Internal Medicine",
      "domain": "northwell.com",
      "industry": "Healthcare",
      "sizeRange": "MEDIUM",
      "phone": "+15555550100",
      "city": "Hempstead",
      "state": "NY",
      "ownerId": "usr_8h2c3p…",
      "createdAt": "2026-05-18T14:00:00Z"
    }
  • 422 Unprocessable EntityValidation failed.

Code samples

Shell
curl -X POST https://app.contactfollowup.com/api/companies \
  -H "Authorization: Bearer $HEARTHNOTE_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "name": "Northwell Internal Medicine", "domain": "northwell.com" }'
GET/api/companiesBearer token

List companies

Search and list. Returns up to 200 companies.

Required scopes:contacts.read

Query parameters

NameTypeDescription
qstringSearch over name and domain.
ownerIdstringFilter by owning user.

Responses

  • 200 OKMatching companies.
    example
    { "companies": [{
      "id": "cmp_1f8s7p…",
      "name": "Northwell Internal Medicine",
      "domain": "northwell.com",
      "industry": "Healthcare",
      "sizeRange": "MEDIUM",
      "phone": "+15555550100",
      "city": "Hempstead",
      "state": "NY",
      "ownerId": "usr_8h2c3p…",
      "createdAt": "2026-05-18T14:00:00Z"
    }] }

Code samples

Shell
curl -X GET https://app.contactfollowup.com/api/companies \
  -H "Authorization: Bearer $HEARTHNOTE_TOKEN" \
  -H "Content-Type: application/json"