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>"
}
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>"
}
Your authorization key header
Name of the instance
Body for changing the status of the OpenAI bot
The body is of type object
.
Successfully changed the bot status
The response is of type object
.