Skip to main content
PUT
/
lead
/
{leadId}
/
instance
/
{botId}
Update a lead instance
curl --request PUT \
  --url https://api.closebot.com/lead/{leadId}/instance/{botId} \
  --header 'Content-Type: application/json' \
  --header 'X-CB-KEY: <api-key>' \
  --data '
{
  "followUpTime": "2023-11-07T05:31:56Z"
}
'

Authorizations

X-CB-KEY
string
header
required

CloseBot API Key Authorization

Path Parameters

leadId
string
required

The ID of the lead to update.

botId
string
required

The ID of the bot to update.

Body

The update instance input.

followUpTime
string<date-time> | null

The follow up time of the instance

Response

200

Success