Create lead

Add a lead with name, email, company and status.

POST https://cotlet.dev/api/v1/copper-crm/leads

write Confirm

Adds a lead the way Add New > Add Lead does. Only the name is required. Leads must be switched on in the workspace. The lead is visible to your team. Search with list_leads and list_people first to avoid duplicates. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: create_lead
NameTypeDescription
name string required string Full name of the lead.
email string string Email address.
company_name string string Company the lead works for.
status string string Lead Status name, e.g. New or Open.
description string string Extra details that have no field of their own.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/copper-crm/leads \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name":"Jane Doe"}'
Python
result = client.call("copper-crm", "create_lead", {"name":"Jane Doe"})
Node.js
const result = await cotlet.call('copper-crm', 'create_lead', {"name":"Jane Doe"});
CLI
cotlet call copper-crm create_lead --data '{"name":"Jane Doe"}'

Example response

JSON

{
  "lead_id": "52711477",
  "name": "Omar Haddad",
  "status": "New",
  "company_name": "Cedar Labs",
  "url": "https://app.copper.com/companies/leads/52711477"
}

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.