ChatofyDevelopers
REST APIMCP Server (AI)New
API KeysWebhooks
Chatofy API
/
Getting Started
API Resources
API v1.0 Live
Developer APICRM Pipelines & DealsExport Deals (CSV / JSON)

Export Deals (CSV / JSON)

Exports pipeline deals with contact associations, stages, weighted valuations, and owners in RFC 4180 CSV with UTF-8 BOM or structured JSON.

GET/api/v1/deals/export

Query Parameters

6 parameters
formatstringrequired

Format: csv (default) or json

pipeline_iduuidrequired

Optional filter by pipeline UUID

stage_iduuidrequired

Optional filter by stage UUID

statusstringrequired

Optional filter by status: open, won, lost, or all

date_fromdatetimerequired

Start date filter (ISO 8601)

date_todatetimerequired

End date filter (ISO 8601)

Response Payload

200 OKapplication/json
statusstring

"1" = Success, "0" = Failure.

messageobject

The response data payload.

Code Snippets & Examples

1curl -X GET "https://app.chatofy.in/api/v1/deals/export?format=csv" \
2 -H "Authorization: Bearer YOUR_API_KEY"

Was this endpoint guide helpful?

Previous Endpoint
Search Deals
Next Endpoint
List Tasks
© 2026 Chatofy Cloud Platform. All rights reserved.
1curl -X GET "https://app.chatofy.in/api/v1/deals/export?format=csv" \
2 -H "Authorization: Bearer YOUR_API_KEY"
200 OKapplication/json
1Deal ID,Title,Contact Name,Phone Number,Email,Pipeline,Stage,Status,Value,Currency,Probability (%),Weighted Value,Owner ID,Expected Close Date,Lost Reason,Created At (IST),Updated At (IST)
2d1111111-2222-3333-4444-555555555555,Enterprise SLA,Aarav Patel,+919876543210,[email protected],Sales Pipeline,Qualified,OPEN,50000,INR,40,20000,,2026-11-15,,2026-10-26T10:00:00+05:30,2026-10-26T10:00:00+05:30