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

# Criar grupo

> Cria um novo grupo com o nome informado e os participantes iniciais.



## OpenAPI

````yaml openapi.evolution-go.pt.json POST /group/create
openapi: 3.1.0
info:
  title: Evolution GO Layer
  version: 1.0.0
  description: >-
    Camada de API do Pilot Status — Evolution GO. Base URL
    `https://pilotstatus.com.br/api/layer/evolution-go`. Autentique com o header
    `apikey` (sua chave `ps_` do Pilot Status) ou `Authorization: Bearer`.
    Endpoints de instância/sessão NÃO estão disponíveis na camada.
servers:
  - url: https://pilotstatus.com.br/api/layer/evolution-go
security:
  - apiKey: []
tags:
  - name: Chamada (voz)
  - name: Chat
  - name: Comunidade
  - name: Grupo
  - name: Etiqueta (label)
  - name: Mensagem
  - name: Newsletter / Canais
  - name: Envio (balanceado)
  - name: Usuário / Contatos
paths:
  /group/create:
    post:
      tags:
        - Grupo
      summary: Criar grupo
      description: Cria um novo grupo com o nome informado e os participantes iniciais.
      operationId: post__group_create
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                groupName:
                  type: string
                  description: Nome do novo grupo.
                  example: Sales Team
                participants:
                  type: array
                  items:
                    type: string
                  description: Números de telefone ou JIDs a adicionar (pelo menos um).
                  example:
                    - '5511999999999'
                    - '5511888888888'
              required:
                - groupName
                - participants
      responses:
        '200':
          description: Sucesso — corpo de resposta nativo do provedor.
          content:
            application/json:
              schema:
                type: object
                description: >-
                  Envelope returned for Create group. `data` is a hand-built
                  object summarizing the created group (keys: jid, name, owner,
                  added, failed).
                properties:
                  message:
                    type: string
                    description: Always "success" on HTTP 200.
                  data:
                    type: object
                    properties:
                      jid:
                        type: string
                        description: JID of the newly created group.
                      name:
                        type: string
                        description: Group name.
                      owner:
                        type: string
                        description: JID of the group owner (the connected number).
                      added:
                        type: array
                        description: >-
                          JIDs of all current participants (owner plus
                          successfully added members), read back via
                          GetGroupInfo.
                        items:
                          type: string
                      failed:
                        type:
                          - array
                          - 'null'
                        description: >-
                          JIDs of requested participants that could not be added
                          (null when everyone was added).
                        items:
                          type: string
              example:
                message: success
                data:
                  jid: 120363099887766554@g.us
                  name: Time de Vendas
                  owner: 5511999999999@s.whatsapp.net
                  added:
                    - 5511999999999@s.whatsapp.net
                    - 5511988888888@s.whatsapp.net
                  failed:
                    - 5511977777777@s.whatsapp.net
        default:
          description: Erro — erro do provedor ou da camada.
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: integer
                  error:
                    type: string
                  message:
                    type: string
                  response:
                    type: object
              example:
                status: 400
                error: Bad Request
                message: Invalid payload
components:
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: apikey
      description: >-
        Your Pilot Status API key (ps_...). Evolution GO also accepts
        `Authorization: Bearer <key>`.

````