POST
/
get-conversation-ids
/
{bot_id}
curl --request POST \
  --url https://api.public.chatnode.ai/v1/get-conversation-ids/{bot_id} \
  --header 'Authorization: Bearer <token>'
[
  {
    "session_id": "aki56d7-1719768767426",
    "created_at": "2024-06-30T17:32:53.518+00:00",
    "enduser_name": "John Doe",
    "enduser_email": "john@doe.com",
    "enduser_phone": "+13434346567",
    "for_agent": false
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

bot_id
string
required

The bot id associated with the trained chatbot model.

Response

200
application/json
Conversation list response.
session_id
string
required

The unique ID of the lead.

Example:

"aki56d7-1719768767426"

created_at
string
required

The timestamp when the session was lead.

Example:

"2024-06-30T17:32:53.518+00:00"

enduser_name
string

The name of the end user associated with the lead.

Example:

"John Doe"

enduser_email
string

The email address of the end user associated with the lead.

Example:

"john@doe.com"

enduser_phone
string

The phone number of the end user associated with the lead.

Example:

"+13434346567"

for_agent
boolean

A boolean flag that indicates whether the conversation has been transferred to a live agent.

Example:

false