Skip to main content
POST
/
bot
/
{id}
/
save
Save a bot
curl --request POST \
  --url https://api.closebot.com/bot/{id}/save \
  --header 'Content-Type: application/json' \
  --header 'X-CB-KEY: <api-key>' \
  --data '
{
  "botSteps": "<unknown>"
}
'
{
  "version": "<string>",
  "invalidPaths": [
    "<string>"
  ],
  "message": "<string>"
}

Authorizations

X-CB-KEY
string
header
required

CloseBot API Key Authorization

Path Parameters

id
string
required

The bot ID.

Body

botSteps
any

Response

Success

version
string | null
invalidPaths
string[] | null
message
string | null