Retrieve messages based on filter criteria with pagination
curl --request GET \
--url https://notification.platform.dev.ai71services.ai/api/v1/messages \
--header 'x-api-key: <x-api-key>'import requests
url = "https://notification.platform.dev.ai71services.ai/api/v1/messages"
headers = {"x-api-key": "<x-api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<x-api-key>'}};
fetch('https://notification.platform.dev.ai71services.ai/api/v1/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://notification.platform.dev.ai71services.ai/api/v1/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 => [
"x-api-key: <x-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://notification.platform.dev.ai71services.ai/api/v1/messages"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<x-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://notification.platform.dev.ai71services.ai/api/v1/messages")
.header("x-api-key", "<x-api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://notification.platform.dev.ai71services.ai/api/v1/messages")
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>'
response = http.request(request)
puts response.read_body{
"current_page": 123,
"messages": [
{
"delivery_time": "<string>",
"message_id": "<string>",
"organization_id": "<string>",
"payload": {
"Organization_id": "<string>",
"id": "<string>",
"message": "<string>",
"product_id": "<string>",
"recipient": "<string>",
"retry_enabled": true,
"sender": "<string>",
"subject": "<string>",
"template_fields": {
"message": {
"from_email": "<string>",
"from_name": "<string>",
"merge_language": "<string>",
"subject": "<string>",
"to": [
{
"email": "<string>",
"name": "<string>",
"type": "<string>"
}
],
"global_merge_vars": [
{
"content": {},
"name": "<string>"
}
]
},
"template_content": [
{}
],
"template_name": "<string>"
}
},
"product_id": "<string>",
"receiver_id": "<string>",
"retry_count": 123,
"sender_id": "<string>",
"created_at": "<string>",
"updated_at": "<string>"
}
],
"page_size": 123,
"total_items": 123,
"total_pages": 123
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Track Messages APIs
Retrieve messages based on filter criteria with pagination
Retrieve messages using filters like ProductID, OrganizationID, etc. and supports pagination
GET
/
api
/
v1
/
messages
Retrieve messages based on filter criteria with pagination
curl --request GET \
--url https://notification.platform.dev.ai71services.ai/api/v1/messages \
--header 'x-api-key: <x-api-key>'import requests
url = "https://notification.platform.dev.ai71services.ai/api/v1/messages"
headers = {"x-api-key": "<x-api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<x-api-key>'}};
fetch('https://notification.platform.dev.ai71services.ai/api/v1/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://notification.platform.dev.ai71services.ai/api/v1/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 => [
"x-api-key: <x-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://notification.platform.dev.ai71services.ai/api/v1/messages"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<x-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://notification.platform.dev.ai71services.ai/api/v1/messages")
.header("x-api-key", "<x-api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://notification.platform.dev.ai71services.ai/api/v1/messages")
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>'
response = http.request(request)
puts response.read_body{
"current_page": 123,
"messages": [
{
"delivery_time": "<string>",
"message_id": "<string>",
"organization_id": "<string>",
"payload": {
"Organization_id": "<string>",
"id": "<string>",
"message": "<string>",
"product_id": "<string>",
"recipient": "<string>",
"retry_enabled": true,
"sender": "<string>",
"subject": "<string>",
"template_fields": {
"message": {
"from_email": "<string>",
"from_name": "<string>",
"merge_language": "<string>",
"subject": "<string>",
"to": [
{
"email": "<string>",
"name": "<string>",
"type": "<string>"
}
],
"global_merge_vars": [
{
"content": {},
"name": "<string>"
}
]
},
"template_content": [
{}
],
"template_name": "<string>"
}
},
"product_id": "<string>",
"receiver_id": "<string>",
"retry_count": 123,
"sender_id": "<string>",
"created_at": "<string>",
"updated_at": "<string>"
}
],
"page_size": 123,
"total_items": 123,
"total_pages": 123
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Headers
API key for authorization
Query Parameters
Product ID
Organization ID
User ID
Receiver ID
Status
Creation Date
Page number for pagination
Number of items per page
⌘I

