POST

https://{server-url}

/
typebot
/
set
/
{instance}
curl --request POST \
  --url https://{server-url}/typebot/set/{instance} \
  --header 'Content-Type: application/json' \
  --header 'apikey: <api-key>' \
  --data '{
  "enabled": true,
  "url": "<string>",
  "typebot": "<string>",
  "expire": 123,
  "keyword_finish": "<string>",
  "delay_message": 123,
  "unknown_message": "<string>",
  "listening_from_me": true
}'

Authorizations

apikey
string
headerrequired

Your authorization key header

Path Parameters

instance
string
required

ID of the instance to connect

Body

application/json
enabled
boolean
url
string

Typebot URL

typebot
string

Typebot name

expire
integer

Time to expire the sessions

keyword_finish
string

Key word to finish typebot flow

delay_message
integer

Default delay for text messages

unknown_message
string

'Unknown message' error message

listening_from_me
boolean

Start typebot for your own messages