Endpoints
Get Leads
This endpoint provides a list of leads containing session IDs and user information such as name, email, and phone number.
POST
/
get-conversation-ids
/
{bot_id}
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
bot_id
string
requiredThe bot id associated with the trained chatbot model.
Response
200 - application/json
session_id
string
requiredThe unique ID of the lead.
created_at
string
requiredThe timestamp when the session was lead.
enduser_name
string
The name of the end user associated with the lead.
enduser_email
string
The email address of the end user associated with the lead.
enduser_phone
string
The phone number of the end user associated with the lead.
for_agent
boolean
A boolean flag that indicates whether the conversation has been transferred to a live agent.