GET
/
leads
/
{leadId}
curl --request GET \
  --url https://api.attent.app/v1/leads/{leadId} \
  --header 'x-api-key: <api-key>'
{
  "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

x-api-key
string
header
required

Path Parameters

leadId
string
required

The ID of the lead to fetch

Response

200
application/json

Lead details fetched successfully.

The response is of type object.