Skip to main content
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_READ
This endpoint is paginated. Use page and size query parameters to control results. See Pagination.

Field notes

FieldNull when
last_item.summarySMS items, or calls where AI summary is not yet available
last_item.durationSMS items (only applies to calls)
last_item.resultSMS items (only applies to calls)
last_item.recording_urlRecording disabled, call not answered, or SMS items
last_item.transcriptNot requested via extend=transcript, or SMS items
last_item.contentCall items (only applies to SMS)
last_item.statusCall items (only applies to SMS)
last_item.contactsEmpty array when no matching contact exists in the address book

Extend parameter

The extend query parameter accepts a comma-separated list of optional fields to include. Currently supported:
ValueEffect
transcriptInclude full call transcripts on conversation items
Passing an unsupported value returns a 400 error with code UNSUPPORTED_EXTEND_VALUE.

Authorizations

Authorization
string
header
required

Query Parameters

allo_number
string
required

Filter by Allo number (E.164). Required — list your numbers with GET /v2/api/numbers to find the right one.

Example:

"+14155550100"

last_activity_since
string<date-time>

Only return conversations with activity after this timestamp (ISO 8601). Ideal for incremental sync.

Example:

"2026-04-20T10:00:00Z"

unread
boolean
page
integer
default:1

Page number (1-indexed)

Required range: x >= 1
size
integer
default:20

Results per page

Required range: 1 <= x <= 100
extend
string

Comma-separated optional fields. Supported: transcript

Example:

"transcript"

Response

List of conversations

data
object[]
pagination
object