---
title: "Criar instância"
method: POST
path: "/endpoint.php?action=criar_instancia"
---

# Criar instância

`POST /endpoint.php?action=criar_instancia`

## Request

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

Endpoint utilizado para criar uma instância

## Response `200`

200

- union
  - object
    - `success` boolean
    - `user` object
      - `email` string
    - `instance` object
      - `active` boolean
      - `title` string
      - `code` string
      - `token` string
      - `webhook` string
      - `endpoint` string
  - 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)
