List the do-not-contact list
GET
/api/v1/outreach/do-not-contact
const url = 'https://digize.com/api/v1/outreach/do-not-contact?page=1&pageSize=50';const options = {method: 'GET', headers: {'x-api-key': '<x-api-key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://digize.com/api/v1/outreach/do-not-contact?page=1&pageSize=50' \ --header 'x-api-key: <x-api-key>'Everyone Outreach never contacts, the latest added first: no import adds them and no campaign enrols them. reason keeps those a member added or who opted_out in a reply.
Needs the outreach:read permission.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”search
string
reason
Array<string>
page
integer
pageSize
integer
Responses
Section titled “Responses”Done
Media typeapplication/json
object
data
required
Array<object>
object
id
required
string
name
required
string
contactId
required
string | null
profileUrl
required
string | null
email
required
string | null
reason
required
Added (by a member) or opted_out (from a reply).
string
detail
required
string | null
conversationId
required
string | null
addedBy
required
string
addedAt
required
string format: date-time
total
required
number
page
required
number
Example
{ "data": [ { "reason": "added" } ]}What was sent isn’t valid (invalid).
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
object
key
additional properties
any
Example
{ "error": { "code": "invalid" }}No key, or one that’s unknown, off or expired.
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
object
key
additional properties
any
Example
{ "error": { "code": "invalid" }}The key doesn’t have the permission this needs.
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
object
key
additional properties
any
Example
{ "error": { "code": "invalid" }}Nothing has that id (not_found).
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
object
key
additional properties
any
Example
{ "error": { "code": "invalid" }}Over the rate limit; see retry-after.
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
object
key
additional properties
any
Example
{ "error": { "code": "invalid" }}