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

# Create a new tag

> Create a new tag for the authenticated team.



## OpenAPI

````yaml post /tags
openapi: 3.1.0
info:
  version: 0.0.1
  title: Abacus API
  description: Abacus is the operating system for Merchant Cash Advance businesses.
  contact:
    name: Abacus Support
    email: support@abacuslabs.co
    url: https://abacuslabs.co
  license:
    name: AGPL-3.0 license
    url: https://github.com/Suphian/abacus/blob/main/LICENSE
servers:
  - url: https://api.abacuslabs.co
    description: Production API
security:
  - oauth2: []
  - token: []
paths:
  /tags:
    post:
      tags:
        - Tags
      summary: Create a new tag
      description: Create a new tag for the authenticated team.
      operationId: createTag
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateTag'
      responses:
        '201':
          description: Tag created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TagResponse'
components:
  schemas:
    CreateTag:
      type: object
      properties:
        name:
          type: string
          description: The name of the tag.
          example: Important
        color:
          type: string
          nullable: true
          description: Color key for the tag (e.g., blue, green, red).
          example: blue
      required:
        - name
    TagResponse:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: The UUID of the tag.
          example: b3b7c8e2-1f2a-4c3d-9e4f-5a6b7c8d9e0f
        name:
          type: string
          description: The name of the tag.
          example: Important
        color:
          type: string
          nullable: true
          description: Color key for the tag.
          example: blue
      required:
        - id
        - name
        - color
  securitySchemes:
    token:
      type: http
      scheme: bearer
      description: Default authentication mechanism
      x-speakeasy-example: ABACUS_API_KEY

````

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