---
title: "Change OpenAI Bot Status"
method: POST
path: "/openai/changeStatus/{instance}"
tags: ["OpenAI Controller"]
---

# Change OpenAI Bot Status

`POST /openai/changeStatus/{instance}`

Changes the status of the OpenAI bot instance.

## Path parameters

- `instance` string, required

## Request body

- object
  - `remoteJid` string, 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 `200`

Successfully changed the bot status

- object
  - `success` boolean — Indicates if the status change was successful
  - `message` string — Details about the status change operation

## Other responses

- `400` — Bad Request - Invalid input parameters
- `500` — Internal Server Error

---

[API](https://skmtc.net/evolution-foundation/apis/openapi.md) · [All operations](https://skmtc.net/evolution-foundation/apis/openapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/evolution-foundation/openapi/revisions/153363ee7f38/schema)
