Skip to main content
GET

Overview

List the phone numbers on your organization’s Do Not Call list, newest first. The list covers the whole organization, not only entries added by the user who owns the API key.

Prerequisites

  • An API key for your workspace

Request

string
required
Your workspace API key. Create one from the profile menu in the dashboard → API Keys.
integer
default:"1"
Page number.
integer
default:"10"
Number of entries per page.
Case-insensitive text matched against the phone number, type and requestUUID. Partial matches are returned. The text is read as a regular expression, so leave out a leading + when searching for a number.

Response

array[object]
required
The DNC entries on this page.
string
required
DNC entry ID. Use it to remove the entry with Remove from DNC List.
string
required
The phone number, as it was added.
string
Call, Email or Whatsapp, if set.
string
required
Your organization ID.
string
Campaign the entry is linked to, if it was added from a call.
string
Call the entry is linked to, if any.
string
Recording of the linked call, if available.
string
Transcription of the linked call, if available.
string
required
When the entry was added (ISO 8601).
object
required
Pagination details: total, page, limit, totalPages, hasNextPage and hasPrevPage.

Error Handling

  • 401 Unauthorized – Missing or invalid API key.
  • 500 Internal Server Error – Unexpected server error.