Authorizations
Your authorization key header
Body
Configuration for the OpenAI bot instance
Indicates if the bot is enabled
The OpenAI credentials ID
The type of bot (either 'assistant' or 'chatCompletion')
assistant
, chatCompletion
The OpenAI model to use for chat completion (e.g., 'gpt-4o')
The ID of the assistant (only if 'botType' is 'assistant')
The function URL that the bot will call
The system messages to define the assistant behavior
Messages to be sent by the assistant
Messages sent by the user
Maximum number of tokens for the bot's responses
The trigger type for the bot (e.g., 'keyword' or 'all')
all
, keyword
The operator to match the trigger type
equals
, contains
, startsWith
, endsWith
, regex
, none
The value that triggers the bot (e.g., 'teste')
The expiration time of the bot instance in minutes
Keyword to end the bot interaction
Time in milliseconds to delay the message
Message to send if the bot doesn't recognize the input
Indicates if the bot should listen for messages from the user
Indicates if the bot can be stopped by the user
Indicates if the bot session should remain open
Time in milliseconds for the debounce delay
List of JIDs to ignore