cURL
curl --request GET \ --url https://crm.uservox.ai/api/v1/leads/get \ --header 'Authorization: Bearer <token>'
{ "success": true, "data": { "_id": "<string>", "name": "<string>", "phone": "<string>", "email": "<string>", "projectId": "<string>", "processId": "<string>", "referenceId": "<string>", "currentState": "<string>", "lastDisposition": "<string>", "metadata": {}, "createdAt": "<string>", "updatedAt": "<string>", "activities": [ {} ] } }
Retrieve a single lead with all its activities
masked=false
true
Show Lead Properties
leadId
referenceId
{ "success": false, "error": "Either leadId or referenceId is required" }
projectId
processId
{ "success": false, "error": "projectId and processId are required when using referenceId" }
{ "success": false, "error": "Lead with ID <leadId> not found" } { "success": false, "error": "Lead with referenceId <referenceId> not found" }