List conversations
curl --request GET \
--url https://api.withallo.com/v2/api/conversations \
--header 'Authorization: <api-key>'import requests
url = "https://api.withallo.com/v2/api/conversations"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.withallo.com/v2/api/conversations', 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.withallo.com/v2/api/conversations",
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: <api-key>"
],
]);
$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.withallo.com/v2/api/conversations"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
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.withallo.com/v2/api/conversations")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.withallo.com/v2/api/conversations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"contact_number": "+14155551234",
"contacts": [
{
"id": "cnt-abc123",
"name": "Sarah Johnson",
"company": {
"id": "com-xyz789",
"name": "Acme Corp"
},
"deals": [
{
"id": "dea-def456",
"name": "Enterprise Plan",
"status": "open"
}
]
}
],
"last_activity": "2026-04-21T14:30:00Z",
"last_item": {
"id": "cll-abc123",
"type": "CALL",
"direction": "INBOUND",
"date": "2026-04-21T14:30:00Z",
"summary": "Customer called about upgrading their plan.",
"result": "ANSWERED",
"duration": 145
}
}
],
"pagination": {
"page": 1,
"size": 20,
"total_count": 156,
"total_pages": 8,
"has_more": true
}
}{
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"retryable": true,
"request_id": "<string>",
"retry_after_seconds": 123
}
}{
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"retryable": true,
"request_id": "<string>",
"retry_after_seconds": 123
}
}Conversations
List conversations
Returns a paginated list of conversations grouped by contact phone number, sorted by most recent activity.
GET
/
v2
/
api
/
conversations
List conversations
curl --request GET \
--url https://api.withallo.com/v2/api/conversations \
--header 'Authorization: <api-key>'import requests
url = "https://api.withallo.com/v2/api/conversations"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.withallo.com/v2/api/conversations', 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.withallo.com/v2/api/conversations",
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: <api-key>"
],
]);
$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.withallo.com/v2/api/conversations"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
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.withallo.com/v2/api/conversations")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.withallo.com/v2/api/conversations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"contact_number": "+14155551234",
"contacts": [
{
"id": "cnt-abc123",
"name": "Sarah Johnson",
"company": {
"id": "com-xyz789",
"name": "Acme Corp"
},
"deals": [
{
"id": "dea-def456",
"name": "Enterprise Plan",
"status": "open"
}
]
}
],
"last_activity": "2026-04-21T14:30:00Z",
"last_item": {
"id": "cll-abc123",
"type": "CALL",
"direction": "INBOUND",
"date": "2026-04-21T14:30:00Z",
"summary": "Customer called about upgrading their plan.",
"result": "ANSWERED",
"duration": 145
}
}
],
"pagination": {
"page": 1,
"size": 20,
"total_count": 156,
"total_pages": 8,
"has_more": true
}
}{
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"retryable": true,
"request_id": "<string>",
"retry_after_seconds": 123
}
}{
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"retryable": true,
"request_id": "<string>",
"retry_after_seconds": 123
}
}Required scope:
CONVERSATIONS_READpage and size query parameters to control results. See Pagination.
Field notes
| Field | Null when |
|---|---|
last_item.summary | SMS items, or calls where AI summary is not yet available |
last_item.duration | SMS items (only applies to calls) |
last_item.result | SMS items (only applies to calls) |
last_item.recording_url | Recording disabled, call not answered, or SMS items |
last_item.transcript | Not requested via extend=transcript, or SMS items |
last_item.content | Call items (only applies to SMS) |
last_item.status | Call items (only applies to SMS) |
last_item.contacts | Empty array when no matching contact exists in the address book |
Extend parameter
Theextend query parameter accepts a comma-separated list of optional fields to include. Currently supported:
| Value | Effect |
|---|---|
transcript | Include full call transcripts on conversation items |
400 error with code UNSUPPORTED_EXTEND_VALUE.Authorizations
Query Parameters
Filter by Allo number (E.164). Required — list your numbers with GET /v2/api/numbers to find the right one.
Example:
"+14155550100"
Only return conversations with activity after this timestamp (ISO 8601). Ideal for incremental sync.
Example:
"2026-04-20T10:00:00Z"
Page number (1-indexed)
Required range:
x >= 1Results per page
Required range:
1 <= x <= 100Comma-separated optional fields. Supported: transcript
Example:
"transcript"
Was this page helpful?