List registered contact sources
curl --request GET \
--url https://api.upliftai.org/v1/contact-sources \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.upliftai.org/v1/contact-sources"
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-sources', 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-sources",
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-sources"
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-sources")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.upliftai.org/v1/contact-sources")
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{
"sources": [
{
"sourceId": "7ffda4d7-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"organizationId": "a12b7e74-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"projectId": "c782a4ec-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"name": "Zameen buyer leads",
"kind": "google_sheets",
"ref": "1kQ9pR3vXbN7hLm2TzYeWc4Ad8FgJs6UvHn0BqCxRtEo",
"connectionId": "3f9c2b18-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"createdAt": "2026-08-18T05:18:20.703Z",
"updatedAt": "2026-08-18T05:18:20.703Z",
"version": 1
},
{
"sourceId": "4367e59c-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"organizationId": "a12b7e74-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"projectId": "c782a4ec-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"name": "Shifa Clinic patient sheet",
"kind": "google_sheets",
"ref": "1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms!Patients",
"mapping": {
"nameColumn": "مریض کا نام",
"phoneColumn": "فون نمبر",
"attributeColumns": [
"ڈاکٹر",
"اپائنٹمنٹ کا وقت"
]
},
"createdAt": "2026-08-18T05:18:08.018Z",
"updatedAt": "2026-08-18T05:18:08.018Z",
"version": 1
}
],
"nextCursor": "eyJzayI6IjQzNjdlNTljLXh4eHgteHh4eC14eHh4LXh4eHh4eHh4eHh4eCIsInBrIjoiYTEyYjdlNzQteHh4eC14eHh4LXh4eHgteHh4eHh4eHh4eHh4I2M3ODJhNGVjLXh4eHgteHh4eC14eHh4LXh4eHh4eHh4eHh4eCJ9"
}{
"message": "Invalid pagination cursor",
"error": "Bad Request",
"statusCode": 400
}{
"message": "invalid authorization",
"error": "Unauthorized",
"statusCode": 401
}{
"message": "Forbidden resource",
"error": "Forbidden",
"statusCode": 403
}Google Sheet sources
List registered contact sources
Lists the Google Sheets sources registered in this API key’s project, ordered by sourceId — arbitrary, but stable across pages. Nothing here reads Google, so a deleted or unshared sheet still lists normally; only a preview tells you whether it still resolves. CSV and pasted imports aren’t sources — those land in /contact-lists.
GET
/
contact-sources
List registered contact sources
curl --request GET \
--url https://api.upliftai.org/v1/contact-sources \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.upliftai.org/v1/contact-sources"
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-sources', 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-sources",
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-sources"
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-sources")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.upliftai.org/v1/contact-sources")
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{
"sources": [
{
"sourceId": "7ffda4d7-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"organizationId": "a12b7e74-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"projectId": "c782a4ec-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"name": "Zameen buyer leads",
"kind": "google_sheets",
"ref": "1kQ9pR3vXbN7hLm2TzYeWc4Ad8FgJs6UvHn0BqCxRtEo",
"connectionId": "3f9c2b18-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"createdAt": "2026-08-18T05:18:20.703Z",
"updatedAt": "2026-08-18T05:18:20.703Z",
"version": 1
},
{
"sourceId": "4367e59c-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"organizationId": "a12b7e74-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"projectId": "c782a4ec-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"name": "Shifa Clinic patient sheet",
"kind": "google_sheets",
"ref": "1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms!Patients",
"mapping": {
"nameColumn": "مریض کا نام",
"phoneColumn": "فون نمبر",
"attributeColumns": [
"ڈاکٹر",
"اپائنٹمنٹ کا وقت"
]
},
"createdAt": "2026-08-18T05:18:08.018Z",
"updatedAt": "2026-08-18T05:18:08.018Z",
"version": 1
}
],
"nextCursor": "eyJzayI6IjQzNjdlNTljLXh4eHgteHh4eC14eHh4LXh4eHh4eHh4eHh4eCIsInBrIjoiYTEyYjdlNzQteHh4eC14eHh4LXh4eHgteHh4eHh4eHh4eHh4I2M3ODJhNGVjLXh4eHgteHh4eC14eHh4LXh4eHh4eHh4eHh4eCJ9"
}{
"message": "Invalid pagination cursor",
"error": "Bad Request",
"statusCode": 400
}{
"message": "invalid authorization",
"error": "Unauthorized",
"statusCode": 401
}{
"message": "Forbidden resource",
"error": "Forbidden",
"statusCode": 403
}Authorizations
Project API key (sk_api_…).
Query Parameters
Rows per page. Bad values are corrected rather than rejected — above 100 clamps to 100, anything else falls back to 50.
Required range:
1 <= x <= 100The previous page's opaque nextCursor, passed back unchanged.
