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

# Bulk Delete Contacts

> Deletes contacts in bulk using contact IDs or tag filters.



## OpenAPI

````yaml DELETE /v2/contact-delete-bulk/
openapi: 3.1.0
info:
  title: CloserX.ai API
  description: >-
    The CloserX.ai API provides programmatic access to manage AI-powered calling
    operations, including agent creation, campaign management, contact handling,
    telephony integration, and more. This API enables seamless automation and
    integration with CRM systems, telephony providers, and other third-party
    services for enhanced client communication and business operations.
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://app.closerx.ai/api
security:
  - api_key: []
paths:
  /v2/contact-delete-bulk/:
    delete:
      summary: Bulk delete contacts
      description: Deletes contacts in bulk using contact IDs or tag filters.
      parameters:
        - name: ids
          in: query
          required: false
          description: Comma-separated list of contact IDs
          schema:
            type: string
            example: 4501,4499,4500
        - name: tags
          in: query
          required: false
          description: Comma-separated list of tag IDs
          schema:
            type: string
            example: 12,15
        - name: Company-Name
          in: header
          required: true
          description: Schema name for multi-tenancy
          schema:
            type: string
      responses:
        '200':
          description: Contacts deleted successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BulkDeleteContactResponse'
        '400':
          description: Invalid request or missing parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    BulkDeleteContactResponse:
      type: object
      properties:
        success:
          type: boolean
          description: Indicates if the deletion was successful
          example: true
        message:
          type: string
          description: Descriptive message about the deletion outcome
          example: Deleted 3 contacts
    Error:
      required:
        - success
        - message
        - data
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        data:
          type: object
  securitySchemes:
    api_key:
      type: apiKey
      in: header
      name: api_key

````