Find do not contact (dnc) items

GET {{baseUrl}}/contacts/dncs?fields=<string>&limit=<integer>&offset=<integer>&prefix=<string>&campaignId=<integer>&source=<string>&call=<boolean>&text=<boolean>&number=<string>

Searches for all Do Not Contact (DNC) objects created by user. These DoNotContact entries only affect calls/texts/campaigns on this account. Returns a paged list of DoNotContact objects

Request Params

KeyDatatypeRequiredDescription
fieldsstringLimit fields received in response. E.g. fields: id, name or fields items (id, name), see more at partial response page.
limitstringTo set the maximum number of records to return in a paged list response. The default is 100
offsetstringOffset to the start of a given page. The default is 0. Check pagination page for more information about pagination in CallFire API.
prefixstringPrefix (1-10 digits) of phone numbers
campaignIdstringAn id of a campaign, queries for calls included to a particular campaign. Specify null for all campaigns and 0 for default campaign
sourcestringA DNC source name to search for DNCs
callstringShow only Do-Not-Call numbers
textstringShow only Do-Not-Text numbers
numberstringMultiple contact numbers can be specified. If the number parameter is included, the other query parameters are ignored.