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

# List UCC complaints (Beta)

> List the UCC complaints raised against your numbers, newest first, filtered by state and searchable by reference or number.

> [!NOTE]
>
> This API is in beta. Changes might be possible. To enable it for your account, email [support@vobiz.ai](mailto:support@vobiz.ai).

Use `state` to filter by the tabs on the console's **Complaints** page. See [complaint states](https://www.vobiz.ai/docs/ucc-complaints.md#complaint-states). Check `can_upload` before you [upload proof](https://www.vobiz.ai/docs/ucc-complaints/upload-proof.md).


## OpenAPI

````yaml openapi-ndnc.yaml GET /api/v1/Account/{auth_id}/ndnc/complaints
openapi: 3.1.0
info:
  title: Vobiz UCC Complaints API (Beta)
  version: '1.0'
  contact:
    email: support@vobiz.ai
    url: https://www.vobiz.ai
  description: >
    Read the UCC (NDNC) complaints raised against your Vobiz numbers, upload
    opt-in proof before the deadline, and receive

    signed callbacks for complaint and block events.


    **Base URL:** `https://api.vobiz.ai/api/v1/Account/{auth_id}/ndnc`, where
    `{auth_id}` is your account Auth ID.


    **Authentication:** every request needs the `X-Auth-ID` and `X-Auth-Token`
    headers. The `{auth_id}` in the path must

    be the account those credentials belong to, otherwise the request returns
    `403`.


    **Beta.** Changes might be possible. To enable UCC complaints for your
    account, email support@vobiz.ai.
servers:
  - url: https://api.vobiz.ai
    description: Production
security:
  - AuthID: []
    AuthToken: []
tags:
  - name: Dashboard
    description: Summary of your UCC complaints.
  - name: Complaints
    description: UCC complaints raised against your numbers.
  - name: Proof
    description: Upload opt-in proof for a complaint.
  - name: Callbacks
    description: Your callback URL for UCC complaint events.
paths:
  /api/v1/Account/{auth_id}/ndnc/complaints:
    get:
      tags:
        - Complaints
      summary: List UCC complaints
      description: >
        List the UCC complaints raised against your numbers, newest first.
        Filter by `state` (the tabs on the console's **Complaints** page) and
        search by Vobiz reference or phone number.


        **Beta.** Changes might be possible. To enable UCC complaints for your
        account, email support@vobiz.ai.
      operationId: list-ucc-complaints
      parameters:
        - $ref: '#/components/parameters/AuthId'
        - name: state
          in: query
          required: false
          description: Only complaints in this state.
          schema:
            $ref: '#/components/schemas/ComplaintState'
        - name: q
          in: query
          required: false
          description: Search by Vobiz reference or phone number. Up to 100 characters.
          schema:
            type: string
            maxLength: 100
            example: VUCC-000003
        - name: limit
          in: query
          required: false
          description: Results per page. Default `50`, maximum `500`.
          schema:
            type: integer
            minimum: 0
            maximum: 500
            default: 50
        - name: offset
          in: query
          required: false
          description: Number of results to skip, for paging.
          schema:
            type: integer
            minimum: 0
            default: 0
      responses:
        '200':
          description: A page of complaints.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ComplaintPage'
              example:
                items:
                  - vobiz_urn: VUCC-000003
                    did: '+917965853654'
                    complaint_date: '2026-11-20'
                    call_at: '2026-11-20T12:10:00Z'
                    complainant_number: '+918760798938'
                    description: Unsolicited call
                    status: pending
                    state: proof_needed
                    under_review: false
                    can_upload: true
                    proof_due_at: '2026-11-26T18:29:00Z'
                    sub_account_id: null
                    last_decision: null
                total: 1
                limit: 50
                offset: 0
        '400':
          description: A parameter is invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  code: validation_failed
                  message: invalid state
                  details:
                    - field: state
                      issue: >-
                        one of proof_needed, under_review, overdue, accepted,
                        rejected, closed
        '401':
          description: Missing or wrong Auth ID or Auth Token.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GatewayError'
              example:
                error:
                  code: 401
                  message: Invalid authentication credentials
        '403':
          description: >-
            The account in the URL isn't yours, or UCC complaints isn't enabled
            for your account (`ndnc_not_enabled`).
          content:
            application/json:
              schema:
                oneOf:
                  - $ref: '#/components/schemas/GatewayError'
                  - $ref: '#/components/schemas/Error'
              examples:
                account_mismatch:
                  summary: Account in the URL isn't yours
                  value:
                    error:
                      code: 403
                      message: 'Access denied: account ID mismatch'
                not_enabled:
                  summary: UCC complaints not enabled
                  value:
                    error:
                      code: ndnc_not_enabled
                      message: NDNC is not enabled for this account
components:
  parameters:
    AuthId:
      name: auth_id
      in: path
      required: true
      description: Your account Auth ID. It must match the `X-Auth-ID` header.
      schema:
        type: string
        example: MA_XXXXXXXX
  schemas:
    ComplaintState:
      type: string
      description: >-
        Where the complaint is in the process; matches the tabs on the console's
        Complaints page.
      enum:
        - proof_needed
        - under_review
        - overdue
        - accepted
        - rejected
        - closed
    ComplaintPage:
      type: object
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/Complaint'
        total:
          type: integer
          description: Complaints that match your filters.
        limit:
          type: integer
          description: Page size.
        offset:
          type: integer
          description: Results skipped.
    Error:
      type: object
      description: Error returned by the UCC Complaints API.
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
          properties:
            code:
              type: string
              description: >-
                Machine-readable error code, such as `validation_failed` or
                `not_found`.
            message:
              type: string
              description: Human-readable message.
            details:
              type: array
              description: Fields that failed validation.
              items:
                type: object
                properties:
                  field:
                    type: string
                    description: The field or parameter.
                  issue:
                    type: string
                    description: What's wrong with it.
    GatewayError:
      type: object
      description: Authentication or authorization error.
      properties:
        error:
          type: object
          properties:
            code:
              type: integer
              description: HTTP status code.
            message:
              type: string
              description: Human-readable message.
    Complaint:
      type: object
      properties:
        vobiz_urn:
          type: string
          description: Vobiz reference for the complaint.
        did:
          type: string
          description: Your number the complaint is about, in E.164 format.
        complaint_date:
          type: string
          description: Date of the complaint.
          format: date
        call_at:
          type:
            - string
            - 'null'
          description: When the call was made (UTC).
          format: date-time
        complainant_number:
          type: string
          description: Number of the person who complained.
        description:
          type: string
          description: What the person reported.
        status:
          type: string
          description: The underlying status.
          enum:
            - pending
            - accepted
            - rejected
            - overdue
        state:
          $ref: '#/components/schemas/ComplaintState'
        under_review:
          type: boolean
          description: '`true` while a proof is being checked.'
        can_upload:
          type: boolean
          description: '`true` when you can upload proof now.'
        proof_due_at:
          type:
            - string
            - 'null'
          description: Proof deadline (UTC). It can't be extended.
          format: date-time
        sub_account_id:
          type:
            - string
            - 'null'
          description: The sub-account that owns the number, if any.
        last_decision:
          $ref: '#/components/schemas/Decision'
    Decision:
      type:
        - object
        - 'null'
      description: The latest review decision.
      properties:
        decision:
          type: string
          description: The decision.
        reason_code:
          type:
            - string
            - 'null'
          description: Why the proof was rejected or marked incomplete.
        note:
          type:
            - string
            - 'null'
          description: The reviewer's note.
  securitySchemes:
    AuthID:
      type: apiKey
      in: header
      name: X-Auth-ID
      description: Your Vobiz account Auth ID (`MA_XXXXXXXX`).
    AuthToken:
      type: apiKey
      in: header
      name: X-Auth-Token
      description: Your Vobiz account Auth Token.

````

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