List Conversations
curl --request GET \
--url https://api.naturalead.ai/api/conversations \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.naturalead.ai/api/conversations"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.naturalead.ai/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.naturalead.ai/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 => [
"X-API-Key: <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.naturalead.ai/api/conversations"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<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.naturalead.ai/api/conversations")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.naturalead.ai/api/conversations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"conversations": [
{
"_id": "665f1a2b3c4d5e6f7a8b9c0d",
"leadId": "<string>",
"accountId": "<string>",
"agentConfigId": "<string>",
"channel": "whatsapp",
"leadPhone": "<string>",
"status": "active",
"currentStageIndex": 123,
"messages": [
{
"role": "agent",
"content": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"agentConfigId": "<string>"
}
],
"messageCount": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"campaignId": "<string>",
"leadEmail": "<string>",
"currentStageName": "<string>",
"summary": "<string>",
"qualificationResult": {
"qualified": true,
"reason": "<string>"
}
}
],
"total": 123,
"page": 123,
"limit": 123
}{
"error": "updatedAfter must be a valid ISO 8601 or Unix timestamp"
}{
"error": "<string>"
}Conversations
List Conversations
Returns conversations for the current account. Supports filtering by status, full-text search, pagination/sorting, and incremental sync via updatedAfter / updatedBefore (filters on conversation updatedAt). Requires conversations:view permission.
GET
/
api
/
conversations
List Conversations
curl --request GET \
--url https://api.naturalead.ai/api/conversations \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.naturalead.ai/api/conversations"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.naturalead.ai/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.naturalead.ai/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 => [
"X-API-Key: <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.naturalead.ai/api/conversations"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<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.naturalead.ai/api/conversations")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.naturalead.ai/api/conversations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"conversations": [
{
"_id": "665f1a2b3c4d5e6f7a8b9c0d",
"leadId": "<string>",
"accountId": "<string>",
"agentConfigId": "<string>",
"channel": "whatsapp",
"leadPhone": "<string>",
"status": "active",
"currentStageIndex": 123,
"messages": [
{
"role": "agent",
"content": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"agentConfigId": "<string>"
}
],
"messageCount": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"campaignId": "<string>",
"leadEmail": "<string>",
"currentStageName": "<string>",
"summary": "<string>",
"qualificationResult": {
"qualified": true,
"reason": "<string>"
}
}
],
"total": 123,
"page": 123,
"limit": 123
}{
"error": "updatedAfter must be a valid ISO 8601 or Unix timestamp"
}{
"error": "<string>"
}Authorizations
ApiKeyAuthBearerAuth
API key for programmatic access (format nl_live_* or nl_test_*)
Query Parameters
Filter conversations by status.
Available options:
active, completed, handed_off, dropped Search conversations by lead phone, email, or message content (max 100 characters).
Maximum string length:
100Required range:
x >= 1Required range:
1 <= x <= 100Available options:
updatedAt, createdAt, status Available options:
asc, desc Return only conversations with updatedAt strictly after this
timestamp. Accepts ISO 8601 (2026-06-01T00:00:00Z) or Unix epoch
(seconds or milliseconds).
Example:
"2026-06-01T00:00:00Z"
Return only conversations with updatedAt strictly before this
timestamp. Same formats as updatedAfter.
Example:
"2026-07-01T00:00:00Z"