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
Change status OpenAI
POST
/
openai
/
changeStatus
/
{instance}
curl --request POST \
--url https://{server-url}/openai/changeStatus/{instance} \
--header 'Content-Type: application/json' \
--header 'apikey: <api-key>' \
--data '{
"remoteJid": "<string>",
"status": "opened"
}'
{
"success": true,
"message": "<string>"
}
Authorizations
Your authorization key header
Path Parameters
Name of the instance
Body
application/json
Body for changing the status of the OpenAI bot
The body is of type object
.
Response
200
application/json
Successfully changed the bot status
The response is of type object
.
curl --request POST \
--url https://{server-url}/openai/changeStatus/{instance} \
--header 'Content-Type: application/json' \
--header 'apikey: <api-key>' \
--data '{
"remoteJid": "<string>",
"status": "opened"
}'
{
"success": true,
"message": "<string>"
}