Skip to main content
GET
List Companies

Overview

This endpoint allows you to retrieve a list of companies from Cometly. Results are cursor-paginated for efficient data retrieval and ordered by creation date (newest first).

Query Parameters

Optional Parameters

integer
default:"200"
Number of companies to return per page. Minimum: 1, Maximum: 5000
string
Pagination cursor from a previous response. Use this to fetch the next page of results.
string
Filter companies created on or after this date. Format: YYYY-MM-DD HH:MM:SS. The timestamp is interpreted in your space’s timezone. Example: 2024-01-01 00:00:00
string
Filter companies created on or before this date. Format: YYYY-MM-DD HH:MM:SS. Must be after start_date. The timestamp is interpreted in your space’s timezone. Example: 2024-01-31 23:59:59

Response

Success Response

The response follows Laravel’s cursor pagination structure:
array
Array of company objects. Each company includes:
  • id (integer): The unique identifier of the company
  • domain (string | null): The domain associated with this company. null if the company was created from a customer-supplied external ID with no associated email domain, or if its domain claim was later released via Update Company.
  • external_id (string | null): The customer-supplied external ID associated with this company (your own account/company identifier). null if the company was created from an email domain alone, or if its external ID claim was later released via Update Company.
string
The base URL path for the endpoint
integer
Number of items per page
string | null
Cursor for the next page of results. null if there are no more pages.
string | null
Full URL for the next page of results. null if there are no more pages.
string | null
Cursor for the previous page of results. null if on the first page.
string | null
Full URL for the previous page of results. null if on the first page.

Error Response

string
Error description explaining what went wrong

Example Requests

Status Codes

Notes

  • Rate Limit: This endpoint has a limit of 15 requests per minute per Space. See Rate Limiting for details.
  • Results are ordered by creation date in descending order (newest first)
  • Cursor pagination is used for efficient traversal of large result sets
  • Date filtering is optional. When omitted, all companies are returned.
  • Dates are provided in your space’s configured timezone and converted to UTC for querying
  • Only company id, domain, and external_id fields are returned in the response — name is not included in the list view; use Get Company to retrieve it