Get a deal

One deal with its age, last activity, account and contacts.

GET https://cotlet.dev/api/v1/freshsales/deals/{deal_id}

read

Returns the fields of the deal page: value, stage, pipeline, owner, expected close, age in days, created date and last activity date, with the account and the related contacts. The age counts from the creation date, so use last_activity_date to see whether a deal is quiet.

Parameters

Parameters: get_deal
NameTypeDescription
deal_id integer required integer Deal id from list_deals.

Request

cURL
curl https://cotlet.dev/api/v1/freshsales/deals/1 \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("freshsales", "get_deal", {"deal_id":1})
Node.js
const result = await cotlet.call('freshsales', 'get_deal', {"deal_id":1});
CLI
cotlet call freshsales get_deal --data '{"deal_id":1}'

Example response

JSON

{
  "deal_id": 7000388,
  "name": "Annual support plan",
  "amount": 12500,
  "stage": "Follow-up",
  "pipeline": "Sales pipeline",
  "owner": "Dana Reyes",
  "expected_close": "2026-09-30",
  "age_days": 41,
  "created_at": "2026-09-11",
  "last_activity_date": "2026-10-02",
  "account": "Harbor Dental",
  "contacts": [
    {
      "contact_id": 5100231,
      "name": "Priya Nair"
    }
  ]
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.