Skip to main content
GET

Overview

Fetch all phone numbers that have been added to your organization’s Do Not Call list. Results are paginated and can be filtered by search term. The list is automatically scoped to your organization based on your authentication token.

Prerequisites

  • Bearer token for authenticated workspace access
  • Organization membership (automatically determined from your user account)

Request

string
required
Bearer token for the authenticated workspace account.
integer
default:"1"
Page number for pagination. Minimum value is 1.
integer
default:"10"
Number of DNC entries to return per page. Default is 10.
Optional search term to filter results. Searches across phone number, type, and requestUUID fields (case-insensitive).

Response

array
required
Array of DNC entries matching the query parameters.
string
required
Unique identifier for the DNC record.
string
required
Phone number in the DNC list (with country code).
string
Optional classification type for the DNC entry.
string
required
Organization ID that owns this DNC entry.
string
required
Batch ID associated with the call that triggered the DNC entry.
string
required
UUID of the specific call record from the batch.
string
URL to the call recording (if available).
string
Call transcription text (if available).
string
required
ISO 8601 timestamp when the DNC entry was created.
object
required
Pagination metadata for the current query.
integer
required
Total number of DNC entries matching the search criteria.
integer
required
Current page number.
integer
required
Number of entries per page.
integer
required
Total number of pages available.

Error Handling

  • 500 Internal Server Error – Server error while fetching the DNC list.
Use the search parameter to quickly find specific phone numbers or filter by type. The search is case-insensitive and matches partial strings.

Authorizations

Authorization
string
header
required

Bearer token authentication for workspace access

Query Parameters

page
integer
default:1
limit
integer
default:10

Response

DNC list fetched successfully