> ## 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.

# Delete contacts

> **Delete contacts from the directory**

Removes the contacts and every campaign membership derived from them. This
cascades to send-tracking rows attached to those memberships. Team-level
suppression (unsubscribes) is keyed by email address, not by contact, and is
therefore unaffected.

The request body is a plain JSON array of contact IDs, matching the frozen
`DELETE /campaigns/{campaign_id}/leads` shape.

This action cannot be undone.



## OpenAPI

````yaml /public_openapi.json delete /api/public/v1/contacts
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:
    delete:
      tags:
        - Contacts
      summary: Delete contacts
      description: >-
        **Delete contacts from the directory**


        Removes the contacts and every campaign membership derived from them.
        This

        cascades to send-tracking rows attached to those memberships. Team-level

        suppression (unsubscribes) is keyed by email address, not by contact,
        and is

        therefore unaffected.


        The request body is a plain JSON array of contact IDs, matching the
        frozen

        `DELETE /campaigns/{campaign_id}/leads` shape.


        This action cannot be undone.
      operationId: delete_contacts_api_public_v1_contacts_delete
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: array
              items:
                type: string
                format: uuid
              title: Contact Ids
      responses:
        '200':
          description: Contacts deleted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContactDeleteApiResponse'
        '401':
          description: Missing or invalid API key
        '403':
          description: Insufficient permissions - requires 'contacts:delete' scope
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ContactDeleteApiResponse:
      properties:
        success:
          type: boolean
          title: Success
          default: true
        message:
          type: string
          title: Message
        requested:
          type: integer
          title: Requested
        deleted:
          type: integer
          title: Deleted
        not_found:
          type: integer
          title: Not Found
          default: 0
        details:
          additionalProperties: true
          type: object
          nullable: true
          title: Details
      type: object
      required:
        - message
        - requested
        - deleted
      title: ContactDeleteApiResponse
      description: Outcome of deleting contacts from the directory.
    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.