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
| Name | Type | Description |
|---|---|---|
| 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 -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"}' result = client.call("copper-crm", "create_lead", {"name":"Jane Doe"}) const result = await cotlet.call('copper-crm', 'create_lead', {"name":"Jane Doe"}); cotlet call copper-crm create_lead --data '{"name":"Jane Doe"}' Example response
{
"lead_id": "52711477",
"name": "Omar Haddad",
"status": "New",
"company_name": "Cedar Labs",
"url": "https://app.copper.com/companies/leads/52711477"
}