Get Message Delivery Report
curl --request GET \
--url https://api-ai.zixflow.com/api/data/messages/v1/delivery-report \
--header 'x-api-key: <x-api-key>' \
--header 'x-workspace-id: <x-workspace-id>'import requests
url = "https://api-ai.zixflow.com/api/data/messages/v1/delivery-report"
headers = {
"x-api-key": "<x-api-key>",
"x-workspace-id": "<x-workspace-id>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'x-api-key': '<x-api-key>', 'x-workspace-id': '<x-workspace-id>'}
};
fetch('https://api-ai.zixflow.com/api/data/messages/v1/delivery-report', 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-ai.zixflow.com/api/data/messages/v1/delivery-report",
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: <x-api-key>",
"x-workspace-id: <x-workspace-id>"
],
]);
$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-ai.zixflow.com/api/data/messages/v1/delivery-report"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<x-api-key>")
req.Header.Add("x-workspace-id", "<x-workspace-id>")
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-ai.zixflow.com/api/data/messages/v1/delivery-report")
.header("x-api-key", "<x-api-key>")
.header("x-workspace-id", "<x-workspace-id>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-ai.zixflow.com/api/data/messages/v1/delivery-report")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<x-api-key>'
request["x-workspace-id"] = '<x-workspace-id>'
response = http.request(request)
puts response.read_body{
"success": true,
"message": "Delivery report retrieved successfully",
"data": {
"channel": "whatsapp",
"message_id": "wamid.XXX",
"recipient": "919876543210",
"request_id": "66e120d1b9eht5059e5e01d",
"status": "delivered",
"statusAt": "2024-01-15T10:30:00Z",
"remark": "Message delivered successfully",
"workspace_id": "workspace_123"
}
}
{
"success": true,
"message": "Request processed successfully",
"data": {
"workspace_id": "665f1c2a8e4b9a0012ab34cd",
"message_id": "tc-msg-88f1",
"request_id": "3f1c0a2e-7b64-4d1a-9c2e-1a0b8e6d4f21",
"status": "delivered",
"channel": "truecaller",
"statusAt": "2026-11-18T10:15:00Z",
"recipient": "+14155552671",
"remark": ""
}
}
{
"success": false,
"message": "Invalid request_id parameter"
}
{
"error": true,
"message": "Unauthorized"
}
{
"success": false,
"message": "Delivery report not found"
}
{
"success": false,
"message": "Internal server error. Please try again later."
}
Messages
Get Message Delivery Report
Retrieves a single message delivery report by request_id
GET
/
api
/
data
/
messages
/
v1
/
delivery-report
Get Message Delivery Report
curl --request GET \
--url https://api-ai.zixflow.com/api/data/messages/v1/delivery-report \
--header 'x-api-key: <x-api-key>' \
--header 'x-workspace-id: <x-workspace-id>'import requests
url = "https://api-ai.zixflow.com/api/data/messages/v1/delivery-report"
headers = {
"x-api-key": "<x-api-key>",
"x-workspace-id": "<x-workspace-id>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'x-api-key': '<x-api-key>', 'x-workspace-id': '<x-workspace-id>'}
};
fetch('https://api-ai.zixflow.com/api/data/messages/v1/delivery-report', 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-ai.zixflow.com/api/data/messages/v1/delivery-report",
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: <x-api-key>",
"x-workspace-id: <x-workspace-id>"
],
]);
$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-ai.zixflow.com/api/data/messages/v1/delivery-report"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<x-api-key>")
req.Header.Add("x-workspace-id", "<x-workspace-id>")
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-ai.zixflow.com/api/data/messages/v1/delivery-report")
.header("x-api-key", "<x-api-key>")
.header("x-workspace-id", "<x-workspace-id>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-ai.zixflow.com/api/data/messages/v1/delivery-report")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<x-api-key>'
request["x-workspace-id"] = '<x-workspace-id>'
response = http.request(request)
puts response.read_body{
"success": true,
"message": "Delivery report retrieved successfully",
"data": {
"channel": "whatsapp",
"message_id": "wamid.XXX",
"recipient": "919876543210",
"request_id": "66e120d1b9eht5059e5e01d",
"status": "delivered",
"statusAt": "2024-01-15T10:30:00Z",
"remark": "Message delivered successfully",
"workspace_id": "workspace_123"
}
}
{
"success": true,
"message": "Request processed successfully",
"data": {
"workspace_id": "665f1c2a8e4b9a0012ab34cd",
"message_id": "tc-msg-88f1",
"request_id": "3f1c0a2e-7b64-4d1a-9c2e-1a0b8e6d4f21",
"status": "delivered",
"channel": "truecaller",
"statusAt": "2026-11-18T10:15:00Z",
"recipient": "+14155552671",
"remark": ""
}
}
{
"success": false,
"message": "Invalid request_id parameter"
}
{
"error": true,
"message": "Unauthorized"
}
{
"success": false,
"message": "Delivery report not found"
}
{
"success": false,
"message": "Internal server error. Please try again later."
}
Description
This endpoint allows you to retrieve the delivery status and details of a message that was sent through any channel (WhatsApp, SMS, Email, RCS, Truecaller) by providing the request_id that was returned when the message was sent. For Truecaller,channel is truecaller and message_id is Truecaller’s message id once the send has been accepted. A 404 can mean processing has not written the log yet. Processing failure codes are listed in the Truecaller introduction.
Headers
Query Parameters
The unique request ID that was returned when the message was sent. This ID is used to track the delivery status of the message.
Response
The unique identifier for the message. For Truecaller this is Truecaller’s message id, or null until the send returns one.
The recipient’s contact information (phone number or email address). For Truecaller this is the normalized phone number.
Lowercase delivery status:
submitted, queue, sent, delivered, read, failed, clicked, opened, unsubscribed, bounced, complained, spam, blocked.RFC3339 timestamp, or null. For Truecaller: delivered time, otherwise sent time, otherwise created time.
Failure or vendor text. When a status code exists it is appended as
(Code: …). Empty when there is nothing to report.{
"success": true,
"message": "Delivery report retrieved successfully",
"data": {
"channel": "whatsapp",
"message_id": "wamid.XXX",
"recipient": "919876543210",
"request_id": "66e120d1b9eht5059e5e01d",
"status": "delivered",
"statusAt": "2024-01-15T10:30:00Z",
"remark": "Message delivered successfully",
"workspace_id": "workspace_123"
}
}
{
"success": true,
"message": "Request processed successfully",
"data": {
"workspace_id": "665f1c2a8e4b9a0012ab34cd",
"message_id": "tc-msg-88f1",
"request_id": "3f1c0a2e-7b64-4d1a-9c2e-1a0b8e6d4f21",
"status": "delivered",
"channel": "truecaller",
"statusAt": "2026-11-18T10:15:00Z",
"recipient": "+14155552671",
"remark": ""
}
}
{
"success": false,
"message": "Invalid request_id parameter"
}
{
"error": true,
"message": "Unauthorized"
}
{
"success": false,
"message": "Delivery report not found"
}
{
"success": false,
"message": "Internal server error. Please try again later."
}