curl --request POST \
--url https://api.closebot.com/bot/{botId}/testSession/message \
--header 'Content-Type: application/json' \
--header 'X-CB-KEY: <api-key>' \
--data '
{
"leadId": "<string>",
"message": "<string>"
}
'curl --request POST \
--url https://api.closebot.com/bot/{botId}/testSession/message \
--header 'Content-Type: application/json' \
--header 'X-CB-KEY: <api-key>' \
--data '
{
"leadId": "<string>",
"message": "<string>"
}
'