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

# Create Catalog

> Create a new catalog for your organization



## OpenAPI

````yaml POST /organizations/{orgId}/catalogs
openapi: 3.1.0
info:
  title: Refine API
  description: >-
    API for managing product catalogs and delivering AI-powered product
    recommendations and search
  version: 1.0.0
  contact:
    name: Refine Support
    email: support@refine.ai
servers:
  - url: https://api.joinrefine.io
    description: Production server
security:
  - apiKey: []
paths:
  /organizations/{orgId}/catalogs:
    post:
      tags:
        - Catalog Operations
      summary: Create Catalog
      description: Create a new catalog for your organization
      operationId: createCatalog
      parameters:
        - name: orgId
          in: path
          required: true
          description: Organization ID (UUID)
          schema:
            type: string
            format: uuid
            example: a8cd2722-1234-4567-9abc-def123456789
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateCatalogRequest'
      responses:
        '201':
          description: Catalog created successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Catalog'
        '400':
          description: >-
            Bad Request - Invalid UUID format, missing required fields, or
            organization ID mismatch
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '409':
          description: Conflict - Catalog with same name already exists in organization
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                status: 409
                message: A catalog with this name already exists in the organization
                time: '2024-06-14T19:21:00Z'
                method: POST
                url: /organizations/a8cd2722-1234-4567-9abc-def123456789/catalogs
components:
  schemas:
    CreateCatalogRequest:
      type: object
      required:
        - name
        - organizationId
      properties:
        name:
          type: string
          description: Catalog name (must be unique within organization)
          example: Summer 2024
        description:
          type: string
          description: Catalog description
          example: New arrivals for summer.
        organizationId:
          type: string
          format: uuid
          description: Organization ID (must match path parameter)
          example: a8cd2722-1234-4567-9abc-def123456789
    Catalog:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: Catalog ID
        name:
          type: string
          description: Catalog name
        description:
          type: string
          description: Catalog description
        organizationId:
          type: string
          format: uuid
          description: Organization ID
        productCount:
          type: integer
          description: Number of products in catalog
        createdAt:
          type: string
          format: date-time
          description: Creation timestamp
    Error:
      type: object
      required:
        - status
        - message
        - time
        - method
        - url
      properties:
        status:
          type: integer
          description: HTTP status code
        message:
          type: string
          description: Error message
        time:
          type: string
          format: date-time
          description: Timestamp in RFC3339 format
        method:
          type: string
          description: HTTP method
        url:
          type: string
          description: Request URL
  responses:
    Unauthorized:
      description: Unauthorized - Missing or invalid API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            status: 401
            message: Unauthorized
            time: '2024-06-14T19:21:00Z'
            method: GET
            url: /organizations/a8cd2722-1234-4567-9abc-def123456789/catalogs
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: REFINE_API_KEY
      description: API key for authentication

````