v46

latestOpenAPI 3.0.3raw.githubusercontent.com2025-05-151340367.2 KB
Evolution Bot Controller

Create Evolution Bot

Create a new Evolution Bot configuration.

post/evolutionBot/create/{instance}

Path parameters

instancestring required

Name of the instance

Request body

enabledboolean required

Enable 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 criado com sucesso

messagestring

Example response

{
  "message": "Sucess"
}