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

Search Deals

Fuzzy search across deals and their associated customer contact info, enriched with weighted pipeline values.

GET/api/v1/deals/search

Query Parameters

2 parameters
qstringrequired

Search query matching deal title or associated contact name/phone

limitnumberrequired

Max results (default: 20, max: 100)

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/search?q=Enterprise" \
2 -H "Authorization: Bearer YOUR_API_KEY"

Was this endpoint guide helpful?

Previous Endpoint
Restore Deal
Next Endpoint
Export Deals (CSV / JSON)
© 2026 Chatofy Cloud Platform. All rights reserved.
1curl -X GET "https://app.chatofy.in/api/v1/deals/search?q=Enterprise" \
2 -H "Authorization: Bearer YOUR_API_KEY"
200 OKapplication/json
1{
2 "success": true,
3 "data": [
4 {
5 "id": "d1111111-2222-3333-4444-555555555555",
6 "title": "Enterprise WhatsApp Upgrade",
7 "value": 120000,
8 "value_weighted": 84000,
9 "currency": "INR",
10 "status": "open",
11 "contact": {
12 "id": "c1111111-2222-3333-4444-555555555555",
13 "phone_number": "919876543210",
14 "display_name": "Aarav Sharma"
15 },
16 "pipeline_stages": {
17 "id": "s1111111",
18 "name": "Proposal Sent",
19 "probability": 70
20 },
21 "_match": {
22 "score": 0.85,
23 "matched_on": "title"
24 }
25 }
26 ],
27 "message": "Found 1 deals matching \"Enterprise\"",
28 "query": "Enterprise",
29 "pagination": {
30 "total": 1,
31 "limit": 20,
32 "offset": 0
33 }
34}