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

# Add Tags to Contact

> Add tags to a contact using the external contact API



## OpenAPI

````yaml /api-reference/blogs/openapi.json post /blogs/site/contact/tags
openapi: 3.0.0
info:
  title: Blogs API
  description: Documentation for Blogs
  version: '1.0'
  contact: {}
servers:
  - url: https://services.leadconnectorhq.com
security: []
tags:
  - name: blogs
    description: Documentation for Blogs
paths:
  /blogs/site/contact/tags:
    post:
      summary: Add Tags to Contact
      description: Add tags to a contact using the external contact API
      operationId: addContactTags
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AddContactTagsParams'
      responses:
        '200':
          description: Tags added successfully to the contact
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AddContactTagsResponseDTO'
        '400':
          description: Bad request - Invalid contact ID or tags
        '401':
          description: Unauthorized - Missing or invalid authorization token
        '404':
          description: Contact not found
components:
  schemas:
    AddContactTagsParams:
      type: object
      properties:
        contactId:
          type: string
          description: Contact ID to add tags to
          example: c6M7RffOdIHwJfaaTMKc
        tags:
          description: Array of tags to add to the contact
          example:
            - game
            - sports
            - entertainment
          type: array
          items:
            type: string
      required:
        - contactId
        - tags
    AddContactTagsResponseDTO:
      type: object
      properties:
        success:
          type: boolean
          example: true
          description: Whether the operation was successful
        message:
          type: string
          example: Tags added successfully
          description: Response message
        contactId:
          type: string
          example: c6M7RffOdIHwJfaaTMKc
          description: Contact ID that was updated
        data:
          type: object
          description: Response data from the contact API
      required:
        - success
        - message
        - contactId

````