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
},
"pinned": false,
"allo_number": "+14155550100"
}
],
"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
}
}{
"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
}
}{
"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
}
}List conversations
Returns a paginated list of conversations grouped by contact phone number, sorted by most recent activity. Listing by inbox_id or with pinned can return 400 FEATURE_NOT_SUPPORTED (with param naming which one), 400 CONTACT_FILTER_NOT_SUPPORTED when the inbox has saved contact filters on a workspace still on the old contact model, or 422 CONTACT_FILTER_TOO_LARGE (type validation_error) when its contact filters resolve to too many numbers or hold more than 50 IDs. Right after an inbox is created, INBOX_NOT_FOUND can be transient and carries retryable: true: retry once.
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
},
"pinned": false,
"allo_number": "+14155550100"
}
],
"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
}
}{
"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
}
}{
"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_READpage and size query parameters to control results. See Pagination.
Line or inbox
Send exactly one ofallo_number or inbox_id. Sending both, or neither, returns 400 with code INVALID_REQUEST.
allo_numberlists the conversations of one Allo line. A line the caller cannot access returns403with codeALLO_NUMBER_FORBIDDEN.inbox_idlists the conversations of one of your inboxes, with conversations from several lines (each row has oneallo_number). The inbox’s saved sources and filters apply, but not the app’s Needs action and Mine tabs. “Unread only” is not saved on an inbox: pass theunreadquery parameter. An inbox that is not yours returns404with codeINBOX_NOT_FOUND.
allo_number field, the Allo line it is on. Use it to pin or reply when listing by inbox.
Inbox and pinned errors
| Status | Code | When |
|---|---|---|
400 | INVALID_REQUEST | Both allo_number and inbox_id are sent, or neither |
400 | INVALID_PARAMETER | A query parameter is malformed, for example pinned=yes. param names it |
400 | FEATURE_NOT_SUPPORTED | Listing by inbox_id or with pinned is not available yet. param names which one |
400 | CONTACT_FILTER_NOT_SUPPORTED | The inbox has saved contact filters and the workspace is still on the old contact model. Remove contact_ids and contact_list_ids from the inbox filters |
403 | ALLO_NUMBER_FORBIDDEN | The caller cannot access the allo_number line |
404 | INBOX_NOT_FOUND | No inbox with this ID for the caller. Right after a create it can be transient: when retryable is true, retry once |
422 | CONTACT_FILTER_TOO_LARGE | The inbox’s contact filters resolve to too many numbers, or hold more than 50 contact IDs or 10 contact list IDs. The error type is validation_error |
Pinned conversations
Each conversation has apinned field. Pass pinned=true to list only pinned conversations, or pinned=false to leave them out. Pin and unpin with Pin conversation and Unpin conversation.
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.recording_duration | 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 |
last_item.duration is the total call length in seconds, ringing included. last_item.recording_duration is the talk time, which is what the Allo app displays for recorded calls. For calls without a recording, the app falls back to last_item.duration.
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). Send exactly one of allo_number or inbox_id. List your numbers with GET /v2/api/numbers to find the right one.
"+14155550100"
List the conversations of one of your inboxes (inb-*), from all of its lines (each row has its own allo_number). The inbox's sources and saved filters apply, but not the app's Needs action and Mine tabs; pass unread yourself. Send exactly one of allo_number or inbox_id.
"inb-abc123"
Only return conversations with activity after this timestamp (ISO 8601). Ideal for incremental sync.
"2026-04-20T10:00:00Z"
Only pinned (true) or only unpinned (false) conversations. Any other value returns 400 INVALID_PARAMETER.
Page number (1-indexed)
x >= 1Results per page
1 <= x <= 100Comma-separated optional fields. Supported: transcript
"transcript"
Was this page helpful?