curl --request GET \
--url https://client-api.salesfinity.co/v2/sequencer/tasks \
--header 'x-api-key: <api-key>'import requests
url = "https://client-api.salesfinity.co/v2/sequencer/tasks"
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://client-api.salesfinity.co/v2/sequencer/tasks', 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://client-api.salesfinity.co/v2/sequencer/tasks",
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://client-api.salesfinity.co/v2/sequencer/tasks"
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://client-api.salesfinity.co/v2/sequencer/tasks")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://client-api.salesfinity.co/v2/sequencer/tasks")
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": [
{
"_id": "507f1f77bcf86cd799439011",
"user": "<string>",
"contact": "507f1f77bcf86cd799439011",
"sequence": "<string>",
"sequence_step": "<string>",
"origin": "sequence",
"action": "call",
"state": "pending",
"priority": "high",
"subject": "<string>",
"note": "<string>",
"due_at": "2023-11-07T05:31:56Z",
"autoskip_at": "2023-11-07T05:31:56Z",
"completed_at": "2023-11-07T05:31:56Z",
"call_log": "<string>"
}
],
"pagination": {
"total": 123,
"page": 123,
"limit": 123,
"pages": 123
}
}{
"message": [
"limit must not be greater than 100"
],
"error": "Bad Request",
"statusCode": 400
}{
"message": "Forbidden resource",
"error": "Forbidden",
"statusCode": 403
}{
"message": "Too many requests",
"error": "Too Many Requests",
"statusCode": 429
}{
"message": "Internal server error",
"error": "Internal Server Error",
"statusCode": 500
}List tasks
The team’s sequencer task queue: the calls, emails and to-dos a cadence has produced, plus any one-off tasks reps created. Filter with action=call for the call queue.
curl --request GET \
--url https://client-api.salesfinity.co/v2/sequencer/tasks \
--header 'x-api-key: <api-key>'import requests
url = "https://client-api.salesfinity.co/v2/sequencer/tasks"
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://client-api.salesfinity.co/v2/sequencer/tasks', 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://client-api.salesfinity.co/v2/sequencer/tasks",
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://client-api.salesfinity.co/v2/sequencer/tasks"
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://client-api.salesfinity.co/v2/sequencer/tasks")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://client-api.salesfinity.co/v2/sequencer/tasks")
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": [
{
"_id": "507f1f77bcf86cd799439011",
"user": "<string>",
"contact": "507f1f77bcf86cd799439011",
"sequence": "<string>",
"sequence_step": "<string>",
"origin": "sequence",
"action": "call",
"state": "pending",
"priority": "high",
"subject": "<string>",
"note": "<string>",
"due_at": "2023-11-07T05:31:56Z",
"autoskip_at": "2023-11-07T05:31:56Z",
"completed_at": "2023-11-07T05:31:56Z",
"call_log": "<string>"
}
],
"pagination": {
"total": 123,
"page": 123,
"limit": 123,
"pages": 123
}
}{
"message": [
"limit must not be greater than 100"
],
"error": "Bad Request",
"statusCode": 400
}{
"message": "Forbidden resource",
"error": "Forbidden",
"statusCode": 403
}{
"message": "Too many requests",
"error": "Too Many Requests",
"statusCode": 429
}{
"message": "Internal server error",
"error": "Internal Server Error",
"statusCode": 500
}action=call for the call queue.Authorizations
Team-scoped API key generated in the Salesfinity dashboard under Settings -> Connections & API. A missing or invalid key returns HTTP 403.
Query Parameters
Results per page.
x <= 100Page number, 1-based.
Assignee to filter by, or all for every assignee on the team. Defaults to all.
pending is the working queue. held means the enrollment is paused. The rest are terminal.
pending, held, completed, skipped, expired, cancelled Use call to fetch the call queue.
call, manual_email, generic, linkedin_connect, linkedin_message, linkedin_view, linkedin_interact, meeting, sms Only tasks belonging to this sequence.
Cadence tasks (sequence) or a rep’s own to-dos (one_off).
sequence, one_off Only tasks for this contact.
Only tasks in this priority band.
high, medium, low Only tasks whose due date has passed.
ISO 8601. Only tasks due before this instant.
ISO 8601. Only tasks due after this instant.
Matches the contact behind the task.
Applied server-side across the whole result set, not just the page you asked for.
due, priority, action, prospect, company, sequence, last_activity Ignored by due, which is always oldest-first.
asc, desc