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

# Create Tag

> Create Tag.



## OpenAPI

````yaml POST /tags/create
openapi: 3.1.0
info:
  title: Blog API
  version: 1.0.0
servers:
  - url: https://api.octaviatech.app/cms
    description: Production
security:
  - ApiKeyAuth: []
tags:
  - name: Tags
    description: Tag management endpoints
paths:
  /tags/create:
    post:
      tags:
        - Tags
      summary: Create a new tag
      description: Manually create a new tag
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - name
              properties:
                name:
                  type: string
                  description: >-
                    Tag name. Stored trimmed and lowercased; an existing tag
                    with the same normalized name is returned instead of
                    creating a duplicate.
                  example: artificial-intelligence
            examples:
              Create Tag:
                value:
                  name: artificial-intelligence
      responses:
        '201':
          description: Created
          content:
            application/json:
              example:
                success: true
                statusCode: 201
                message: Tag created successfully
                data:
                  tag:
                    _id: '{{objectId}}'
                    tenantId: tenant123
                    name: artificial-intelligence
        '400':
          description: Tag name missing, not a string, or empty after trimming
        '401':
          description: Unauthorized
        '403':
          description: Forbidden (role limitation)
        '500':
          description: Server error
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````