Ant CRM API
  1. Leads
Ant CRM API
  • Leads
    • Create Lead
      POST
  1. Leads

Create Lead

POST
/api/{{version}}/leads/

Request

Authorization
Send your HTTP requests with an
Authorization
header that contains the word Basic followed by a space and a base64-encoded string username:password
Example:
Authorization: Basic *****************
Body Params application/jsonRequired

Examples

Responses

🟢200Success
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'https://api.antcrm.co/api/v1/leads/' \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "client": {
        "is_converted": false,
        "timezone": "Asia/Calcutta",
        "last_name": "Raj",
        "first_name": "Shan",
        "email": "shan@copilot.vom",
        "mobile": "918276668668",
        "source": "facebook",
        "status": "ecbafe7e-0721-4d21-bba0-6298c52011a9",
        "custom_fields": [
            {
                "name": "workemail",
                "value": "hello@workaxis.in"
            }
        ]
    }
}'
Response Response Example
{
    "error": false,
    "data": {
        "id": "5a462939-3b66-4daf-b3f5-332f7c0737e2",
        "client": {
            "id": "02c88439-e6f1-4622-8cbf-26e311876ded",
            "first_name": "Shan",
            "last_name": "Raj",
            "email": "shan@copilot.com",
            "mobile": "918276668668",
            "user": {
                "id": "702e880b-a350-441a-a2f5-dc3a33afa53a",
                "email": "staff@work.com",
                "first_name": "Staff",
                "last_name": "Sales",
                "mobile": null,
                "username": "salesstaff",
                "profile_pic": "https://antcrmprod.s3.amazonaws.com/private/profile_pictures/users/profile_pic.jpg"
            },
            "timezone": "Asia/Calcutta",
            "is_converted": false,
            "custom_fields_data": [
                {
                    "name": "workemail",
                    "custom_name": "workemail",
                    "value": "hello@workaxis.in"
                }
            ],
            "created_by": null,
            "updated_by": null,
            "unread_notifications": {}
        },
        "status": {
            "id": "172187e8-da5a-416a-b97b-60004b7424a4",
            "status": "new",
            "colour_code": "#77c5ad",
            "priority": 1
        },
        "has_appointment": false,
        "group": null,
        "is_staff_created": false,
        "created_by": null,
        "updated_by": null,
        "created_on": "2025-11-20T08:39:19.831399Z",
        "source": "facebook"
    }
}
Modified at 2026-01-21 10:38:01
Built with