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

# List DNC entries

> Retrieve paginated list of Do Not Contact entries



## OpenAPI

````yaml GET /dnc
openapi: 3.0.3
info:
  title: NativeMessage API
  version: 1.0.0
  description: Complete API documentation for NativeMessage platform
  contact:
    name: NativeMessage Support
    email: support@nativemessage.com
servers:
  - url: https://api-message.nativehub.live/api/v1
    description: Production server
security:
  - BearerAuth: []
  - ApiKeyAuth: []
paths:
  /dnc:
    get:
      tags:
        - DNC
      summary: List DNC entries
      description: Retrieve paginated list of Do Not Contact entries
      operationId: listDNCEntries
      parameters:
        - $ref: '#/components/parameters/PageParam'
        - $ref: '#/components/parameters/PerPageParam'
      responses:
        '200':
          description: DNC entries retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedDNCEntries'
components:
  parameters:
    PageParam:
      name: page
      in: query
      description: Page number (default 1)
      schema:
        type: integer
        default: 1
        minimum: 1
    PerPageParam:
      name: per_page
      in: query
      description: Items per page (default 20, max 100)
      schema:
        type: integer
        default: 20
        minimum: 1
        maximum: 100
  schemas:
    PaginatedDNCEntries:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/DNCEntry'
        total:
          type: integer
        page:
          type: integer
        per_page:
          type: integer
    DNCEntry:
      type: object
      properties:
        id:
          type: string
          format: uuid
        tenant_id:
          type: string
          format: uuid
        phone_number:
          type: string
        reason:
          type: string
        created_at:
          type: string
          format: date-time
      example:
        id: b4c5d6e7-f8a9-0123-bc45-678901234567
        tenant_id: c3d4e5f6-a7b8-9012-cdef-123456789012
        phone_number: '+8801812345678'
        reason: User opt-out request
        created_at: '2026-02-10T11:20:00Z'
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key

````