> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wapizap.com.br/llms.txt
> Use this file to discover all available pages before exploring further.

# Criar Grupo

> Cria um novo grupo



## OpenAPI

````yaml openapi-v2.json post /groups
openapi: 3.0.0
info:
  title: Wapizap API v2 - Native
  description: >-
    API v2 nativa Wapizap com arquitetura RESTful moderna. Inclui 60 endpoints
    para gerenciamento completo de integrações WhatsApp, incluindo instâncias,
    mensagens, chats, grupos, contatos, webhooks e downloads.
  version: 2.0.0
  contact:
    name: Wapizap Support
    url: https://wapizap.com/support
servers:
  - url: https://api.wapizap.com/api/v2
    description: Produção
  - url: http://localhost:3000/api/v2
    description: Desenvolvimento
security:
  - BearerAuth: []
tags:
  - name: Instances
    description: Gerenciamento de instâncias WhatsApp
  - name: Messages
    description: Envio e gerenciamento de mensagens
  - name: Chats
    description: Gerenciamento de chats e conversas
  - name: Contacts
    description: Gerenciamento de contatos
  - name: Groups
    description: Gerenciamento de grupos
  - name: Webhooks
    description: Configuração de webhooks
  - name: Downloads
    description: Download de mídias
paths:
  /groups:
    post:
      tags:
        - Groups
      summary: Criar Grupo
      description: Cria um novo grupo
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - instanceId
                - subject
                - participants
              properties:
                instanceId:
                  type: string
                  format: uuid
                subject:
                  type: string
                  example: Equipe de Vendas
                description:
                  type: string
                participants:
                  type: array
                  items:
                    type: string
                  example:
                    - '5511999999999'
                    - '5511888888888'
      responses:
        '201':
          description: Grupo criado
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Group'
components:
  schemas:
    Group:
      type: object
      properties:
        id:
          type: string
        subject:
          type: string
        description:
          type: string
        participants:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
              name:
                type: string
              isAdmin:
                type: boolean
        owner:
          type: string
        creation:
          type: integer
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````