Skip to main content
There are three ways to fetch companies:
For TypeScript, the GraphQL SDK gives you a fully typed client for these operations.
These operations 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