API Reference
Leads
Leads
Get lead
Fetches details of a specific lead
GET
/
leads
/
{leadId}
Copy
curl --request GET \
--url https://api.attent.app/v1/leads/{leadId} \
--header 'x-api-key: <api-key>'
Copy
{
"firstName": "John",
"lastName": "Doe",
"phone": "+15555555555",
"customerProfile": "My Customer Profile",
"additionalInfo": {
"key1": "value1",
"key2": "value2"
},
"createdAt": "2024-05-17T21:09:13Z",
"hasReplied": true,
"isHot": true,
"isQualified": false,
"isUnsubscribed": false,
"isAiOn": true,
"tags": [
{
"name": "Tag 1",
"condition": "Condition 1"
},
{
"name": "Tag 2",
"condition": "Condition 2"
}
],
"summary": "Summary of the conversation with the lead."
}
Authorizations
Path Parameters
The ID of the lead to fetch
Response
200
application/json
Lead details fetched successfully.
The response is of type object
.
Copy
curl --request GET \
--url https://api.attent.app/v1/leads/{leadId} \
--header 'x-api-key: <api-key>'
Copy
{
"firstName": "John",
"lastName": "Doe",
"phone": "+15555555555",
"customerProfile": "My Customer Profile",
"additionalInfo": {
"key1": "value1",
"key2": "value2"
},
"createdAt": "2024-05-17T21:09:13Z",
"hasReplied": true,
"isHot": true,
"isQualified": false,
"isUnsubscribed": false,
"isAiOn": true,
"tags": [
{
"name": "Tag 1",
"condition": "Condition 1"
},
{
"name": "Tag 2",
"condition": "Condition 2"
}
],
"summary": "Summary of the conversation with the lead."
}
Assistant
Responses are generated using AI and may contain mistakes.