curl --request POST \
--url https://{your-subdomain}.neetocrm.com/api/external/v1/leads \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <x-api-key>' \
--data '
{
"lead": {
"name": "Eve",
"status": "open",
"company_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"contact_id": 1,
"owner_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"tag_ids": [
"a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"b2c3d4e5-f6a7-8901-bcde-f12345678901"
]
}
}
'{
"lead": {
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"name": "Eve",
"status": "open",
"unique_number": "L-001",
"email": "eve@example.com",
"phone_number": "",
"contact_name": "Eve",
"contact_id": null,
"company_name": null,
"company_id": null,
"owner": null,
"tags": [],
"created_at": "2025-03-15T10:30:00.000Z",
"updated_at": "2025-03-15T10:30:00.000Z"
}
}Create a new lead in your workspace.
curl --request POST \
--url https://{your-subdomain}.neetocrm.com/api/external/v1/leads \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <x-api-key>' \
--data '
{
"lead": {
"name": "Eve",
"status": "open",
"company_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"contact_id": 1,
"owner_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"tag_ids": [
"a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"b2c3d4e5-f6a7-8901-bcde-f12345678901"
]
}
}
'{
"lead": {
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"name": "Eve",
"status": "open",
"unique_number": "L-001",
"email": "eve@example.com",
"phone_number": "",
"contact_name": "Eve",
"contact_id": null,
"company_name": null,
"company_id": null,
"owner": null,
"tags": [],
"created_at": "2025-03-15T10:30:00.000Z",
"updated_at": "2025-03-15T10:30:00.000Z"
}
}{your-subdomain} with your workspace’s subdomain. X-Api-Key is used to authenticate requests using an API key. Provide your API key in this header to access protected endpoints. Refer to Authentication for more information.
Hide child attributes
Lead name.
"Eve"
Lead status.
open, converted, archived "open"
Unique identifier of the associated company.
"a1b2c3d4-e5f6-7890-abcd-ef1234567890"
Associated contact ID.
1
Unique identifier of the owner.
"a1b2c3d4-e5f6-7890-abcd-ef1234567890"
Array of tag IDs.
[
"a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"b2c3d4e5-f6a7-8901-bcde-f12345678901"
]Lead created successfully.
Hide child attributes
Unique identifier for the lead.
Name of the lead.
Current status of the lead.
open, converted, archived Auto-generated unique number for the lead.
Email address of the lead (from associated contact).
Phone number of the lead (from associated contact).
Name of the associated contact.
Unique identifier of the associated contact.
Name of the associated company.
Unique identifier of the associated company.
Timestamp when the lead was created.
Timestamp when the lead was last updated.