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

# Get a UCC complaint (Beta)

> Retrieve one UCC complaint by its Vobiz reference, with every proof you've uploaded for it and the review outcome.

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

`proofs` lists every file you've submitted for the complaint, with the review decision once it's made. It's an empty array when no proof has been uploaded yet.


## OpenAPI

````yaml openapi-ndnc.yaml GET /api/v1/Account/{auth_id}/ndnc/complaints/{vobiz_urn}
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/{vobiz_urn}:
    get:
      tags:
        - Complaints
      summary: Get a UCC complaint
      description: >
        Retrieve one complaint by its Vobiz reference, with every proof you've
        uploaded for it and the review outcome.


        **Beta.** Changes might be possible. To enable UCC complaints for your
        account, email support@vobiz.ai.
      operationId: get-ucc-complaint
      parameters:
        - $ref: '#/components/parameters/AuthId'
        - name: vobiz_urn
          in: path
          required: true
          description: The complaint's Vobiz reference.
          schema:
            type: string
            example: VUCC-000003
      responses:
        '200':
          description: The complaint, with its proofs.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ComplaintDetail'
              example:
                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: under_review
                under_review: true
                can_upload: false
                proof_due_at: '2026-11-26T18:29:00Z'
                sub_account_id: null
                last_decision: null
                proofs:
                  - id: 42
                    vobiz_urn: VUCC-000003
                    s3_key: ndnc/proofs/VUCC-000003/1763640000000000000-consent.pdf
                    file_name: consent.pdf
                    note: Opt-in collected on our website form
                    submitted_by: MA_XXXXXXXX
                    decision: null
                    reason_code: null
                    decision_note: null
                    decided_at: null
                    outcome: null
                    outcome_note: null
                    outcome_at: null
                    created_at: '2026-11-21T09:30:00Z'
        '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
        '404':
          description: The complaint doesn't exist or isn't yours.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  code: not_found
                  message: complaint VUCC-999999 not found
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:
    ComplaintDetail:
      allOf:
        - $ref: '#/components/schemas/Complaint'
        - type: object
          properties:
            proofs:
              type: array
              description: Proofs uploaded for the complaint. Empty when none.
              items:
                $ref: '#/components/schemas/Proof'
    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.
    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.
    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'
    Proof:
      type: object
      properties:
        id:
          type: integer
          description: Proof ID.
        vobiz_urn:
          type: string
          description: The complaint's Vobiz reference.
        s3_key:
          type: string
          description: Where the file is stored.
        file_name:
          type: string
          description: Name of the file you uploaded.
        note:
          type:
            - string
            - 'null'
          description: Your note for the reviewer.
        submitted_by:
          type: string
          description: The account that submitted the proof.
        decision:
          type:
            - string
            - 'null'
          description: The review decision, once made.
        reason_code:
          type:
            - string
            - 'null'
          description: Why the proof was rejected or marked incomplete.
        decision_note:
          type:
            - string
            - 'null'
          description: The reviewer's note.
        decided_at:
          type:
            - string
            - 'null'
          description: When the decision was made (UTC).
          format: date-time
        outcome:
          type:
            - string
            - 'null'
          description: The final outcome of the complaint, once known.
        outcome_note:
          type:
            - string
            - 'null'
          description: A note about the final outcome.
        outcome_at:
          type:
            - string
            - 'null'
          description: When the final outcome was recorded (UTC).
          format: date-time
        created_at:
          type: string
          description: When you submitted the proof (UTC).
          format: date-time
    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
    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.