Objects
List companies
List companies with cursor pagination and optional properties, associations, and search filters.
Overview
Use this endpoint to read companies in pages. If properties is omitted, the default response includes name, domain, website, and lifecyclestage. Associations are returned only when you request them. It requires public api oauth access token authentication and the crm.companies.read scope.
/api/crm/objects/companiescURL
GETcurl --request GET \ --url 'https://crm.notifyy.io/api/crm/objects/companies?properties=name%2Cdomain&associations=contact&search=notifyy&limit=25' \ --header 'Authorization: Bearer nfy_public_api_access_token'Sample Request Body
Sample Response
{ "success": true, "message": "Companies retrieved successfully", "data": { "companies": [ { "id": 55, "properties": { "name": "Notifyy", "domain": "notifyy.io" }, "associations": { "contact": [ { "id": "456", "type": "company_to_contact" } ] } } ], "pagination": { "nextCursor": "opaque-cursor", "hasMore": true } }}Status Codes
| Code | Description |
|---|---|
| 200 | Companies were returned. |
Headers
Public API OAuth bearer token.
Example: Bearer nfy_public_api_access_token
| Object | Description |
|---|---|
Authorization string | RequiredPublic API OAuth bearer token. Example: Bearer nfy_public_api_access_token |
Query parameters
Comma-separated property internal names to return. Duplicate values are deduplicated.
Example: name,domain
Comma-separated associated object types to include.
Example: contact
Search string forwarded to the CRM company query service.
Example: notifyy
Opaque cursor returned by a previous list response.
Page size. Defaults to 50 and the maximum is 100.
Example: 25
| Object | Description |
|---|---|
properties string | OptionalComma-separated property internal names to return. Duplicate values are deduplicated. Example: name,domain |
associations string | OptionalComma-separated associated object types to include. Example: contact |
search string | OptionalSearch string forwarded to the CRM company query service. Example: notifyy |
cursor string | OptionalOpaque cursor returned by a previous list response. |
limit integer | OptionalPage size. Defaults to 50 and the maximum is 100. Example: 25 |
Response fields
Whether the request succeeded.
Example: true
Human-readable result message.
Example: Companies retrieved successfully
List of matching companies.
Company record ID.
Example: 55
Requested company properties keyed by internal name.
Associated records grouped by object type when requested.
Cursor for the next page. Pass it back exactly as received.
Whether another page is available.
Example: true
| Object | Description |
|---|---|
success boolean | Whether the request succeeded. Example: true |
message string | Human-readable result message. Example: Companies retrieved successfully |
data.companies object[] | List of matching companies. |
data.companies[].id integer | Company record ID. Example: 55 |
data.companies[].properties object | Requested company properties keyed by internal name. |
data.companies[].associations object | null | Associated records grouped by object type when requested. |
data.pagination.nextCursor string | null | Cursor for the next page. Pass it back exactly as received. |
data.pagination.hasMore boolean | Whether another page is available. Example: true |