Skip to main content

Get Lead

Look up a single lead by phone number. Returns the lead's profile fields along with its labels, lead stage, lead group, and assignee user.

The phone query parameter can be any phone number associated with the lead — primary or secondary. The lookup matches against the lead's full phone list.

Authentication Required

Requires the x-api-key header. See Overview for details.

HTTP Request

GET /enterprise/api/lead

Query Parameters

ParameterTypeRequiredDescription
phonestringYesAny phone number on the lead, in E.164 format.

Try it

Loading playground…

Code Examples

curl -X GET "https://prod-api.superfone.co.in/superfone/enterprise/api/lead?phone=%2B918000000001" \
-H "x-api-key: your_api_key_here"

Success Response

Status Code: 200 OK

{
"data": {
"id": 12345,
"org_id": 42,
"first_name": "Asha",
"last_name": "Kumar",
"email": ["asha@example.com"],
"website": null,
"business_name": "Acme Pvt Ltd",
"additional_info": null,
"city": "Bengaluru",
"deal_value": 50000,
"status": "ACTIVE",
"source": "website-form",
"source_type": "OTHERS",
"address": {
"text": null,
"additional": null,
"initials": null,
"latitude": null,
"longitude": null
},
"assignee_user_id": 678,
"lead_stage_id": 9,
"lead_group_id": 3,
"created_at": "2026-04-01T10:30:00.000Z",
"updated_at": "2026-05-12T08:15:00.000Z",
"phones": [
{ "phone": "+918000000001", "customer_id": 12345 },
{ "phone": "+918000000002", "customer_id": 12345 }
],
"labels": [
{
"id": 17,
"title": "Hot",
"colour": "#ff5722",
"text_colour": "#ffffff",
"status": "ACTIVE"
}
],
"lead_stage": {
"id": 9,
"title": "New Lead",
"org_id": 42,
"status": "ACTIVE",
"type": "INITIAL",
"position": 1
},
"lead_group": {
"id": 3,
"title": "Inbound",
"org_id": 42,
"status": "ACTIVE",
"type": null
},
"assignee_user": {
"id": 678,
"first_name": "Ravi",
"last_name": "Patel"
}
},
"message": "success"
}

Response Fields

FieldTypeDescription
idnumberInternal lead ID
org_idnumberAccount that owns the lead
first_namestring | nullFirst name
last_namestring | nullLast name
emailstring[] | nullEmail addresses
websitestring | nullWebsite
business_namestring | nullBusiness / company name
additional_infostring | nullFree-form notes
citystring | nullCity
deal_valuenumber | nullEstimated deal value
statusstring | nullLead status (typically ACTIVE)
sourcestring | nullFree-form source string
source_typestring | nullOne of the predefined source types
addressobjectAddress object (see upsert-lead)
assignee_user_idnumber | nullID of assigned team member
lead_stage_idnumber | nullID of attached lead stage
lead_group_idnumber | nullID of attached lead group
phonesobject[]All phone numbers belonging to the lead
labelsobject[]Labels attached to the lead
lead_stageobject | nullExpanded lead stage object
lead_groupobject | nullExpanded lead group object
assignee_userobject | nullExpanded assignee with id, first_name, last_name
created_atstringISO 8601 timestamp
updated_atstring | nullISO 8601 timestamp of last update

Error Responses

StatusMessageWhen it occurs
400Phone query parameter is requiredphone missing from query string
400Invalid phone numberphone is not a valid E.164 number
401UnAuthorized, Please Provide Valid API KeyMissing or invalid x-api-key
404Customer not foundNo lead in your account has this phone number

Example error

{
"message": "Customer not found"
}