List campaigns
const url = 'https://digize.com/api/v1/outreach/campaigns';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/campaigns \ --header 'x-api-key: <x-api-key>'The workspace’s Outreach campaigns, the latest changed first, each with its steps, the accounts it sends from, its list and its funnel: prospects taken in, visited, invited, accepted, messaged, replied, watched their video and booked.
Needs the outreach:read permission.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Done
object
object
Its automation workflow, which runs one run per prospect.
The LinkedIn accounts it sends from (unipile.accounts.list).
object
object
Empty for a request without a note, which LinkedIn accepts most often. Merge tags such as {{first_name}}; at most 300 characters once filled.
How long to wait for them to accept.
object
Take the request back when nobody accepted in time.
object
object
The LinkedIn message, with merge tags: {{first_name}}, {{last_name}}, {{full_name}}, {{company}}, {{headline}}, {{prospect.comment}} (their comment on the post), {{post_url}}, {{my_first_name}}, {{video.link}} and {{video.thumbnail}} (their personalised video page).
To someone who isn’t a connection: an InMail (Premium and Sales Navigator accounts), or skipped.
The InMail’s subject.
object
Sent from the workspace’s sending domain to those with an email.
object
A reply on LinkedIn ends their run.
A reply by email ends their run.
Booking a meeting ends their run.
Opened in Automations: its workflow is edited there, and its steps here are read-only.
object
object
Sent a connection request, or had one already.
Connected with the account they go out from.
Watched their personalised video page.
What stops its steps from running, by step id (empty for the campaign).
object
Example
{ "data": [ { "status": "draft", "workflowStatus": "draft", "steps": [ { "kind": "visit" } ] } ]}What was sent isn’t valid (invalid).
object
object
object
Example
{ "error": { "code": "invalid" }}No key, or one that’s unknown, off or expired.
object
object
object
Example
{ "error": { "code": "invalid" }}The key doesn’t have the permission this needs.
object
object
object
Example
{ "error": { "code": "invalid" }}Nothing has that id (not_found).
object
object
object
Example
{ "error": { "code": "invalid" }}Over the rate limit; see retry-after.
object
object
object
Example
{ "error": { "code": "invalid" }}