> ## 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 Team inbox

> Creates a Team inbox without members. Unspecified settings take their default values. Unlike the Team inbox read endpoints, the response also includes the configuration fields (icon, icon_color, distribution_mode, active_assigned_requests_limit, impossible_distribution_behavior, requests_inactive_on_waiting, requests_inactive_on_snoozed, requests_inactive_when_pending_approval and unassigned_requests_behavior). This endpoint may change or be removed without prior notice.



## OpenAPI

````yaml /api-reference/openapi.yml post /v1/team_inboxes
openapi: 3.0.1
info:
  title: Siit Public API
  version: v0
servers:
  - url: https://api.siit.io
security: []
paths:
  /v1/team_inboxes:
    post:
      tags:
        - Unstable
        - Team inbox
      summary: Create a Team inbox
      description: >-
        Creates a Team inbox without members. Unspecified settings take their
        default values. Unlike the Team inbox read endpoints, the response also
        includes the configuration fields (icon, icon_color, distribution_mode,
        active_assigned_requests_limit, impossible_distribution_behavior,
        requests_inactive_on_waiting, requests_inactive_on_snoozed,
        requests_inactive_when_pending_approval and
        unassigned_requests_behavior). This endpoint may change or be removed
        without prior notice.
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                value:
                  type: string
                  description: The Team inbox name. Required when creating a Team inbox.
                icon:
                  type: string
                  description: The icon of the Team inbox.
                icon_color:
                  type: string
                  description: >-
                    The color of the Team inbox icon, as a hexadecimal color
                    code (e.g. "#123456").
                distribution_mode:
                  type: string
                  enum:
                    - manual
                    - round_robin
                    - balanced
                  description: How incoming Requests are distributed between the members.
                active_assigned_requests_limit:
                  type: integer
                  minimum: 0
                  description: >-
                    Maximum number of active Requests assigned to a member at
                    once. 0 means no limit.
                impossible_distribution_behavior:
                  type: string
                  enum:
                    - do_not_assign
                    - next_one_available
                  description: What happens when no member can receive a Request.
                requests_inactive_on_waiting:
                  type: boolean
                  description: >-
                    Whether waiting Requests stop counting as active for the
                    assignment limit.
                requests_inactive_on_snoozed:
                  type: boolean
                  description: >-
                    Whether snoozed Requests stop counting as active for the
                    assignment limit.
                requests_inactive_when_pending_approval:
                  type: boolean
                  description: >-
                    Whether Requests pending approval stop counting as active
                    for the assignment limit.
                unassigned_requests_behavior:
                  type: string
                  enum:
                    - none
                    - first_created_first
                    - last_created_first
                    - most_urgent_first
                  description: >-
                    Which unassigned Request a member picks up first when they
                    become available.
              required:
                - value
        required: true
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: object
                    properties:
                      uid:
                        type: string
                        description: The UID of the Team inbox
                      value:
                        type: string
                        description: The Team inbox name
                      members:
                        type: array
                        items:
                          $ref: '#/components/schemas/team_inbox_member'
                        description: Members of the Team inbox
                      created_at:
                        type: string
                        format: date-time
                        description: >-
                          datetime formatted as ISO 8601 (e.g.
                          "2020-12-15T03:34:13.000Z")
                      updated_at:
                        type: string
                        format: date-time
                        description: >-
                          datetime formatted as ISO 8601 (e.g.
                          "2020-12-15T03:34:13.000Z")
                      icon:
                        type: string
                        nullable: true
                        description: The icon of the Team inbox
                      icon_color:
                        type: string
                        nullable: true
                        description: >-
                          The color of the Team inbox icon, as a hexadecimal
                          color code
                      distribution_mode:
                        type: string
                        enum:
                          - manual
                          - round_robin
                          - balanced
                        description: >-
                          How incoming Requests are distributed between the
                          members
                      active_assigned_requests_limit:
                        type: integer
                        description: >-
                          Maximum number of active Requests assigned to a member
                          at once. 0 means no limit
                      impossible_distribution_behavior:
                        type: string
                        enum:
                          - do_not_assign
                          - next_one_available
                        description: What happens when no member can receive a Request
                      requests_inactive_on_waiting:
                        type: boolean
                        description: >-
                          Whether waiting Requests stop counting as active for
                          the assignment limit
                      requests_inactive_on_snoozed:
                        type: boolean
                        description: >-
                          Whether snoozed Requests stop counting as active for
                          the assignment limit
                      requests_inactive_when_pending_approval:
                        type: boolean
                        description: >-
                          Whether Requests pending approval stop counting as
                          active for the assignment limit
                      unassigned_requests_behavior:
                        type: string
                        enum:
                          - none
                          - first_created_first
                          - last_created_first
                          - most_urgent_first
                        description: >-
                          Which unassigned Request a member picks up first when
                          they become available
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errors_object'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errors_object'
      security:
        - bearer: []
components:
  schemas:
    team_inbox_member:
      type: object
      properties:
        team_inbox_uid:
          type: string
          readOnly: true
          description: The UID of the Team Inbox linked to this membership
        user_uid:
          type: string
          readOnly: true
          description: The UID of the user who is a member of this Team Inbox
        excluded_from_distribution:
          type: boolean
          readOnly: true
          description: >-
            Whether this member is excluded from the automatic Request
            distribution of the Team Inbox
        business_calendar_uid:
          type: string
          readOnly: true
          nullable: true
          description: >-
            The UID of the Business Calendar driving this member availability.
            Only returned when the company has availabilities enabled
    errors_object:
      type: object
      properties:
        error:
          type: string
        troubleshoot:
          type: string
  securitySchemes:
    bearer:
      type: http
      scheme: bearer

````