curl --request POST \
--url https://api.reply.io/v3/tasks/filter \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"from": "2023-11-07T05:31:56Z",
"to": "2023-11-07T05:31:56Z",
"sequenceIds": [
123
],
"sequenceStepIds": [
123
],
"timeZoneIds": [
"<string>"
],
"contactId": 123,
"assignedUserId": 123,
"overdue": true
}
'import requests
url = "https://api.reply.io/v3/tasks/filter"
payload = {
"from": "2023-11-07T05:31:56Z",
"to": "2023-11-07T05:31:56Z",
"sequenceIds": [123],
"sequenceStepIds": [123],
"timeZoneIds": ["<string>"],
"contactId": 123,
"assignedUserId": 123,
"overdue": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
from: '2023-11-07T05:31:56Z',
to: '2023-11-07T05:31:56Z',
sequenceIds: [123],
sequenceStepIds: [123],
timeZoneIds: ['<string>'],
contactId: 123,
assignedUserId: 123,
overdue: true
})
};
fetch('https://api.reply.io/v3/tasks/filter', 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.reply.io/v3/tasks/filter",
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([
'from' => '2023-11-07T05:31:56Z',
'to' => '2023-11-07T05:31:56Z',
'sequenceIds' => [
123
],
'sequenceStepIds' => [
123
],
'timeZoneIds' => [
'<string>'
],
'contactId' => 123,
'assignedUserId' => 123,
'overdue' => true
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$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.reply.io/v3/tasks/filter"
payload := strings.NewReader("{\n \"from\": \"2023-11-07T05:31:56Z\",\n \"to\": \"2023-11-07T05:31:56Z\",\n \"sequenceIds\": [\n 123\n ],\n \"sequenceStepIds\": [\n 123\n ],\n \"timeZoneIds\": [\n \"<string>\"\n ],\n \"contactId\": 123,\n \"assignedUserId\": 123,\n \"overdue\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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.reply.io/v3/tasks/filter")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"from\": \"2023-11-07T05:31:56Z\",\n \"to\": \"2023-11-07T05:31:56Z\",\n \"sequenceIds\": [\n 123\n ],\n \"sequenceStepIds\": [\n 123\n ],\n \"timeZoneIds\": [\n \"<string>\"\n ],\n \"contactId\": 123,\n \"assignedUserId\": 123,\n \"overdue\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.reply.io/v3/tasks/filter")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"from\": \"2023-11-07T05:31:56Z\",\n \"to\": \"2023-11-07T05:31:56Z\",\n \"sequenceIds\": [\n 123\n ],\n \"sequenceStepIds\": [\n 123\n ],\n \"timeZoneIds\": [\n \"<string>\"\n ],\n \"contactId\": 123,\n \"assignedUserId\": 123,\n \"overdue\": true\n}"
response = http.request(request)
puts response.read_body{
"items": [
{
"id": 123,
"taskType": "toDo",
"status": "new",
"linkedInTaskType": "message",
"assignedUserId": 123,
"contact": {
"id": 123,
"fullName": "<string>"
},
"startAt": "2023-11-07T05:31:56Z",
"dueTo": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"isScheduled": true,
"sequenceId": 123,
"sequenceStepId": 123
}
],
"hasMore": true
}{
"title": "Validation failed",
"status": 400,
"detail": "The request contains validation errors.",
"errors": [
{
"pointer": "top",
"detail": "'top' must be between 1 and 1000."
},
{
"pointer": "/to",
"detail": "'to' must be greater than or equal to 'from'."
}
]
}{
"title": "Unauthorized",
"status": 401,
"detail": "Authentication credentials are missing or invalid."
}{
"title": "Forbidden",
"status": 403,
"detail": "Feature scopes [ViewTask] are denied for userId 123.",
"code": "task.forbidden"
}{
"title": "Too Many Requests",
"status": 429,
"detail": "Rate limit exceeded. Retry after 60 seconds."
}Filter tasks
tasks:read scope (or a broader one that includes it).
Narrow the task list by due date, type, status, or overdue. Every field is optional, so an empty object returns them all.
curl --request POST \
--url https://api.reply.io/v3/tasks/filter \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"from": "2023-11-07T05:31:56Z",
"to": "2023-11-07T05:31:56Z",
"sequenceIds": [
123
],
"sequenceStepIds": [
123
],
"timeZoneIds": [
"<string>"
],
"contactId": 123,
"assignedUserId": 123,
"overdue": true
}
'import requests
url = "https://api.reply.io/v3/tasks/filter"
payload = {
"from": "2023-11-07T05:31:56Z",
"to": "2023-11-07T05:31:56Z",
"sequenceIds": [123],
"sequenceStepIds": [123],
"timeZoneIds": ["<string>"],
"contactId": 123,
"assignedUserId": 123,
"overdue": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
from: '2023-11-07T05:31:56Z',
to: '2023-11-07T05:31:56Z',
sequenceIds: [123],
sequenceStepIds: [123],
timeZoneIds: ['<string>'],
contactId: 123,
assignedUserId: 123,
overdue: true
})
};
fetch('https://api.reply.io/v3/tasks/filter', 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.reply.io/v3/tasks/filter",
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([
'from' => '2023-11-07T05:31:56Z',
'to' => '2023-11-07T05:31:56Z',
'sequenceIds' => [
123
],
'sequenceStepIds' => [
123
],
'timeZoneIds' => [
'<string>'
],
'contactId' => 123,
'assignedUserId' => 123,
'overdue' => true
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$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.reply.io/v3/tasks/filter"
payload := strings.NewReader("{\n \"from\": \"2023-11-07T05:31:56Z\",\n \"to\": \"2023-11-07T05:31:56Z\",\n \"sequenceIds\": [\n 123\n ],\n \"sequenceStepIds\": [\n 123\n ],\n \"timeZoneIds\": [\n \"<string>\"\n ],\n \"contactId\": 123,\n \"assignedUserId\": 123,\n \"overdue\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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.reply.io/v3/tasks/filter")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"from\": \"2023-11-07T05:31:56Z\",\n \"to\": \"2023-11-07T05:31:56Z\",\n \"sequenceIds\": [\n 123\n ],\n \"sequenceStepIds\": [\n 123\n ],\n \"timeZoneIds\": [\n \"<string>\"\n ],\n \"contactId\": 123,\n \"assignedUserId\": 123,\n \"overdue\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.reply.io/v3/tasks/filter")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"from\": \"2023-11-07T05:31:56Z\",\n \"to\": \"2023-11-07T05:31:56Z\",\n \"sequenceIds\": [\n 123\n ],\n \"sequenceStepIds\": [\n 123\n ],\n \"timeZoneIds\": [\n \"<string>\"\n ],\n \"contactId\": 123,\n \"assignedUserId\": 123,\n \"overdue\": true\n}"
response = http.request(request)
puts response.read_body{
"items": [
{
"id": 123,
"taskType": "toDo",
"status": "new",
"linkedInTaskType": "message",
"assignedUserId": 123,
"contact": {
"id": 123,
"fullName": "<string>"
},
"startAt": "2023-11-07T05:31:56Z",
"dueTo": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"isScheduled": true,
"sequenceId": 123,
"sequenceStepId": 123
}
],
"hasMore": true
}{
"title": "Validation failed",
"status": 400,
"detail": "The request contains validation errors.",
"errors": [
{
"pointer": "top",
"detail": "'top' must be between 1 and 1000."
},
{
"pointer": "/to",
"detail": "'to' must be greater than or equal to 'from'."
}
]
}{
"title": "Unauthorized",
"status": 401,
"detail": "Authentication credentials are missing or invalid."
}{
"title": "Forbidden",
"status": 403,
"detail": "Feature scopes [ViewTask] are denied for userId 123.",
"code": "task.forbidden"
}{
"title": "Too Many Requests",
"status": 429,
"detail": "Rate limit exceeded. Retry after 60 seconds."
}Authorizations
Authenticate every request with a Bearer token. Pass your Reply API key in the
Authorization header:
Authorization: Bearer <your-api-key>
Get your API key from the Reply dashboard: Settings → API Key.
Query Parameters
Maximum number of items to return (default 25, max 1000).
Number of items to skip.
Body
Request body for the POST /tasks/filter endpoint.
All fields are optional — an empty object {} returns all tasks visible to the caller.
Filter tasks with StartAt >= this value. Defaults to 2000-01-01 if omitted.
Filter tasks with StartAt <= this value. Must be after from when both are provided. Defaults to now + 1 year if omitted.
Filter by task type. Must be a valid enum value.
Possible values: toDo, call, meeting, linkedIn, manualEmail, sms, whatsApp.
toDo, call, meeting, linkedIn, manualEmail, sms, whatsApp Filter by task status. Must be a valid enum value.
Possible values: new, finished, cancelled, archived, sequenceDetached.
new, finished, cancelled, archived, sequenceDetached Filter tasks belonging to these sequences.
Filter tasks belonging to these sequence steps.
Filter by prospect timezone (e.g. "America/New_York").
Filter tasks for a specific contact.
Filter tasks assigned to a specific user. Only returns results if the caller has permission to view that user's tasks.
Filter by overdue status. true = overdue only, false = not overdue only, null = all.