cURL
curl --request GET \
--url https://api.teamfollowup.ai/api/contacts/{phoneNumber}/calls \
--header 'Authorization: Bearer YOUR_API_KEY'import requests
url = "https://api.teamfollowup.ai/api/contacts/{phoneNumber}/calls"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.teamfollowup.ai/api/contacts/{phoneNumber}/calls', 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.teamfollowup.ai/api/contacts/{phoneNumber}/calls",
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.teamfollowup.ai/api/contacts/{phoneNumber}/calls"
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.teamfollowup.ai/api/contacts/{phoneNumber}/calls")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.teamfollowup.ai/api/contacts/{phoneNumber}/calls")
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{
"success": true,
"data": {
"contact": {
"phoneNumber": "+14155551234",
"projectName": "Acme Clinic"
},
"calls": [
{
"id": "64f2a8c8a2b3c4d5e6f7a8c0",
"_id": "64f2a8c8a2b3c4d5e6f7a8c0",
"callId": "call_123",
"date": "2026-07-08",
"dateTime": "2026-07-08T16:12:00.000Z",
"leadName": "Alex Morgan",
"phoneNumber": "+14155551234",
"direction": "outbound",
"status": "completed",
"duration": 184,
"agent": "Front Desk Agent",
"callSummary": "Alex asked for available appointment times.",
"projectName": "Acme Clinic",
"recordingUrl": "https://media.example.test/recordings/call_123.mp3",
"disposition": {
"type": "callBack",
"id": "disp_123",
"_id": "disp_123",
"label": "Callback Booked",
"color": "purple",
"dateCreated": "2026-07-08T16:15:00.000Z",
"dateScheduled": "2026-07-09",
"requestedDateTime": "2026-07-09T15:00:00.000Z",
"calendarName": "Main Calendar"
}
}
],
"dispositionSummary": {
"killSwitch": 0,
"callBack": 1,
"appointment": 0,
"liveTransfer": 0,
"tagged": 0,
"total": 1
}
}
}{
"success": false,
"error": "projectName is required"
}{
"success": false,
"error": "Unauthorized"
}{
"success": false,
"error": "Access denied to this project"
}{
"success": false,
"error": "TooManyRequests"
}{
"success": false,
"error": "Unexpected server error."
}List contact calls
Authentication required. Intended for customer-facing agency administrators and project users. Results and actions are tenant-scoped to projects visible to the caller.
Returns the latest calls and outcome summary for one contact. Use contactId when available; phone number is the fallback lookup.
Required API key scope: contacts:read.
GET
/
api
/
contacts
/
{phoneNumber}
/
calls
cURL
curl --request GET \
--url https://api.teamfollowup.ai/api/contacts/{phoneNumber}/calls \
--header 'Authorization: Bearer YOUR_API_KEY'import requests
url = "https://api.teamfollowup.ai/api/contacts/{phoneNumber}/calls"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.teamfollowup.ai/api/contacts/{phoneNumber}/calls', 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.teamfollowup.ai/api/contacts/{phoneNumber}/calls",
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.teamfollowup.ai/api/contacts/{phoneNumber}/calls"
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.teamfollowup.ai/api/contacts/{phoneNumber}/calls")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.teamfollowup.ai/api/contacts/{phoneNumber}/calls")
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{
"success": true,
"data": {
"contact": {
"phoneNumber": "+14155551234",
"projectName": "Acme Clinic"
},
"calls": [
{
"id": "64f2a8c8a2b3c4d5e6f7a8c0",
"_id": "64f2a8c8a2b3c4d5e6f7a8c0",
"callId": "call_123",
"date": "2026-07-08",
"dateTime": "2026-07-08T16:12:00.000Z",
"leadName": "Alex Morgan",
"phoneNumber": "+14155551234",
"direction": "outbound",
"status": "completed",
"duration": 184,
"agent": "Front Desk Agent",
"callSummary": "Alex asked for available appointment times.",
"projectName": "Acme Clinic",
"recordingUrl": "https://media.example.test/recordings/call_123.mp3",
"disposition": {
"type": "callBack",
"id": "disp_123",
"_id": "disp_123",
"label": "Callback Booked",
"color": "purple",
"dateCreated": "2026-07-08T16:15:00.000Z",
"dateScheduled": "2026-07-09",
"requestedDateTime": "2026-07-09T15:00:00.000Z",
"calendarName": "Main Calendar"
}
}
],
"dispositionSummary": {
"killSwitch": 0,
"callBack": 1,
"appointment": 0,
"liveTransfer": 0,
"tagged": 0,
"total": 1
}
}
}{
"success": false,
"error": "projectName is required"
}{
"success": false,
"error": "Unauthorized"
}{
"success": false,
"error": "Access denied to this project"
}{
"success": false,
"error": "TooManyRequests"
}{
"success": false,
"error": "Unexpected server error."
}Authorizations
Send your API key as Authorization: Bearer YOUR_API_KEY.
Path Parameters
URL-encoded E.164 phone number.
Minimum string length:
1Query Parameters
Stable project location id used to tenant-scope the lookup.
Minimum string length:
1Display label only; never used as tenant identity.
Minimum string length:
1Stable contact id. When present, it is the primary lookup key.
⌘I
