Filter accounts
curl --request POST \
--url https://api.reply.io/v3/contact-accounts/filter \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"search": "<string>",
"sortBy": "<string>",
"listId": 123,
"filters": [
{
"values": "<unknown>"
}
]
}
'import requests
url = "https://api.reply.io/v3/contact-accounts/filter"
payload = {
"search": "<string>",
"sortBy": "<string>",
"listId": 123,
"filters": [{ "values": "<unknown>" }]
}
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({
search: '<string>',
sortBy: '<string>',
listId: 123,
filters: [{values: '<unknown>'}]
})
};
fetch('https://api.reply.io/v3/contact-accounts/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/contact-accounts/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([
'search' => '<string>',
'sortBy' => '<string>',
'listId' => 123,
'filters' => [
[
'values' => '<unknown>'
]
]
]),
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/contact-accounts/filter"
payload := strings.NewReader("{\n \"search\": \"<string>\",\n \"sortBy\": \"<string>\",\n \"listId\": 123,\n \"filters\": [\n {\n \"values\": \"<unknown>\"\n }\n ]\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/contact-accounts/filter")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"search\": \"<string>\",\n \"sortBy\": \"<string>\",\n \"listId\": 123,\n \"filters\": [\n {\n \"values\": \"<unknown>\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.reply.io/v3/contact-accounts/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 \"search\": \"<string>\",\n \"sortBy\": \"<string>\",\n \"listId\": 123,\n \"filters\": [\n {\n \"values\": \"<unknown>\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"items": [
{
"id": 123,
"ownerUserId": 123,
"name": "<string>",
"description": "<string>",
"domainName": "<string>",
"domainSecondary": "<string>",
"industry": "<string>",
"country": "<string>",
"state": "<string>",
"city": "<string>",
"timeZoneId": "<string>",
"linkedInUrl": "<string>",
"phone": "<string>",
"twitterUrl": "<string>",
"logoUrl": "<string>",
"email": "<string>",
"stage": {
"id": 123,
"name": "<string>",
"colorId": 123
},
"linkedProspectsCount": 123,
"createdDate": "2023-11-07T05:31:56Z",
"lastActivityDate": "2023-11-07T05:31:56Z"
}
],
"hasMore": true
}Accounts
Filter accounts
Requires the
contacts:read scope (or a broader one that includes it).
Returns a paginated, filtered list of accounts using advanced filter criteria.
POST
/
v3
/
contact-accounts
/
filter
Filter accounts
curl --request POST \
--url https://api.reply.io/v3/contact-accounts/filter \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"search": "<string>",
"sortBy": "<string>",
"listId": 123,
"filters": [
{
"values": "<unknown>"
}
]
}
'import requests
url = "https://api.reply.io/v3/contact-accounts/filter"
payload = {
"search": "<string>",
"sortBy": "<string>",
"listId": 123,
"filters": [{ "values": "<unknown>" }]
}
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({
search: '<string>',
sortBy: '<string>',
listId: 123,
filters: [{values: '<unknown>'}]
})
};
fetch('https://api.reply.io/v3/contact-accounts/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/contact-accounts/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([
'search' => '<string>',
'sortBy' => '<string>',
'listId' => 123,
'filters' => [
[
'values' => '<unknown>'
]
]
]),
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/contact-accounts/filter"
payload := strings.NewReader("{\n \"search\": \"<string>\",\n \"sortBy\": \"<string>\",\n \"listId\": 123,\n \"filters\": [\n {\n \"values\": \"<unknown>\"\n }\n ]\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/contact-accounts/filter")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"search\": \"<string>\",\n \"sortBy\": \"<string>\",\n \"listId\": 123,\n \"filters\": [\n {\n \"values\": \"<unknown>\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.reply.io/v3/contact-accounts/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 \"search\": \"<string>\",\n \"sortBy\": \"<string>\",\n \"listId\": 123,\n \"filters\": [\n {\n \"values\": \"<unknown>\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"items": [
{
"id": 123,
"ownerUserId": 123,
"name": "<string>",
"description": "<string>",
"domainName": "<string>",
"domainSecondary": "<string>",
"industry": "<string>",
"country": "<string>",
"state": "<string>",
"city": "<string>",
"timeZoneId": "<string>",
"linkedInUrl": "<string>",
"phone": "<string>",
"twitterUrl": "<string>",
"logoUrl": "<string>",
"email": "<string>",
"stage": {
"id": 123,
"name": "<string>",
"colorId": 123
},
"linkedProspectsCount": 123,
"createdDate": "2023-11-07T05:31:56Z",
"lastActivityDate": "2023-11-07T05:31:56Z"
}
],
"hasMore": true
}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
application/json
Request body for filtering contact accounts with advanced criteria
Search term to filter accounts by name
Field name to sort by
Sort direction
Available options:
asc, desc Filter by contact list ID
Advanced filter conditions
Show child attributes
Show child attributes
⌘I