Page through a list's contacts
curl --request GET \
--url https://api.upliftai.org/v1/contact-lists/{listId}/contacts \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.upliftai.org/v1/contact-lists/{listId}/contacts"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.upliftai.org/v1/contact-lists/{listId}/contacts', 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.upliftai.org/v1/contact-lists/{listId}/contacts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.upliftai.org/v1/contact-lists/{listId}/contacts"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.upliftai.org/v1/contact-lists/{listId}/contacts")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.upliftai.org/v1/contact-lists/{listId}/contacts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"contacts": [
{
"listId": "134ccad1-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"contactId": "+923001234567",
"organizationId": "a12b7e74-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"projectId": "c782a4ec-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"name": "Ayesha Siddiqui",
"phone": "+923001234567",
"attributes": {
"Doctor": "Dr Imran Shaikh",
"AppointmentTime": "کل صبح 11 بجے"
}
},
{
"listId": "134ccad1-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"contactId": "+923009876543",
"organizationId": "a12b7e74-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"projectId": "c782a4ec-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"name": "Hamza Raza",
"phone": "+923009876543",
"attributes": {
"Doctor": "Dr Sana Tariq",
"AppointmentTime": "کل شام 5 بجے"
}
}
],
"nextCursor": "eyJjb250YWN0SWQiOiIrOTIzMDA5ODc2NTQzIiwibGlzdElkIjoiMTM0Y2NhZDEteHh4eC14eHh4LXh4eHgteHh4eHh4eHh4eHh4In0"
}Contacts
Page through a list's contacts
The rows as they were saved when the list was created, not a fresh read of the source file or sheet. q filters after each page is read, so a page can come back empty while later pages still hold matches — keep going until nextCursor is absent. Pages are ordered by contactId as text rather than import order, and there is no sort parameter.
GET
/
contact-lists
/
{listId}
/
contacts
Page through a list's contacts
curl --request GET \
--url https://api.upliftai.org/v1/contact-lists/{listId}/contacts \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.upliftai.org/v1/contact-lists/{listId}/contacts"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.upliftai.org/v1/contact-lists/{listId}/contacts', 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.upliftai.org/v1/contact-lists/{listId}/contacts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.upliftai.org/v1/contact-lists/{listId}/contacts"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.upliftai.org/v1/contact-lists/{listId}/contacts")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.upliftai.org/v1/contact-lists/{listId}/contacts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"contacts": [
{
"listId": "134ccad1-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"contactId": "+923001234567",
"organizationId": "a12b7e74-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"projectId": "c782a4ec-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"name": "Ayesha Siddiqui",
"phone": "+923001234567",
"attributes": {
"Doctor": "Dr Imran Shaikh",
"AppointmentTime": "کل صبح 11 بجے"
}
},
{
"listId": "134ccad1-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"contactId": "+923009876543",
"organizationId": "a12b7e74-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"projectId": "c782a4ec-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"name": "Hamza Raza",
"phone": "+923009876543",
"attributes": {
"Doctor": "Dr Sana Tariq",
"AppointmentTime": "کل شام 5 بجے"
}
}
],
"nextCursor": "eyJjb250YWN0SWQiOiIrOTIzMDA5ODc2NTQzIiwibGlzdElkIjoiMTM0Y2NhZDEteHh4eC14eHh4LXh4eHgteHh4eHh4eHh4eHh4In0"
}Authorizations
Project API key (sk_api_…).
Path Parameters
Query Parameters
Case-insensitive substring match on name and phone. Values in attributes are not searched.
Rows read per page. Values above 100 are clamped to 100; anything non-numeric or below 1 falls back to 50 instead of erroring.
The previous page's nextCursor. Opaque — do not construct one.
