Get a customer or lead

Get one contact with its addresses and activities.

GET https://cotlet.dev/api/v1/method-crm/contacts/{contact_id}/customer

read

Returns the billing and shipping addresses, assigned user, tags, balance and the open and closed activities of the contact. For a lead it also returns the lead status, rating and source. It does not return payment card data.

Parameters

Parameters: get_customer
NameTypeDescription
contact_id string required string Contact ID from list_customers.

Request

cURL
curl https://cotlet.dev/api/v1/method-crm/contacts/contact_8c41d2/customer \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("method-crm", "get_customer", {"contact_id":"contact_8c41d2"})
Node.js
const result = await cotlet.call('method-crm', 'get_customer', {"contact_id":"contact_8c41d2"});
CLI
cotlet call method-crm get_customer --data '{"contact_id":"contact_8c41d2"}'

Example response

JSON

{
  "contact_id": "C-2041",
  "name": "Ortega Kitchens",
  "type": "customer",
  "email": "billing@ortega-kitchens.example",
  "assigned_to": "Dana Whitfield",
  "balance": 4800,
  "open_activities": [],
  "closed_activities": [
    {
      "activity_id": "A-9012",
      "type": "Call",
      "status": "Completed",
      "start": "2026-10-02T10:00:00Z"
    }
  ]
}

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.