Skip to main content
PUT
/
bot
/
{botId}
/
testSession
/
{leadId}
Update a test session
curl --request PUT \
  --url https://api.closebot.com/bot/{botId}/testSession/{leadId} \
  --header 'Content-Type: application/json' \
  --header 'X-CB-KEY: <api-key>' \
  --data '
{
  "mimicSourceId": "<string>"
}
'
{
  "sessionId": "<string>"
}

Authorizations

X-CB-KEY
string
header
required

CloseBot API Key Authorization

Path Parameters

leadId
string
required

The lead ID.

botId
string
required

Body

The update session input.

mimicSourceId
string | null

Response

Success

sessionId
string | null