Skip to main content
GET
/
bot
/
{botId}
/
testSession
/
messages
/
{leadId}
Listen for messages
curl --request GET \
  --url https://api.closebot.com/bot/{botId}/testSession/messages/{leadId} \
  --header 'X-CB-KEY: <api-key>'

Authorizations

X-CB-KEY
string
header
required

CloseBot API Key Authorization

Path Parameters

botId
string
required

The bot ID.

leadId
string
required

The lead ID.

Response

200

Success