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

# Create

> Executes api/v1/accounts/chat_room_categories#create.



## OpenAPI

````yaml /openapi/application.json post /api/v1/accounts/{account_id}/chat_room_categories
openapi: 3.1.0
info:
  title: WiseApp API — Aplicação
  description: >-
    Referência completa da API do WiseApp: plataforma (provisionamento),
    aplicação (conta), cliente (canais públicos) e MCP.
  version: 1.1.0
servers:
  - url: https://chat.wiseapp360.com
    description: Sua instalação WiseApp
security: []
paths:
  /api/v1/accounts/{account_id}/chat_room_categories:
    parameters:
      - name: account_id
        in: path
        required: true
        schema:
          type: integer
        example: 1
    post:
      tags:
        - Account
      summary: Create
      description: Executes api/v1/accounts/chat_room_categories#create.
      operationId: post-api-v1-accounts-account-id-chat-room-categories
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - chat_room_category
              properties:
                chat_room_category:
                  type: object
                  required:
                    - name
                  properties:
                    name:
                      type: string
                    position:
                      type: integer
            example:
              chat_room_category:
                name: Sample resource
                position: 1
      responses:
        '201':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/chat_room_category'
              example:
                id: 1
                name: Sample resource
                position: 1
                account_id: 1
                rooms_count: 1
                created_at: 1
                updated_at: 1
        '401':
          description: Unauthorized.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
              example:
                error: Unauthorized
        '422':
          description: Invalid request or resource state.
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                  attributes:
                    type: array
                    items:
                      type: string
              example:
                message: Validation failed
                attributes:
                  - name cannot be blank
      security:
        - userApiKey: []
components:
  schemas:
    chat_room_category:
      type: object
      required:
        - id
        - name
        - position
        - account_id
        - rooms_count
        - created_at
        - updated_at
      properties:
        id:
          type: integer
        name:
          type: string
        position:
          type: integer
        account_id:
          type: integer
        rooms_count:
          type: integer
        created_at:
          type: integer
        updated_at:
          type: integer
  securitySchemes:
    userApiKey:
      type: apiKey
      in: header
      name: api_access_token
      description: >-
        Token de acesso do usuário (Perfil → Token de acesso). Dá acesso
        conforme o papel do usuário e age em nome dele.

````

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