POST
/
typebot
/
update
/
:typebotId
/
{instance}
Change Typebot Status
curl --request POST \
  --url https://{server-url}/typebot/update/:typebotId/{instance} \
  --header 'Content-Type: application/json' \
  --header 'apikey: <api-key>' \
  --data '{
  "enabled": true,
  "url": "<string>",
  "typebot": "<string>",
  "expire": 123,
  "keywordFinish": "<string>",
  "delayMessage": 123,
  "unknownMessage": "<string>",
  "listeningFromMe": true,
  "stopBotFromMe": true,
  "keepOpen": true,
  "debounceTime": 123,
  "triggerType": "<string>",
  "triggerOperator": "<string>",
  "triggerValue": "<string>"
}'

Authorizations

apikey
string
header
required

Your authorization key header

Path Parameters

instance
string
required

Name of the instance

typebotId
string
required

ID of the typebot

Body

application/json
enabled
boolean
required

Enable typebot

url
string
required

Url of typebot

typebot
string
required

Nmae typebot

expire
number
required

Time to expire session

keywordFinish
string
required

Keyword to finished session

delayMessage
number
required

Delay when the bot send message

unknownMessage
string
required

Unrecognized message

listeningFromMe
boolean
required

Listening message for me

stopBotFromMe
boolean
required

Stop bot when I send message

keepOpen
boolean
required

Keep session open

debounceTime
number
required

The timestamp of the message.

triggerType
string
required

All or keyword

triggerOperator
string
required

Operator logic, ex: contains, equals, startsWith, endsWith, regex

triggerValue
string
required

Ex: evolution