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

# Add Domain to DNC List

> Queues a list of domains to be added to an organisation's DNC list.

This operation runs as a background task and returns immediately.

### Path Parameters

**organisation_id** (`int`): The ID of the organisation to update.

### Body Parameters

**payload** (`DomainList`): A list of domain strings.

### Headers

**X-API-Key**: API key granting access to the organisation's DNC list.

### Returns:

**JSONResponse**: A confirmation message indicating the task has been queued.



## OpenAPI

````yaml POST /api/v1/dnc-domains/json
openapi: 3.1.0
info:
  title: ChaseLabs API
  version: 0.1.0
servers:
  - url: https://services.meetchase.ai
security: []
paths:
  /api/v1/dnc-domains/json:
    post:
      tags:
        - Public API Routes
        - DNC Domains Routes
        - Lead Sourcing Routes
      summary: Insert Dnc Domains Json Api
      description: >-
        Queues a list of domains to be added to an organisation's DNC list.


        This operation runs as a background task and returns immediately.


        ### Path Parameters


        **organisation_id** (`int`): The ID of the organisation to update.


        ### Body Parameters


        **payload** (`DomainList`): A list of domain strings.


        ### Headers


        **X-API-Key**: API key granting access to the organisation's DNC list.


        ### Returns:


        **JSONResponse**: A confirmation message indicating the task has been
        queued.
      operationId: insert_dnc_domains_json_api_api_v1_dnc_domains_json_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DomainList'
        required: true
      responses:
        '202':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - API Key: []
components:
  schemas:
    DomainList:
      properties:
        domains:
          items:
            type: string
            maxLength: 255
            minLength: 1
          type: array
          maxItems: 10000
          minItems: 1
          title: Domains
      type: object
      required:
        - domains
      title: DomainList
    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:
    API Key:
      type: apiKey
      description: Key used to authenticate user API requests.
      in: header
      name: X-API-Key

````