Prospects
Get prospect details
Returns details of a specific prospect conversation
GET
/
prospects
/
{chatId}
curl --request GET \
--url https://api.kakiyo.com/v1/prospects/{chatId} \
--header 'Authorization: Bearer <token>'
{
"id": "chat_12345abcde",
"status": 2,
"qualification": "inProgress",
"paused": false,
"lastMessage": "2023-06-15T15:30:00Z",
"campaign": {
"id": "campaign_12345abcde",
"name": "Q2 Sales Outreach"
},
"prospect": {
"id": "prospect_12345abcde",
"name": "John Smith",
"url": "https://linkedin.com/in/johnsmith",
"headline": "VP of Sales at Acme Inc",
"location": {
"city": "San Francisco",
"country": "United States"
},
"about": "Experienced sales leader with over 15 years in the software industry..."
},
"messages": [
{
"role": "assistant",
"content": "Hi John, I noticed you're leading the sales team at Acme Inc. I wanted to reach out because we've been helping companies like yours improve their response rates on cold outreach. Would you be open to a quick chat about how we might be able to help?",
"date": "2023-06-15T10:30:00Z"
}
]
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
ID of the chat/conversation
Response
200
application/json
Prospect details
The response is of type object
.
curl --request GET \
--url https://api.kakiyo.com/v1/prospects/{chatId} \
--header 'Authorization: Bearer <token>'
{
"id": "chat_12345abcde",
"status": 2,
"qualification": "inProgress",
"paused": false,
"lastMessage": "2023-06-15T15:30:00Z",
"campaign": {
"id": "campaign_12345abcde",
"name": "Q2 Sales Outreach"
},
"prospect": {
"id": "prospect_12345abcde",
"name": "John Smith",
"url": "https://linkedin.com/in/johnsmith",
"headline": "VP of Sales at Acme Inc",
"location": {
"city": "San Francisco",
"country": "United States"
},
"about": "Experienced sales leader with over 15 years in the software industry..."
},
"messages": [
{
"role": "assistant",
"content": "Hi John, I noticed you're leading the sales team at Acme Inc. I wanted to reach out because we've been helping companies like yours improve their response rates on cold outreach. Would you be open to a quick chat about how we might be able to help?",
"date": "2023-06-15T10:30:00Z"
}
]
}
Assistant
Responses are generated using AI and may contain mistakes.