List a conversation's messages
curl --request GET \
--url https://api.watx.in/v1/conversations/{id}/messages \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.watx.in/v1/conversations/{id}/messages"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.watx.in/v1/conversations/{id}/messages', 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.watx.in/v1/conversations/{id}/messages",
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.watx.in/v1/conversations/{id}/messages"
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.watx.in/v1/conversations/{id}/messages")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.watx.in/v1/conversations/{id}/messages")
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{
"data": [
{
"id": "9d1f4b2a-6c3e-4a51-bf2d-0a7c9e114b3f",
"conversation_id": "3c5b1e77-90aa-4c0e-8f71-1d2a3b4c5d6e",
"direction": "outbound",
"sender_type": "agent",
"content_type": "text",
"content_text": "Your order has been packed.",
"media_url": null,
"template_name": null,
"whatsapp_message_id": "wamid.HBgMOTE5ODc2NTQzMjEwFQIAERgS",
"message_id": "wamid.HBgMOTE5ODc2NTQzMjEwFQIAERgS",
"status": "delivered",
"reply_to_message_id": null,
"interactive_reply_id": null,
"deleted_at": null,
"created_at": "2026-09-14T10:15:00.000Z"
}
],
"meta": {
"next_cursor": null
}
}{
"error": {
"code": "unauthorized",
"message": "Missing or invalid API key"
}
}{
"error": {
"code": "forbidden",
"message": "This API key is missing the 'messages:send' scope"
}
}{
"error": {
"code": "not_found",
"message": "Contact not found"
}
}{
"error": {
"code": "rate_limited",
"message": "Rate limit exceeded for this API key"
}
}Conversations
List a conversation's messages
Lists the messages in one conversation, newest first, with cursor
pagination. The conversation is checked against your workspace first —
another workspace’s conversation answers 404, never an empty list.
Requires the messages:read scope.
GET
/
conversations
/
{id}
/
messages
List a conversation's messages
curl --request GET \
--url https://api.watx.in/v1/conversations/{id}/messages \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.watx.in/v1/conversations/{id}/messages"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.watx.in/v1/conversations/{id}/messages', 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.watx.in/v1/conversations/{id}/messages",
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.watx.in/v1/conversations/{id}/messages"
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.watx.in/v1/conversations/{id}/messages")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.watx.in/v1/conversations/{id}/messages")
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{
"data": [
{
"id": "9d1f4b2a-6c3e-4a51-bf2d-0a7c9e114b3f",
"conversation_id": "3c5b1e77-90aa-4c0e-8f71-1d2a3b4c5d6e",
"direction": "outbound",
"sender_type": "agent",
"content_type": "text",
"content_text": "Your order has been packed.",
"media_url": null,
"template_name": null,
"whatsapp_message_id": "wamid.HBgMOTE5ODc2NTQzMjEwFQIAERgS",
"message_id": "wamid.HBgMOTE5ODc2NTQzMjEwFQIAERgS",
"status": "delivered",
"reply_to_message_id": null,
"interactive_reply_id": null,
"deleted_at": null,
"created_at": "2026-09-14T10:15:00.000Z"
}
],
"meta": {
"next_cursor": null
}
}{
"error": {
"code": "unauthorized",
"message": "Missing or invalid API key"
}
}{
"error": {
"code": "forbidden",
"message": "This API key is missing the 'messages:send' scope"
}
}{
"error": {
"code": "not_found",
"message": "Contact not found"
}
}{
"error": {
"code": "rate_limited",
"message": "Rate limit exceeded for this API key"
}
}Authorizations
Your workspace API key, created in Settings → API keys, sent as
Authorization: Bearer <key>. New keys start with watx_live_; keys
issued before the rename start with converse360_live_ and still work.
Path Parameters
The conversation id.
Query Parameters
Page size. Default 50, maximum 100. An unusable value falls back to 50.
Required range:
1 <= x <= 100The meta.next_cursor from the previous page, passed back verbatim. An
unreadable cursor is ignored and the first page is returned.