---
title: "Cria um grupo"
method: POST
path: "/api/import/groups"
tags: ["Grupos"]
---

# Cria um grupo

`POST /api/import/groups`

## Request body

- object
  - `name` string — Nome do grupo
  - `active` boolean — Ativo
  - `id_externo` string — Id externo
  - `market_id` integer — Id do mercado

## Response `201`

- object
  - `id` string
  - `name` string
  - `market_id` string
  - `id_externo` string
  - `created_at` string
  - `updated_at` string
  - `active` string

## Other responses

- `401` — Unauthorized
- `404` — Not Found
- `422` — Unprocessable Entity

---

[API](https://skmtc.dev/beepayapp/apis/beepay.md) · [All operations](https://skmtc.dev/beepayapp/apis/beepay/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/beepayapp/beepay/revisions/787a925e98a0/schema)
