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

# Add a tag to contacts

> Apply a team tag to every listed contact. Already-tagged contacts are skipped.



## OpenAPI

````yaml /public_openapi.json post /api/public/v1/contacts/bulk/tags
openapi: 3.0.3
info:
  title: ColdSend Public API
  description: >-
    Programmatic access to ColdSend for managing cold email campaigns and sender
    accounts.
  version: 1.0.0
  contact:
    name: ColdSend Support
    email: support@coldsend.pro
    url: https://coldsend.pro
servers:
  - url: https://api.coldsend.pro
    description: Production
security:
  - ApiKeyAuth: []
paths:
  /api/public/v1/contacts/bulk/tags:
    post:
      tags:
        - Contacts
      summary: Add a tag to contacts
      description: >-
        Apply a team tag to every listed contact. Already-tagged contacts are
        skipped.
      operationId: bulk_add_tag_api_public_v1_contacts_bulk_tags_post
      requestBody:
        content:
          application/json:
            schema:
              additionalProperties: true
              type: object
              title: Body
        required: true
      responses:
        '200':
          description: Tag applied
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContactBulkApiResponse'
        '403':
          description: Insufficient permissions - requires 'contacts:update' scope
        '404':
          description: Tag not found in this team
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ContactBulkApiResponse:
      properties:
        success:
          type: boolean
          title: Success
          default: true
        message:
          type: string
          title: Message
        requested:
          type: integer
          title: Requested
        affected:
          type: integer
          title: Affected
        skipped:
          type: integer
          title: Skipped
          default: 0
        not_found:
          type: integer
          title: Not Found
          default: 0
        details:
          additionalProperties: true
          type: object
          nullable: true
          title: Details
      type: object
      required:
        - message
        - requested
        - affected
      title: ContactBulkApiResponse
      description: |-
        Outcome of a bulk directory operation.

        The service treats every bulk call as a per-contact no-op-on-repeat:
        `affected` counts contacts the operation changed, `skipped` counts
        contacts it already satisfied, and `not_found` counts IDs outside the
        caller's team. Re-running the same request is therefore safe.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: API key with format cs_live_xxx

````

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