---
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

## Changes

- **2024-11-21** (v2) `ad43c2b657d9` — 1 info
  - endpoint added
- **2024-10-14** (v2) `c153448703e5` — 1 breaking
  - api path removed without deprecation
- **2024-09-09** (v2) `0c4620ca5ed5` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/evolution-foundation/apis/openapi/changes/openai/changeStatus/:instance/post.md)

---

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