List notifications
curl --request GET \
--url https://api.salesive.com/api/v1/notifications \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.salesive.com/api/v1/notifications"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.salesive.com/api/v1/notifications', 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.salesive.com/api/v1/notifications",
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.salesive.com/api/v1/notifications"
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.salesive.com/api/v1/notifications")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.salesive.com/api/v1/notifications")
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{
"status": 200,
"success": true,
"message": "Notifications retrieved",
"data": {
"notifications": [
{
"title": "Today",
"data": [
{
"_id": "66b3f0a1c2d4e5f600112233",
"user": "66a1b2c3d4e5f60011223344",
"shop": "66a0a1b2c3d4e5f600112200",
"title": "New order received",
"message": "Order #1042 was just placed for $59.99.",
"type": "order",
"read": false,
"data": {
"orderId": "66b3efaa11223344556677"
},
"createdAt": "2026-06-28T09:14:00.000Z",
"updatedAt": "2026-06-28T09:14:00.000Z"
}
]
},
{
"title": "Yesterday",
"data": [
{
"_id": "66b2cd33aabbccdd00112233",
"user": "66a1b2c3d4e5f60011223344",
"shop": "66a0a1b2c3d4e5f600112200",
"title": "Low stock",
"message": "Blue Hoodie is down to 3 units.",
"type": "info",
"read": true,
"readAt": "2026-06-27T18:02:00.000Z",
"data": {},
"createdAt": "2026-06-27T15:40:00.000Z",
"updatedAt": "2026-06-27T18:02:00.000Z"
}
]
}
],
"pagination": {
"page": 1,
"limit": 10,
"total": 2,
"pages": 1
},
"unreadCount": 1
}
}{
"status": 401,
"success": false,
"message": "Authentication required",
"data": null
}{
"status": 403,
"success": false,
"message": "Insufficient scope",
"data": null
}Notifications
List notifications
Retrieve the merchant’s notifications, paginated and grouped by date, plus the unread count. Requires the READ_NOTIFICATIONS scope.
GET
/
notifications
List notifications
curl --request GET \
--url https://api.salesive.com/api/v1/notifications \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.salesive.com/api/v1/notifications"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.salesive.com/api/v1/notifications', 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.salesive.com/api/v1/notifications",
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.salesive.com/api/v1/notifications"
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.salesive.com/api/v1/notifications")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.salesive.com/api/v1/notifications")
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{
"status": 200,
"success": true,
"message": "Notifications retrieved",
"data": {
"notifications": [
{
"title": "Today",
"data": [
{
"_id": "66b3f0a1c2d4e5f600112233",
"user": "66a1b2c3d4e5f60011223344",
"shop": "66a0a1b2c3d4e5f600112200",
"title": "New order received",
"message": "Order #1042 was just placed for $59.99.",
"type": "order",
"read": false,
"data": {
"orderId": "66b3efaa11223344556677"
},
"createdAt": "2026-06-28T09:14:00.000Z",
"updatedAt": "2026-06-28T09:14:00.000Z"
}
]
},
{
"title": "Yesterday",
"data": [
{
"_id": "66b2cd33aabbccdd00112233",
"user": "66a1b2c3d4e5f60011223344",
"shop": "66a0a1b2c3d4e5f600112200",
"title": "Low stock",
"message": "Blue Hoodie is down to 3 units.",
"type": "info",
"read": true,
"readAt": "2026-06-27T18:02:00.000Z",
"data": {},
"createdAt": "2026-06-27T15:40:00.000Z",
"updatedAt": "2026-06-27T18:02:00.000Z"
}
]
}
],
"pagination": {
"page": 1,
"limit": 10,
"total": 2,
"pages": 1
},
"unreadCount": 1
}
}{
"status": 401,
"success": false,
"message": "Authentication required",
"data": null
}{
"status": 403,
"success": false,
"message": "Insufficient scope",
"data": null
}Returns the merchant’s notifications grouped into date-labelled sections (“Today”, “Yesterday”, or a full weekday date), along with the total unread count. The store is bound to your app token server-side — never send a shop id.
Authorizations
Installed-app access token (prefix app_), issued by the OAuth install flow. The store is bound to the token server-side — never send a shop id.
Query Parameters
Page number to retrieve.
Required range:
x >= 1Number of notifications per page.
Required range:
x >= 1Response
Paginated, date-grouped notifications plus the unread count.
Was this page helpful?
⌘I

