Objects
List deals
List deals with cursor pagination and optional properties, associations, and search filters.
Overview
Use this endpoint to read deals in pages. Default deal properties include name, amount, currency, pipeline, and stage. It requires public api oauth access token authentication and the crm.deals.read scope.
/api/crm/objects/dealscURL
GETcurl --request GET \ --url 'https://crm.notifyy.io/api/crm/objects/deals?properties=name%2Camount%2Ccurrency%2Cpipeline%2Cstage&associations=company%2Ccontact&search=enterprise&limit=25' \ --header 'Authorization: Bearer nfy_public_api_access_token'Sample Request Body
Sample Response
{ "success": true, "message": "Deals retrieved successfully", "data": { "deals": [ { "id": 55, "properties": { "name": "Enterprise Renewal", "amount": "12000", "currency": "USD", "pipeline": "sales_pipeline", "stage": "proposal_sent" }, "associations": { "company": [ { "id": "456", "type": "deal_to_company" } ], "contact": [ { "id": "789", "type": "deal_to_contact" } ] } } ], "pagination": { "nextCursor": "opaque-cursor", "hasMore": true } }}Status Codes
| Code | Description |
|---|---|
| 200 | Deals 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.
Example: name,amount,currency,pipeline,stage
Comma-separated associated object types to include.
Example: company,contact
Search string forwarded to the CRM deal query service.
Example: enterprise
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. Example: name,amount,currency,pipeline,stage |
associations string | OptionalComma-separated associated object types to include. Example: company,contact |
search string | OptionalSearch string forwarded to the CRM deal query service. Example: enterprise |
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
List of matching deals.
| Object | Description |
|---|---|
data.deals object[] | List of matching deals. |