PUT
/
evolutionBot
/
update
/
:evolutionBotId
/
{instance}
curl --request PUT \
  --url https://{server-url}/evolutionBot/update/:evolutionBotId/{instance} \
  --header 'Content-Type: application/json' \
  --header 'apikey: <api-key>' \
  --data '{
  "enabled": true,
  "apiUrl": "<string>",
  "apiKey": "<string>",
  "triggerType": "<string>",
  "triggerOperator": "<string>",
  "triggerValue": "<string>",
  "expire": 123,
  "keywordFinish": "<string>",
  "delayMessage": 123,
  "unknownMessage": "<string>",
  "listeningFromMe": true,
  "stopBotFromMe": true,
  "keepOpen": true,
  "debounceTime": 123,
  "ignoreJids": [
    "<string>"
  ]
}'
{
  "message": "Sucess"
}

Authorizations

apikey
string
header
required

Your authorization key header

Path Parameters

evolutionBotId
string
required

ID of the Evolution Bot to update

instance
string
required

Name of the instance

Body

application/json

Response

200 - application/json

Evo bot atualizado com sucesso

The response is of type object.