List companies

Lists the companies in your CRM, a page at a time. Archived companies are left out.

Search by name before creating a company, so you update the existing record instead of adding a duplicate.

Filtering

  • filter[name] — searches company names, matching from the start of any word and ignoring case. acme finds "Acme Corp"; so does corp.
Query Parameters
  • page[number]
    Type: integer
    min:  
    1

    Page to return, starting at 1.

  • page[size]
    Type: integer
    min:  
    1
    max:  
    100

    Records per page. Defaults to 25; anything above 100 is reduced to 100.

  • filter[name]
    Type: string

    Searches company names, matching from the start of any word and ignoring case.

Responses
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
Request Example for get/public-api/v1/companies
curl https://app.hellobonsai.com/public-api/v1/companies \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
  "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",
    "pagination": {
      "page": 1,
      "page_size": 25,
      "has_more": true
    }
  }
}