Skip to main content
Using TypeScript? Check out our GraphQL SDK for a fully typed client.
We provide a number of methods for fetching companies:
  1. Get companies (To fetch more than one company at a time)
  2. Get company by ID
  3. Search for companies
All of these endpoints require the following permissions:
  • company:read

Get companies

You can get all companies you’ve interacted with in your workspace using the companies query. This endpoint supports Pagination.
Query
Variables

Get company by ID

If you already have the ID of a company you can fetch it directly using the company query.
Query
Variables

Search for companies

The searchCompanies query performs a case-insensitive partial match across a company’s name and domain. The search term must be at least 2 characters long.
Query
Variables