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

# Create a WhatsApp group

> Requires groups:create, an explicit phone-wide permission separate from selected chats. Send subject (1–100 characters) and up to 20 full phone numbers or participant IDs. Without groups:created, the returned group requires a separate owner conversation grant. Optional groups:created (unchecked by default) grants access only to groups verified as successfully created by this key on this account and phone; read, send and management operations still require their separate scopes. Explicit selections stay unchanged. Durable grants are stored before a completed response; scope removal, revocation, expiry and owner removal invalidate derived access. Maximum 1,000 grants and unresolved reservations per key; capacity is reserved before creation. Unknown results and failed grant persistence never grant access or automatically retry. Stable Idempotency-Key required; never repeat uncertain creation with a new key.



## OpenAPI

````yaml /openapi.json post /groups
openapi: 3.1.0
info:
  title: SuperSkope Customer API
  version: 1.3.0
  description: >-
    Dedicated selected-phone customer API. Keys remain server-side, bound to one
    phone, granular permissions and exact selected conversations. groups:create
    explicitly grants phone-wide creation. The separate opt-in groups:created
    grants conversation access only to verified groups created by this key on
    this phone; every read/send/management scope remains required. Stable
    Idempotency-Key required for mutations; unknown operations never retry.
    Staff administration and arbitrary engine/session lifecycle calls are
    excluded. Additive transport routes expose capabilities, exact messages,
    verified access, private pictures, explicit chat state actions and retained
    group history. Older installations may not provide them. Existing registered
    agents can be explicitly delegated to scoped customer keys; pull agents can
    be created and enrolled within exact owner-granted scopes; existing callback
    identities remain separately delegated compatibility clients.
servers:
  - url: https://your-installation.example/api/v1
    description: >-
      Placeholder only. Replace with your dedicated SuperSkope HTTPS origin;
      this is not a public service endpoint.
security: []
paths:
  /groups:
    post:
      tags:
        - Groups
      summary: Create a WhatsApp group
      description: >-
        Requires groups:create, an explicit phone-wide permission separate from
        selected chats. Send subject (1–100 characters) and up to 20 full phone
        numbers or participant IDs. Without groups:created, the returned group
        requires a separate owner conversation grant. Optional groups:created
        (unchecked by default) grants access only to groups verified as
        successfully created by this key on this account and phone; read, send
        and management operations still require their separate scopes. Explicit
        selections stay unchanged. Durable grants are stored before a completed
        response; scope removal, revocation, expiry and owner removal invalidate
        derived access. Maximum 1,000 grants and unresolved reservations per
        key; capacity is reserved before creation. Unknown results and failed
        grant persistence never grant access or automatically retry. Stable
        Idempotency-Key required; never repeat uncertain creation with a new
        key.
      operationId: postGroups
      parameters:
        - name: Idempotency-Key
          in: header
          required: true
          schema:
            type: string
            pattern: ^[A-Za-z0-9_-]{8,128}$
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - subject
              properties:
                subject:
                  type: string
                  minLength: 1
                  maxLength: 100
                participants:
                  type: array
                  maxItems: 20
                  items:
                    type: string
              additionalProperties: false
      responses:
        '201':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GroupCreated'
        '400':
          description: >-
            Invalid fields, ID, cursor or request key. For mutations, an HTTP
            error alone is not proof that no effect occurred.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: >-
            Customer credential missing, expired or revoked. For mutations, an
            HTTP error alone is not proof that no effect occurred.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: >-
            Scope, number, conversation or origin is not authorized. For
            mutations, an HTTP error alone is not proof that no effect occurred.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: >-
            Route or authorized resource is unavailable. For mutations, an HTTP
            error alone is not proof that no effect occurred.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '405':
          description: >-
            Method is not supported. For mutations, an HTTP error alone is not
            proof that no effect occurred.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: >-
            Version, identity, request-key or uncertain-operation conflict. For
            mutations, an HTTP error alone is not proof that no effect occurred.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '410':
          description: >-
            Event cursor expired; resync authorized history before a new
            subscription. For mutations, an HTTP error alone is not proof that
            no effect occurred.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '413':
          description: >-
            Request or decoded attachment exceeds the documented limit. For
            mutations, an HTTP error alone is not proof that no effect occurred.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '415':
          description: >-
            Use application/json for a write. For mutations, an HTTP error alone
            is not proof that no effect occurred.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '416':
          description: >-
            Single byte range is invalid or unsatisfiable. For mutations, an
            HTTP error alone is not proof that no effect occurred.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: >-
            Usage/concurrency limit; respect Retry-After when provided. For
            mutations, an HTTP error alone is not proof that no effect occurred.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '502':
          description: >-
            Upstream result unavailable; a write may already have been
            submitted. For mutations, an HTTP error alone is not proof that no
            effect occurred.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: >-
            Installation temporarily unavailable; inspect an original write
            before resubmitting. For mutations, an HTTP error alone is not proof
            that no effect occurred.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - customerKey: []
components:
  schemas:
    GroupCreated:
      type: object
      properties:
        requestId:
          type: string
        state:
          type: string
          enum:
            - completed
            - unknown
        groupId:
          type:
            - string
            - 'null'
        requiresOwnerChatGrant:
          type: boolean
        error:
          type: string
      required:
        - requestId
        - state
        - groupId
        - requiresOwnerChatGrant
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: string
  securitySchemes:
    customerKey:
      type: http
      scheme: bearer
      bearerFormat: ss_api_…

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.