Skip to main content
Using TypeScript? Check out our GraphQL SDK for a fully typed client.
You can get all companies you’ve interacted with in your workspace using the companies query. This endpoint supports Pagination. For this query you need the following permissions:
  • company:read
Query
query getCompanies($cursor: String!) {
  companies(after: $cursor, first: 50) {
    edges {
      node {
        id
        name
        logoUrl
        domainName
      }
    }
    pageInfo {
      hasPreviousPage
      hasNextPage
      startCursor
      endCursor
    }
  }
}
Variables
{
  "cursor": "eyJjb21wYW5pZXMubmFtZSI6IuyYpOuIhOydtCIsImNvbXBhbmllcy5pZCI6ImNvXzAxSFJSTVJQRVJaQ0s0MkhUUEQ0SlE1N05CIn0"
}