Início
Instances
Settings
Send Message
Chat Controller
Profile Settings
Group Controller
- POSTCreate Group
- POSTUpdate Group Picture
- POSTUpdate Group Subject
- POSTUpdate Group Description
- GETFetch Invite Code
- POSTRevoke Invite Code
- POSTSend Group Invite
- GETFind Group by Invite Code
- GETFind Group by JID
- GETFetch All Groups
- GETFind Group Members
- POSTUpdate Group Members
- POSTUpdate Group Setting
- POSTToggle Ephemeral
- DELLeave Group
Typebot
OpenAI
Evolution Bot
Dify
Flowise
Chatwoot
Websocket
RabbitMQ
OpenAI
Settigns config OpenAI
POST
/
openai
/
settings
/
{instance}
curl --request POST \
--url https://{server-url}/openai/settings/{instance} \
--header 'Content-Type: application/json' \
--header 'apikey: <api-key>' \
--data '{
"openaiCredsId": "<string>",
"expire": 123,
"keywordFinish": "<string>",
"delayMessage": 123,
"unknownMessage": "<string>",
"listeningFromMe": true,
"stopBotFromMe": true,
"keepOpen": true,
"debounceTime": 123,
"ignoreJids": [
"<string>"
],
"openaiIdFallback": "<string>"
}'
{
"success": true,
"message": "<string>"
}
Authorizations
Your authorization key header
Path Parameters
Name of the instance
Body
application/json
Configuration for updating the OpenAI bot settings
The body is of type object
.
Response
200
application/json
Successfully updated OpenAI bot settings
The response is of type object
.
curl --request POST \
--url https://{server-url}/openai/settings/{instance} \
--header 'Content-Type: application/json' \
--header 'apikey: <api-key>' \
--data '{
"openaiCredsId": "<string>",
"expire": 123,
"keywordFinish": "<string>",
"delayMessage": 123,
"unknownMessage": "<string>",
"listeningFromMe": true,
"stopBotFromMe": true,
"keepOpen": true,
"debounceTime": 123,
"ignoreJids": [
"<string>"
],
"openaiIdFallback": "<string>"
}'
{
"success": true,
"message": "<string>"
}
Assistant
Responses are generated using AI and may contain mistakes.