curl --request POST \
--url https://api.getoneprofile.ai/sequences/{sequence_id}/retry-runs/ \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"all": false,
"created_from": "2023-11-07T05:31:56Z",
"created_to": "2023-11-07T05:31:56Z",
"exclude": false,
"excluded_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"order_by": "created_at",
"order_direction": "desc",
"outcomes": [],
"search": "<string>",
"statuses": [],
"step_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"stop_reasons": []
}
'import requests
url = "https://api.getoneprofile.ai/sequences/{sequence_id}/retry-runs/"
payload = {
"all": False,
"created_from": "2023-11-07T05:31:56Z",
"created_to": "2023-11-07T05:31:56Z",
"exclude": False,
"excluded_ids": ["3c90c3cc-0d44-4b50-8888-8dd25736052a"],
"ids": ["3c90c3cc-0d44-4b50-8888-8dd25736052a"],
"order_by": "created_at",
"order_direction": "desc",
"outcomes": [],
"search": "<string>",
"statuses": [],
"step_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"stop_reasons": []
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
all: false,
created_from: '2023-11-07T05:31:56Z',
created_to: '2023-11-07T05:31:56Z',
exclude: false,
excluded_ids: ['3c90c3cc-0d44-4b50-8888-8dd25736052a'],
ids: ['3c90c3cc-0d44-4b50-8888-8dd25736052a'],
order_by: 'created_at',
order_direction: 'desc',
outcomes: [],
search: '<string>',
statuses: [],
step_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
stop_reasons: []
})
};
fetch('https://api.getoneprofile.ai/sequences/{sequence_id}/retry-runs/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.getoneprofile.ai/sequences/{sequence_id}/retry-runs/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'all' => false,
'created_from' => '2023-11-07T05:31:56Z',
'created_to' => '2023-11-07T05:31:56Z',
'exclude' => false,
'excluded_ids' => [
'3c90c3cc-0d44-4b50-8888-8dd25736052a'
],
'ids' => [
'3c90c3cc-0d44-4b50-8888-8dd25736052a'
],
'order_by' => 'created_at',
'order_direction' => 'desc',
'outcomes' => [
],
'search' => '<string>',
'statuses' => [
],
'step_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'stop_reasons' => [
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.getoneprofile.ai/sequences/{sequence_id}/retry-runs/"
payload := strings.NewReader("{\n \"all\": false,\n \"created_from\": \"2023-11-07T05:31:56Z\",\n \"created_to\": \"2023-11-07T05:31:56Z\",\n \"exclude\": false,\n \"excluded_ids\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"ids\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"order_by\": \"created_at\",\n \"order_direction\": \"desc\",\n \"outcomes\": [],\n \"search\": \"<string>\",\n \"statuses\": [],\n \"step_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"stop_reasons\": []\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.getoneprofile.ai/sequences/{sequence_id}/retry-runs/")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"all\": false,\n \"created_from\": \"2023-11-07T05:31:56Z\",\n \"created_to\": \"2023-11-07T05:31:56Z\",\n \"exclude\": false,\n \"excluded_ids\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"ids\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"order_by\": \"created_at\",\n \"order_direction\": \"desc\",\n \"outcomes\": [],\n \"search\": \"<string>\",\n \"statuses\": [],\n \"step_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"stop_reasons\": []\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getoneprofile.ai/sequences/{sequence_id}/retry-runs/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"all\": false,\n \"created_from\": \"2023-11-07T05:31:56Z\",\n \"created_to\": \"2023-11-07T05:31:56Z\",\n \"exclude\": false,\n \"excluded_ids\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"ids\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"order_by\": \"created_at\",\n \"order_direction\": \"desc\",\n \"outcomes\": [],\n \"search\": \"<string>\",\n \"statuses\": [],\n \"step_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"stop_reasons\": []\n}"
response = http.request(request)
puts response.read_body{
"created_at": "2023-11-07T05:31:56Z",
"done": 123,
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"in_other_sequence": 123,
"missing_values": [
"<string>"
],
"retried": 123,
"sequence_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "queued",
"still_missing": 123,
"total": 123,
"updated_at": "2023-11-07T05:31:56Z"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>",
"issues": [
{
"input": "<string>",
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}Retry a sequence's failed contacts
Re-queues each FAILED contact at the exact step that broke. A failure preserves its step pointer, so a retry is a re-attempt, never a restart. A failed contact another live sequence has taken since stays failed here and is counted in in_other_sequence. One a Browser use step failed for an empty value stays failed while the value is still empty, counted in still_missing with the values named in missing_values. Idempotent: a second retry retries nothing. To retry every failed contact, send all=true with statuses of failed. Takes the Audience tab’s selection: listed ids, or all=true for every contact the given filters match, less any excluded_ids. Answers at once with a Run that works through the failed contacts among the selection in the background; total is how many it reaches, and a contact that fails afterwards is not part of it. Read .../retry-runs/{run_id}/ until status is succeeded or failed for its counts. A failed Run keeps what it reached and leaves the rest failed. One retry of a sequence runs at a time: asking while one is queued or running starts nothing and answers 409. .../retry-runs/preview/ counts the contacts first, changing nothing.
curl --request POST \
--url https://api.getoneprofile.ai/sequences/{sequence_id}/retry-runs/ \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"all": false,
"created_from": "2023-11-07T05:31:56Z",
"created_to": "2023-11-07T05:31:56Z",
"exclude": false,
"excluded_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"order_by": "created_at",
"order_direction": "desc",
"outcomes": [],
"search": "<string>",
"statuses": [],
"step_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"stop_reasons": []
}
'import requests
url = "https://api.getoneprofile.ai/sequences/{sequence_id}/retry-runs/"
payload = {
"all": False,
"created_from": "2023-11-07T05:31:56Z",
"created_to": "2023-11-07T05:31:56Z",
"exclude": False,
"excluded_ids": ["3c90c3cc-0d44-4b50-8888-8dd25736052a"],
"ids": ["3c90c3cc-0d44-4b50-8888-8dd25736052a"],
"order_by": "created_at",
"order_direction": "desc",
"outcomes": [],
"search": "<string>",
"statuses": [],
"step_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"stop_reasons": []
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
all: false,
created_from: '2023-11-07T05:31:56Z',
created_to: '2023-11-07T05:31:56Z',
exclude: false,
excluded_ids: ['3c90c3cc-0d44-4b50-8888-8dd25736052a'],
ids: ['3c90c3cc-0d44-4b50-8888-8dd25736052a'],
order_by: 'created_at',
order_direction: 'desc',
outcomes: [],
search: '<string>',
statuses: [],
step_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
stop_reasons: []
})
};
fetch('https://api.getoneprofile.ai/sequences/{sequence_id}/retry-runs/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.getoneprofile.ai/sequences/{sequence_id}/retry-runs/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'all' => false,
'created_from' => '2023-11-07T05:31:56Z',
'created_to' => '2023-11-07T05:31:56Z',
'exclude' => false,
'excluded_ids' => [
'3c90c3cc-0d44-4b50-8888-8dd25736052a'
],
'ids' => [
'3c90c3cc-0d44-4b50-8888-8dd25736052a'
],
'order_by' => 'created_at',
'order_direction' => 'desc',
'outcomes' => [
],
'search' => '<string>',
'statuses' => [
],
'step_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'stop_reasons' => [
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.getoneprofile.ai/sequences/{sequence_id}/retry-runs/"
payload := strings.NewReader("{\n \"all\": false,\n \"created_from\": \"2023-11-07T05:31:56Z\",\n \"created_to\": \"2023-11-07T05:31:56Z\",\n \"exclude\": false,\n \"excluded_ids\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"ids\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"order_by\": \"created_at\",\n \"order_direction\": \"desc\",\n \"outcomes\": [],\n \"search\": \"<string>\",\n \"statuses\": [],\n \"step_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"stop_reasons\": []\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.getoneprofile.ai/sequences/{sequence_id}/retry-runs/")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"all\": false,\n \"created_from\": \"2023-11-07T05:31:56Z\",\n \"created_to\": \"2023-11-07T05:31:56Z\",\n \"exclude\": false,\n \"excluded_ids\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"ids\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"order_by\": \"created_at\",\n \"order_direction\": \"desc\",\n \"outcomes\": [],\n \"search\": \"<string>\",\n \"statuses\": [],\n \"step_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"stop_reasons\": []\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getoneprofile.ai/sequences/{sequence_id}/retry-runs/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"all\": false,\n \"created_from\": \"2023-11-07T05:31:56Z\",\n \"created_to\": \"2023-11-07T05:31:56Z\",\n \"exclude\": false,\n \"excluded_ids\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"ids\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"order_by\": \"created_at\",\n \"order_direction\": \"desc\",\n \"outcomes\": [],\n \"search\": \"<string>\",\n \"statuses\": [],\n \"step_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"stop_reasons\": []\n}"
response = http.request(request)
puts response.read_body{
"created_at": "2023-11-07T05:31:56Z",
"done": 123,
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"in_other_sequence": 123,
"missing_values": [
"<string>"
],
"retried": 123,
"sequence_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "queued",
"still_missing": 123,
"total": 123,
"updated_at": "2023-11-07T05:31:56Z"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>",
"issues": [
{
"input": "<string>",
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}Body
Which contacts a bulk action on the Audience tab reaches.
Send ids for contacts picked one by one. Send all: true for every
contact the filters below match (every contact, with none), less any
excluded_ids, resolved on the server at the moment of the action so it
covers every match across pages. A body that names nobody is refused.
Only contacts whose latest settled Browser use run took one of these outcomes: the grid's Outcome filter.
Which way an edge leaves its step.
DEFAULT for message-step flow; YES/NO for a condition's two branches. A connection request leaves by the answer it got: CONNECTED (accepted, and already connected unless that has a branch of its own), ALREADY_CONNECTED (present only when the request splits it out) and NOT_ACCEPTED.
A Browser use step leaves by the outcome its run reached: OUTCOME_1 to
OUTCOME_8 are fixed slots whose words the step's browser_config holds
(a slot is never given to a second outcome once its first is removed), and
NEEDS_HUMAN is the way every run may end, when the site wanted something
only a person can give. Fixed slots rather than free keys, so a branch
still fits the stored columns, the edge's unique constraint and every
reader of this enum.
default, yes, no, connected, already_connected, not_accepted, outcome_1, outcome_2, outcome_3, outcome_4, outcome_5, outcome_6, outcome_7, outcome_8, needs_human Where one contact stands in one sequence.
ACTIVE rows carry a due_at and are what the tick claims; CLAIMED is the
in-flight guard between claim and outcome. PAUSED is a deliberate
per-contact hold: unclaimable because the tick claims strictly on ACTIVE,
yet still LIVE. It keeps its step and its one-live-sequence slot, and a
compliance stop (reply, unsubscribe) reaches it. Everything else is
settled: COMPLETED walked off the end; STOPPED was halted (reply,
unsubscribe, bounce, manual, company pause); FAILED is terminal;
SUPPRESSED was on the do-not-contact list;
SKIPPED_DUPLICATE lost the one-live-sequence-per-contact rule, with the
reason visible in the grid.
A contact the workspace's recontact rule refuses is STOPPED with
StopReason.COOLDOWN. There is deliberately no held state: a cooldown
settles a contact rather than parking them, so nothing here waits on a date
and nothing lets itself out later.
AWAITING_ACTION is a contact parked behind a task that needs a person or a channel, modelled on PAUSED: live, keeps its step and its one-live-sequence slot, unclaimable because the tick claims strictly on ACTIVE, and a compliance stop reaches it. Unlike PAUSED nobody wakes it by hand: only the outreach-task sweep does, once the task it waits on is decided or delivered. Deliberately not "awaiting approval": an AUTO-mode LinkedIn park is waiting for a browser rather than for anyone's approval, and this value is the word the Contacts tab shows for both.
PENDING is a draft's roster: in, standing on a step, and NOT live. Binding
an audience enrols on the spot so the Contacts tab can show who is in, but
a sequence nobody has launched must not hold anybody's one-live-sequence
slot, or a second sequence written for the same people skips them all.
uq_sequence_enrolment_one_live leaves PENDING out, the tick never
claims it, and launch turns each row ACTIVE, settling the ones another
sequence took meanwhile as SKIPPED_DUPLICATE.
pending, active, claimed, paused, awaiting_action, completed, stopped, failed, suppressed, skipped_duplicate Response
Successful Response
One retry of a sequence's failed contacts, run in the background.
Its counts grow as it works through its contacts; once status is
succeeded or failed they are final. A failed Run keeps what it
reached: the rest stay failed, and a new retry picks them up.
Was this page helpful?