Create a lead

Add a lead to a pipeline stage, optionally with a contact.

POST https://cotlet.dev/api/v1/kommo/pipelines/{pipeline_id}/leads

write Confirm

Creates the lead as the New lead button does and returns its lead_id and the card URL. A Digital Pipeline trigger on the stage fires for the new lead, so it can start a Salesbot or send an email. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: create_lead
NameTypeDescription
name string required string Lead name.
pipeline_id integer required integer Pipeline ID from list_pipelines.
stage_id integer integer Stage ID from list_pipelines. Default is the first stage.
sale integer integer Sale amount in the account currency.
responsible_user_id integer integer Owner of the lead. Default is you.
tags array array Tag names to add.
contact_name string string Creates and links a contact with this name.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/kommo/pipelines/8210123/leads \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name":"Dental clinic website","stage_id":71000002,"sale":4800,"responsible_user_id":9102334,"tags":["website"],"contact_name":"Tom Becker"}'
Python
result = client.call("kommo", "create_lead", {"name":"Dental clinic website","pipeline_id":8210123,"stage_id":71000002,"sale":4800,"responsible_user_id":9102334,"tags":["website"],"contact_name":"Tom Becker"})
Node.js
const result = await cotlet.call('kommo', 'create_lead', {"name":"Dental clinic website","pipeline_id":8210123,"stage_id":71000002,"sale":4800,"responsible_user_id":9102334,"tags":["website"],"contact_name":"Tom Becker"});
CLI
cotlet call kommo create_lead --data '{"name":"Dental clinic website","pipeline_id":8210123,"stage_id":71000002,"sale":4800,"responsible_user_id":9102334,"tags":["website"],"contact_name":"Tom Becker"}'

Example response

JSON

{
  "lead_id": 24519010,
  "name": "Dental clinic website",
  "pipeline_id": 8210123,
  "stage": "Contacted",
  "url": "https://yourcompany.kommo.com/leads/detail/24519010",
  "created_at": "2026-10-20T09:15:00+02:00"
}

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.