Resume a campaign
const url = 'https://digize.com/api/v1/outreach/campaigns/example/resume';const options = { method: 'POST', headers: { 'Idempotency-Key': '5f1c2a8e-3b7d-4c55-9a0e-1f2d3c4b5a69', '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 POST \ --url https://digize.com/api/v1/outreach/campaigns/example/resume \ --header 'Idempotency-Key: 5f1c2a8e-3b7d-4c55-9a0e-1f2d3c4b5a69' \ --header 'x-api-key: <x-api-key>'Lets a paused campaign carry on: its held LinkedIn actions go out again through the queue and its runs carry on from where they waited.
Needs the outreach:write permission. It can’t be undone.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Header Parameters
Section titled “Header Parameters”Makes the request safe to send again: for 24 hours the same key and request answer the first response without repeating the change.
Example
5f1c2a8e-3b7d-4c55-9a0e-1f2d3c4b5a69Responses
Section titled “Responses”Done
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
{ "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" }}A request with the same Idempotency-Key is still running (conflict).
object
object
object
Example
{ "error": { "code": "invalid" }}The Idempotency-Key was used with a different request.
object
object
object
Example
{ "error": { "code": "invalid" }}Over the rate limit; see retry-after.
object
object
object
Example
{ "error": { "code": "invalid" }}