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

# Create a Request Group

> Groups the given Requests under a new Request Group so they can be handled together. Requests already in another group are moved to the new one. This endpoint may change or be removed without prior notice.



## OpenAPI

````yaml /api-reference/openapi.yml post /v1/request_groups
openapi: 3.0.1
info:
  title: Siit Public API
  version: v0
servers:
  - url: https://api.siit.io
security: []
paths:
  /v1/request_groups:
    post:
      tags:
        - Unstable
        - Request Group
      summary: Create a Request Group
      description: >-
        Groups the given Requests under a new Request Group so they can be
        handled together. Requests already in another group are moved to the new
        one. This endpoint may change or be removed without prior notice.
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
                - name
                - request_uids
              properties:
                name:
                  type: string
                  description: Name of the Request Group
                request_uids:
                  type: array
                  items:
                    type: string
                  minItems: 1
                  maxItems: 200
                  description: >-
                    UIDs or friendly IDs (e.g. `REQ-123`) of the Requests (1 to
                    200). Unknown Requests and Requests you cannot access are
                    skipped.
        required: true
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                type: object
                required:
                  - result
                properties:
                  result:
                    $ref: '#/components/schemas/requests_group'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errors_object'
        '401':
          description: Unauthorized
        '422':
          description: No accessible Request matched
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errors_object'
      security:
        - bearer: []
components:
  schemas:
    requests_group:
      type: object
      properties:
        uid:
          type: string
          readOnly: true
          description: The UID of the Request group
        sequential_number:
          type: string
          readOnly: true
          description: The human-readable reference of the Request group
        name:
          type: string
          description: The Request group name
        requests_count:
          type: integer
          readOnly: true
          description: Number of Requests in the group
        priorities:
          type: object
          readOnly: true
          additionalProperties:
            type: integer
          description: Request count per priority
        statuses:
          type: object
          readOnly: true
          additionalProperties:
            type: integer
          description: Request count per status
        created_at:
          type: string
          format: date-time
          description: datetime formatted as ISO 8601 (e.g. "2020-12-15T03:34:13.000Z")
          readOnly: true
        updated_at:
          type: string
          format: date-time
          description: datetime formatted as ISO 8601 (e.g. "2020-12-15T03:34:13.000Z")
          readOnly: true
        assignee_admins:
          type: object
          readOnly: true
          description: >-
            Distinct assigned Users across all of the group's Requests,
            including ones outside the caller's visibility.
          properties:
            quantity:
              type: integer
            sample:
              type: array
              items:
                type: string
              description: Up to 3 sample UIDs
        assignee_inboxes:
          type: object
          readOnly: true
          description: >-
            Distinct assigned Team inboxes across all of the group's Requests,
            including ones outside the caller's visibility.
          properties:
            quantity:
              type: integer
            sample:
              type: array
              items:
                type: string
              description: Up to 3 sample UIDs
        associated_apps:
          type: object
          readOnly: true
          description: >-
            Distinct associated Apps across all of the group's Requests,
            including ones outside the caller's visibility.
          properties:
            quantity:
              type: integer
            sample:
              type: array
              items:
                type: string
              description: Up to 3 sample UIDs
        associated_equipments:
          type: object
          readOnly: true
          description: >-
            Distinct associated Equipment across all of the group's Requests,
            including ones outside the caller's visibility.
          properties:
            quantity:
              type: integer
            sample:
              type: array
              items:
                type: string
              description: Up to 3 sample UIDs
        followers:
          type: object
          readOnly: true
          description: >-
            Distinct followers across all of the group's Requests, including
            ones outside the caller's visibility.
          properties:
            quantity:
              type: integer
            sample:
              type: array
              items:
                type: string
              description: Up to 3 sample UIDs
        requesters:
          type: object
          readOnly: true
          description: >-
            Distinct requesters across all of the group's Requests, including
            ones outside the caller's visibility.
          properties:
            quantity:
              type: integer
            sample:
              type: array
              items:
                type: string
              description: Up to 3 sample UIDs
        targets:
          type: object
          readOnly: true
          description: >-
            Distinct Services/Apps the Requests are about across all of the
            group's Requests, including ones outside the caller's visibility.
          properties:
            quantity:
              type: integer
            sample:
              type: array
              items:
                type: string
              description: Up to 3 sample UIDs
    errors_object:
      type: object
      properties:
        error:
          type: string
        troubleshoot:
          type: string
  securitySchemes:
    bearer:
      type: http
      scheme: bearer

````