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

# Create Category



## OpenAPI

````yaml /openapi/content-management.json post /publisher/{publisher_id}/category/
openapi: 3.1.0
info:
  title: Publive Content Management API
  version: 1.0.0
  description: >-
    Read/write API for managing publisher content: categories, tags, posts, live
    blogs, media, custom content types, custom components, forms, reader
    accounts, and newsletter subscriptions.
servers:
  - url: https://cms.thepublive.com
security:
  - basicAuth: []
tags:
  - name: Categories
  - name: Tags
  - name: Posts
  - name: Live Blogs
  - name: Media Library
  - name: Custom Content Types
  - name: Custom Components
  - name: Forms
  - name: Reader
  - name: Newsletter
paths:
  /publisher/{publisher_id}/category/:
    post:
      tags:
        - Categories
      summary: Create Category
      operationId: createCategory
      parameters:
        - $ref: '#/components/parameters/PublisherId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                english_name:
                  type: string
                  description: Immutable after creation. Used for permalink.
                slug:
                  type: string
                  description: Immutable after creation.
                meta_title:
                  type: string
                h1_tag:
                  type: string
                meta_description:
                  type: string
                parent_category:
                  type: integer
                  description: Immutable after creation.
                priority:
                  type: integer
                  minimum: 1
                  maximum: 1000
                content:
                  type: string
                category_brand_color:
                  type: string
                content_type:
                  type: string
                  description: Immutable after creation.
              required:
                - name
                - english_name
      responses:
        '201':
          description: Created
          content:
            application/json:
              example:
                status: success
                message: Created Successfully
                data:
                  id: 1000
        '400':
          description: Validation error
        '401':
          $ref: '#/components/responses/Unauthorized'
components:
  parameters:
    PublisherId:
      name: publisher_id
      in: path
      required: true
      schema:
        type: string
      description: Your Publisher ID
  responses:
    Unauthorized:
      description: Invalid or missing credentials
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorDetail'
          example:
            detail: Invalid Auth Credentials
  schemas:
    ErrorDetail:
      type: object
      properties:
        detail:
          type: string
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
      description: HTTP Basic Auth using your Publive API key pair, base64-encoded.

````