---
title: "Pausar ou resumir instância"
method: POST
path: "/endpoint.php?action=status_instancia"
---

# Pausar ou resumir instância

`POST /endpoint.php?action=status_instancia`

## Request

- Base URL: `https://api.chatpro.com.br/painel/ws`
- URL: `https://api.chatpro.com.br/painel/ws/endpoint.php?action=status_instancia`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/chatpro/apis/gest-o-das-inst-ncias/docs/endpoint.php%3Faction=status_instancia/post.ts> (a function with typed inputs; its response is checked against the schema)

Endpoint utilizado para pausar ou resumir uma instância

## Request body

- object
  - `code` string, required: Código da instância
  - `value` integer, required: É um valor inteiro entre 0 e 1. Para pausar informe 0, para resumir informe 1

## Response `200`

200

- object
  - `success` boolean
  - `message` string

---

[API](https://skmtc.dev/chatpro/apis/gest-o-das-inst-ncias.md) - [All operations](https://skmtc.dev/chatpro/apis/gest-o-das-inst-ncias/llms.txt) - [OpenAPI document](https://skmtc.dev/chatpro/apis/gest-o-das-inst-ncias/revisions/43f9820565b4?raw)
