Evolution Bot Controller

Update Evolution Bot

Changed on

Update an existing Evolution Bot configuration.

put/evolutionBot/update/:evolutionBotId/{instance}

Request

  • Base URL
    https://evolution-example
  • URL
    https://evolution-example/evolutionBot/update/:evolutionBotId/{instance}
  • Auth
    API key in header apikey

Path parameters

evolutionBotIdstring required

ID of the Evolution Bot to update

instancestring required

Name of the instance

Request body

enabledboolean required

Enable or disable the Evolution Bot

apiUrlstring required

API URL for the bot

apiKeystring

API Key for authentication (optional)

triggerTypestring required

Trigger type, e.g., 'all' or 'keyword'

triggerOperatorstring required

Operator logic, e.g., 'contains', 'equals', 'startsWith', 'endsWith', 'regex'

triggerValuestring required

Trigger value, e.g., 'test'

expirenumber required

Expiration time for the session (in seconds)

keywordFinishstring required

Keyword to terminate the session

delayMessagenumber required

Delay time (in ms) for sending messages

unknownMessagestring required

Message displayed when an unknown input is received

listeningFromMeboolean required

Listen to messages sent by the bot owner

stopBotFromMeboolean required

Stop bot when the owner sends a message

keepOpenboolean required

Keep the session open after processing messages

debounceTimenumber required

Time delay to debounce messages

ignoreJidsstring[]

List of JIDs to ignore

Response

Evo bot atualizado com sucesso

messagestring

Example response

{
  "message": "Sucess"
}

Changes

    • info

      added the media type application/json for the response with the status

    • breaking

      removed the media type application/json for the response with the status

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status