curl --request GET \
--url https://api.getoneprofile.ai/sequences/ \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.getoneprofile.ai/sequences/"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.getoneprofile.ai/sequences/', 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/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"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"
"net/http"
"io"
)
func main() {
url := "https://api.getoneprofile.ai/sequences/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.getoneprofile.ai/sequences/")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getoneprofile.ai/sequences/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"audience_table_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"audience_view_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"column_mapping": {
"company_domain_column_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"email_column_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"email_deliverability_column_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"email_deliverability_results": [
"valid"
],
"linkedin_url_column_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"created_at": "2023-11-07T05:31:56Z",
"edges": [
{
"branch": "default",
"from_step_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"to_step_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"launched_at": "2023-11-07T05:31:56Z",
"multithreading": {},
"name": "<string>",
"opt_out_footer_text": "<string>",
"pause_reason": "<string>",
"sending_window": {},
"status": "draft",
"status_column_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"step_count": 123,
"steps": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"kind": "message",
"agent_prompt_key": "<string>",
"agent_subject": false,
"authoring": "written",
"body_segments": [
{
"kind": "text",
"builtin": "sender_first_name",
"column_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"fallback": "",
"options": [
"<string>"
],
"path": "<string>",
"required": true,
"text": ""
}
],
"browser_config": {
"outcomes": [
{
"key": "default",
"label": "<string>"
}
],
"goal_segments": [
{
"kind": "text",
"builtin": "sender_first_name",
"column_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"fallback": "",
"options": [
"<string>"
],
"path": "<string>",
"required": true,
"text": ""
}
],
"inbox_access": false,
"outputs": [
{
"key": "<string>",
"name": "<string>",
"choices": [
"<string>"
],
"description": "",
"field_type": "text",
"hidden": false
}
],
"retired_outcome_keys": [
"default"
],
"retired_output_keys": [
"<string>"
]
},
"condition_kind": "has_email",
"condition_window_days": 45,
"counting_since": "2023-11-07T05:31:56Z",
"position": 0,
"prompt": "",
"reply_to_step_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"requires_approval": false,
"save_to_table": true,
"share": 50,
"subject_segments": [
{
"kind": "text",
"builtin": "sender_first_name",
"column_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"fallback": "",
"options": [
"<string>"
],
"path": "<string>",
"required": true,
"text": ""
}
],
"test_result": {
"can_undo": true,
"ended_at": "2023-11-07T05:31:56Z",
"tallies": [
{
"key": "a",
"positive": 123,
"replied": 123,
"sent": 123
}
],
"verdict": "<string>",
"winner": "a",
"named_winner": "a",
"winner_named": false
},
"title": "<string>",
"version_split": "even",
"versions": [
{
"key": "a",
"body_segments": [
{
"kind": "text",
"builtin": "sender_first_name",
"column_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"fallback": "",
"options": [
"<string>"
],
"path": "<string>",
"required": true,
"text": ""
}
],
"counting_since": "2023-11-07T05:31:56Z",
"prompt": "",
"share": 50,
"subject_segments": [
{
"kind": "text",
"builtin": "sender_first_name",
"column_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"fallback": "",
"options": [
"<string>"
],
"path": "<string>",
"required": true,
"text": ""
}
]
}
],
"wait_amount": 0,
"wait_unit": "days"
}
],
"updated_at": "2023-11-07T05:31:56Z",
"audience_table_name": "<string>",
"bcc_addresses": [
"<string>"
],
"browser_credits": 123,
"browser_needs_human": 123,
"browser_only": false,
"browser_runs": 123,
"cc_addresses": [
"<string>"
],
"connection_requests_sent": 123,
"connections_accepted": 123,
"contacts_added": 123,
"contacts_blocked": 123,
"contacts_done": 123,
"contacts_failed": 123,
"contacts_finished": 123,
"contacts_in_progress": 123,
"contacts_not_started": 123,
"continuous_enrolment": false,
"deleted_at": "2023-11-07T05:31:56Z",
"deleted_by": "<string>",
"deleted_by_user_id": "<string>",
"email_approval_mode": "<string>",
"emails_sent": 123,
"enrolment_sync": {
"status": "adding",
"error": "<string>"
},
"folder_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"folder_path": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>"
}
],
"hold": {
"contacts": 123,
"reason": "linkedin_verify_account",
"long_offline": false,
"sender_name": "<string>",
"until": "2023-11-07T05:31:56Z",
"window_open": true
},
"is_favorite": false,
"last_synced_at": "2023-11-07T05:31:56Z",
"last_viewed_at": "2023-11-07T05:31:56Z",
"linkedin_approval_mode": "<string>",
"linkedin_check_max_seconds": 123,
"linkedin_check_min_seconds": 123,
"linkedin_messages_sent": 123,
"opportunity_values": {},
"out_of_office_days_after": 0,
"out_of_office_wait": true,
"outbound_agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"pending_columns": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"most_tenths": 123,
"name": "<string>"
}
],
"plain_text_only": true,
"positive": 123,
"positive_rate": 123,
"preview_accepted_path": false,
"replies": 123,
"reply_rate": 123,
"sender_profile_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"sender_profile_names": [
"<string>"
],
"senders_ready": true,
"sending_priority": "follow_ups",
"sending_window_problem": {
"field": [
"<string>"
],
"message": "<string>"
},
"skip_views_without_linkedin": false,
"spending_limit_tenths": 123,
"stop_company_on_reply": false,
"template_channel": "email",
"template_key": "<string>",
"trashed_with_folder_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"trashed_with_folder_name": "<string>"
}
],
"next_page_cursor": "<string>",
"previous_page_cursor": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>",
"issues": [
{
"input": "<string>",
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}List sequences
Name, status, senders, and the rollup metrics (contacts, sent, reply rate) from the workspace’s cached stats, served at once whatever their age. When they are more than five minutes old a refresh runs in the background. GET /sequences/length/ says when the numbers were computed and whether a refresh is running: read both again a few seconds later for the newer numbers. Only a workspace whose stats have never been built waits for them. What holds a running sequence (hold, such as the tasks waiting for approval) is read live on every request, never from the cached stats, unless include_holds is false. Each sequence says whether the person asking starred it and when they last opened it: both are that person’s own. favorite keeps only the sequences they starred; recent keeps only the ones they opened, the latest open first, at most 20, and answers them whole as one page. An API key has no person, so both read empty for it.
trashed lists the sequences in Trash instead of the live ones, each with when it went there (deleted_at, which order_by sorts by too; a sequence not in Trash sorts there by when it was made) and its audience table’s name. Each can be restored (POST /sequences//restore/), or deleted for good early (DELETE /sequences//?permanently=true); otherwise Trash deletes it 30 days after it went there. One that went there with a folder is listed under the folder instead (GET /sequences/folders/?trashed=true), unless with_folder_trash asks for it too.
Each sequence names the folder it is filed in (folder_id, with folder_path from the top level down). folder_id keeps only the sequences directly in one folder, and top_level only the ones in none; the folders themselves are listed by GET /sequences/folders/.
curl --request GET \
--url https://api.getoneprofile.ai/sequences/ \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.getoneprofile.ai/sequences/"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.getoneprofile.ai/sequences/', 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/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"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"
"net/http"
"io"
)
func main() {
url := "https://api.getoneprofile.ai/sequences/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.getoneprofile.ai/sequences/")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getoneprofile.ai/sequences/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"audience_table_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"audience_view_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"column_mapping": {
"company_domain_column_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"email_column_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"email_deliverability_column_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"email_deliverability_results": [
"valid"
],
"linkedin_url_column_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"created_at": "2023-11-07T05:31:56Z",
"edges": [
{
"branch": "default",
"from_step_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"to_step_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"launched_at": "2023-11-07T05:31:56Z",
"multithreading": {},
"name": "<string>",
"opt_out_footer_text": "<string>",
"pause_reason": "<string>",
"sending_window": {},
"status": "draft",
"status_column_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"step_count": 123,
"steps": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"kind": "message",
"agent_prompt_key": "<string>",
"agent_subject": false,
"authoring": "written",
"body_segments": [
{
"kind": "text",
"builtin": "sender_first_name",
"column_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"fallback": "",
"options": [
"<string>"
],
"path": "<string>",
"required": true,
"text": ""
}
],
"browser_config": {
"outcomes": [
{
"key": "default",
"label": "<string>"
}
],
"goal_segments": [
{
"kind": "text",
"builtin": "sender_first_name",
"column_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"fallback": "",
"options": [
"<string>"
],
"path": "<string>",
"required": true,
"text": ""
}
],
"inbox_access": false,
"outputs": [
{
"key": "<string>",
"name": "<string>",
"choices": [
"<string>"
],
"description": "",
"field_type": "text",
"hidden": false
}
],
"retired_outcome_keys": [
"default"
],
"retired_output_keys": [
"<string>"
]
},
"condition_kind": "has_email",
"condition_window_days": 45,
"counting_since": "2023-11-07T05:31:56Z",
"position": 0,
"prompt": "",
"reply_to_step_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"requires_approval": false,
"save_to_table": true,
"share": 50,
"subject_segments": [
{
"kind": "text",
"builtin": "sender_first_name",
"column_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"fallback": "",
"options": [
"<string>"
],
"path": "<string>",
"required": true,
"text": ""
}
],
"test_result": {
"can_undo": true,
"ended_at": "2023-11-07T05:31:56Z",
"tallies": [
{
"key": "a",
"positive": 123,
"replied": 123,
"sent": 123
}
],
"verdict": "<string>",
"winner": "a",
"named_winner": "a",
"winner_named": false
},
"title": "<string>",
"version_split": "even",
"versions": [
{
"key": "a",
"body_segments": [
{
"kind": "text",
"builtin": "sender_first_name",
"column_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"fallback": "",
"options": [
"<string>"
],
"path": "<string>",
"required": true,
"text": ""
}
],
"counting_since": "2023-11-07T05:31:56Z",
"prompt": "",
"share": 50,
"subject_segments": [
{
"kind": "text",
"builtin": "sender_first_name",
"column_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"fallback": "",
"options": [
"<string>"
],
"path": "<string>",
"required": true,
"text": ""
}
]
}
],
"wait_amount": 0,
"wait_unit": "days"
}
],
"updated_at": "2023-11-07T05:31:56Z",
"audience_table_name": "<string>",
"bcc_addresses": [
"<string>"
],
"browser_credits": 123,
"browser_needs_human": 123,
"browser_only": false,
"browser_runs": 123,
"cc_addresses": [
"<string>"
],
"connection_requests_sent": 123,
"connections_accepted": 123,
"contacts_added": 123,
"contacts_blocked": 123,
"contacts_done": 123,
"contacts_failed": 123,
"contacts_finished": 123,
"contacts_in_progress": 123,
"contacts_not_started": 123,
"continuous_enrolment": false,
"deleted_at": "2023-11-07T05:31:56Z",
"deleted_by": "<string>",
"deleted_by_user_id": "<string>",
"email_approval_mode": "<string>",
"emails_sent": 123,
"enrolment_sync": {
"status": "adding",
"error": "<string>"
},
"folder_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"folder_path": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>"
}
],
"hold": {
"contacts": 123,
"reason": "linkedin_verify_account",
"long_offline": false,
"sender_name": "<string>",
"until": "2023-11-07T05:31:56Z",
"window_open": true
},
"is_favorite": false,
"last_synced_at": "2023-11-07T05:31:56Z",
"last_viewed_at": "2023-11-07T05:31:56Z",
"linkedin_approval_mode": "<string>",
"linkedin_check_max_seconds": 123,
"linkedin_check_min_seconds": 123,
"linkedin_messages_sent": 123,
"opportunity_values": {},
"out_of_office_days_after": 0,
"out_of_office_wait": true,
"outbound_agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"pending_columns": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"most_tenths": 123,
"name": "<string>"
}
],
"plain_text_only": true,
"positive": 123,
"positive_rate": 123,
"preview_accepted_path": false,
"replies": 123,
"reply_rate": 123,
"sender_profile_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"sender_profile_names": [
"<string>"
],
"senders_ready": true,
"sending_priority": "follow_ups",
"sending_window_problem": {
"field": [
"<string>"
],
"message": "<string>"
},
"skip_views_without_linkedin": false,
"spending_limit_tenths": 123,
"stop_company_on_reply": false,
"template_channel": "email",
"template_key": "<string>",
"trashed_with_folder_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"trashed_with_folder_name": "<string>"
}
],
"next_page_cursor": "<string>",
"previous_page_cursor": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>",
"issues": [
{
"input": "<string>",
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}Query Parameters
Response
Successful Response
Was this page helpful?