GET
/
v1
/
Outbound
/
{outboundId}
/
Lead
/
PhoneNumber
/
{phoneNumber}
curl --request GET \
  --url https://api.nlpearl.ai/v1/Outbound/{outboundId}/Lead/PhoneNumber/{phoneNumber} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "externalId": "<string>",
  "phoneNumber": "<string>",
  "timeZone": "<string>",
  "status": 123,
  "created": "2023-11-07T05:31:56Z",
  "callsId": [
    "<string>"
  ],
  "lastCall": {
    "id": "<string>",
    "startTime": "2023-11-07T05:31:56Z",
    "pearlId": "<string>",
    "status": 123,
    "from": "<string>",
    "name": "<string>",
    "collectedData": {
      "transcript": [
        {
          "role": 123,
          "content": "<string>",
          "startTime": 123,
          "endTime": 123
        }
      ],
      "collectedInfos": [
        {
          "id": "<string>",
          "name": "<string>",
          "value": "<any>"
        }
      ]
    },
    "summary": "<string>",
    "duration": 123,
    "recording": "<string>",
    "tags": [
      "<string>"
    ]
  },
  "callData": {},
  "collectedData": {}
}

Authorizations

Authorization
string
header
required

Specify the authorization token.

For more information, check out the Authorization Guide.

Path Parameters

outboundId
string
required

The unique identifier of the outbound campaign.

phoneNumber
string
required

The phone number of the lead to retrieve.

Response

200
text/plain

Details of the specific lead.

The response is of type object.