Amocrm Rocket icon

Amocrm Rocket

Consume AmoCRM API

Company → Get Companies List

AI-generated

Summary

Fetch companies from Amocrm with optional filters, pagination, and relation expansion.

Inputs

  • authentication (required) — Authentication method. Supports Long Lived Token or OAuth2 (default: OAuth2).
  • returnAll — Whether to return all results across all pages without pagination limits.
  • filter — Collection of filter options. Available: query (string search), id (comma-separated IDs), name (comma-separated names), created_by (multiOptions user list), updated_by (multiOptions user list), responsible_user_id (multiOptions user list).
  • options — Configuration collection. Includes proxy (string URL), sort (fixedCollection with sort_by: Date Update/ID, sort_order: Ascending/Descending), and with (multiOptions: catalog_elements, leads, customers, contacts to expand related resources).
  • page — Page number for pagination. Relevant when returnAll is false. Default: 1, minimum: 1.
  • limit — Maximum number of results to return. Default: 50, minimum: 1.

Output shape

Array of company objects matching the specified filter, pagination, and expansion criteria.

When returnAll is false, pagination is controlled by page and limit. The with parameter expands specified related resources (deals, leads, customers, contacts) in the response.

Examples

Example 1: List up to 20 companies sorted by creation date descending.

authentication: oAuth2, limit: 20, options.sort.sort_by: created_at, options.sort_order: desc

Links

Discussion