v46

latestOpenAPI 3.0.3raw.githubusercontent.com2025-05-151340367.2 KB
OpenAI Controller

Change OpenAI Bot Status

Changes the status of the OpenAI bot instance.

post/openai/changeStatus/{instance}

Path parameters

instancestring required

Name of the instance

Request body

remoteJidstring required

The JID (Jabber ID) of the remote contact

status'opened' | 'paused' | 'closed' required

Status of the bot instance. Possible values: 'opened', 'paused', 'closed'

Response

Successfully changed the bot status

successboolean

Indicates if the status change was successful

messagestring

Details about the status change operation