Get Outreach's compliance settings
GET
/api/v1/outreach/compliance
const url = 'https://digize.com/api/v1/outreach/compliance';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/compliance \ --header 'x-api-key: <x-api-key>'The opt-out phrases, whose LinkedIn messages come into Conversations, and how many are on the do-not-contact list.
Needs the outreach:read permission.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Done
Media typeapplication/json
object
optOutPhrases
required
A reply with one of these, in any case, is labelled Opt out at once and its contact goes on the do-not-contact list.
Array<string>
messagesFrom
required
Whose LinkedIn messages come into Conversations: only contacts already in the CRM, or everyone (a new contact for each).
string
entries
required
How many are on the do-not-contact list.
number
Example
{ "messagesFrom": "contacts"}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" }}