Skip to main content
GET/companies/

Get companies

You can return a list with all of your companies.

Returns up to 100 companies per page. To get the rest, follow next (see Response pagination).

The list is newest first and takes no filters: page is the only query parameter it reads. Others, such as page_size, ordering, name or custom_id, are ignored and return the whole list. A page past the last one answers 404 with "detail": "Invalid page.". To find one company, use Get company by custom id.

Request​

curl -X GET "https://<your_app_subdomain>.user.com/api/public/companies/" \
-H "Authorization: Token <your_64_char_api_key>" \
-H "Accept: */*; version=2"

Response examples​

{
"count": 1,
"next": null,
"previous": null,
"results": [
{
"id": 783,
"name": "Acme Inc",
"description": "Online store selling outdoor gear.",
"email": null,
"country": null,
"region": null,
"city": null,
"address": null,
"postal_code": null,
"size": 10,
"created_at": "2026-11-17T14:59:11.697345Z",
"updated_at": "2026-11-17T14:59:11.697369Z",
"tags": [],
"employees": [],
"phone_numbers": null,
"custom_id": "acme-inc",
"assigned_to": null
}
]
}

Response fields​

Fields returned in the 200 OK response body.

countinteger
Number of results across all pages. It can lag behind recent changes; see Response pagination.
nextstring (URL)nullable
URL of the next page of results. null on the last page.
previousstring (URL)nullable
URL of the previous page of results. null on the first page.
resultsarray of objects
Results on this page.
results[].idinteger
A unique identifier for the company which is given by User automatically.
results[].namestring
A company name.
results[].descriptionstringnullable
A description of a company.
results[].emailstring(email)nullable
A company’s email address.
results[].countrystringnullable
A company country of residence.
results[].regionstringnullable
A company region of residence.
results[].citystringnullable
A company city of residence.
results[].addressstringnullable
A company’s address.
results[].postal_codestringnullable
A postal code according to the address of your company..
results[].sizeintegernullable
An approximate size of your company.
results[].created_atstring (date-time)
A creation date of a company.
results[].updated_atstring (date-time)
A date of last company update.
results[].tagsarray
A list of tags associated with a company
results[].employeesarray of integer
IDs of the contacts who belong to the company.
results[].phone_numbersstring(list)nullable
A list of phone numbers.
results[].custom_idstringnullable
The unique identifier for the company which is provided by the client.
results[].assigned_tointegernullable
ID of the agent group the company is assigned to.
note

Errors that can come from any endpoint (401, 429, 500, 502, 504) are described in HTTP response codes.