OpenAI Controller

Change OpenAI Bot Status

Changed on

Changes the status of the OpenAI bot instance.

post/openai/changeStatus/{instance}

Request

  • Base URL
    https://evolution-example
  • URL
    https://evolution-example/openai/changeStatus/{instance}
  • Auth
    API key in header apikey

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

Changes