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

# Create a contact tag

> Creates one of the authenticated user's own tags, to put on their contacts. The tag is personal, never a team's, and it is also offered for the user's own links. It does not put the tag on any contact. A name the user already has is refused. If accessed using an OAuth access token, the `CONTACT_WRITE` scope is required.



## OpenAPI

````yaml /api-reference/v2/openapi.json post /v2/contacts/tags
openapi: 3.0.0
info:
  title: Cal.com API v2
  description: ''
  version: 1.0.0
  contact: {}
servers: []
security: []
tags: []
paths:
  /v2/contacts/tags:
    post:
      tags:
        - Contacts
      summary: Create a contact tag
      description: >-
        Creates one of the authenticated user's own tags, to put on their
        contacts. The tag is personal, never a team's, and it is also offered
        for the user's own links. It does not put the tag on any contact. A name
        the user already has is refused. If accessed using an OAuth access
        token, the `CONTACT_WRITE` scope is required.
      operationId: ContactsController_createTag
      parameters:
        - name: Authorization
          in: header
          description: >-
            value must be `Bearer <token>` where `<token>` is api key prefixed
            with cal_, managed user access token, or OAuth access token
          required: true
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateContactTagInput'
      responses:
        '201':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateContactTagOutputResponseDto'
        '400':
          description: The name or color is not allowed
        '401':
          description: Unauthenticated
        '403':
          description: Insufficient permissions
        '409':
          description: The user already has a tag with this name
        '429':
          description: Too many tags created
components:
  schemas:
    CreateContactTagInput:
      type: object
      properties:
        name:
          type: string
          minLength: 1
          description: The tag's name.
          example: Investors
          maxLength: 50
        color:
          type: string
          description: A hex color. Leave out for the default.
          example: '#0ea5e9'
          pattern: ^#(?:[0-9a-fA-F]{3}|[0-9a-fA-F]{6})$
      required:
        - name
    CreateContactTagOutputResponseDto:
      type: object
      properties:
        status:
          enum:
            - success
            - error
          type: string
          example: success
        data:
          $ref: '#/components/schemas/ContactTagOutput'
      required:
        - status
        - data
    ContactTagOutput:
      type: object
      properties:
        id:
          type: string
          example: 0192f3a1-7c2b-7d4e-9a10-00000000000a
        name:
          type: string
          example: Investors
      required:
        - id
        - name

````

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