curl --request GET \
--url https://api.sandbox.usenash.com/v1/notification-triggers/catalog \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.sandbox.usenash.com/v1/notification-triggers/catalog"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.sandbox.usenash.com/v1/notification-triggers/catalog', 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.sandbox.usenash.com/v1/notification-triggers/catalog",
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.sandbox.usenash.com/v1/notification-triggers/catalog"
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.sandbox.usenash.com/v1/notification-triggers/catalog")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sandbox.usenash.com/v1/notification-triggers/catalog")
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{
"filterCriteria": {},
"actions": [
{
"key": "send_message",
"fields": [
"<string>"
]
}
],
"triggers": [
{
"type": "delivery_incident_report",
"title": "<string>",
"value": "18zdfialfe|Delivery Incident Report",
"entityType": "route",
"category": "route",
"isFlag": false,
"creatable": false,
"description": "",
"statuses": [
"archived"
],
"parametersSchema": {},
"supportedActions": [
"send_message"
],
"supportedFilters": [
"dispatch_strategies"
]
}
]
}[
{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
},
"response_status": "<string>",
"RequestID": "<string>"
}
]Get Notification Trigger Catalog
The full notification-trigger catalog. Each entry describes a trigger’s type slug, human title, the value used to subscribe automations, the entityType (route/delivery/task/order/activity), its statuses vocabulary, the JSON Schema of its create parameters, and the supportedFilters / supportedActions. The shared filterCriteria (dispatch strategies, contracts, zones, metadata conditions) and actions are described once at the top level. Designed for agents and humans to discover what can be automated and how.
curl --request GET \
--url https://api.sandbox.usenash.com/v1/notification-triggers/catalog \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.sandbox.usenash.com/v1/notification-triggers/catalog"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.sandbox.usenash.com/v1/notification-triggers/catalog', 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.sandbox.usenash.com/v1/notification-triggers/catalog",
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.sandbox.usenash.com/v1/notification-triggers/catalog"
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.sandbox.usenash.com/v1/notification-triggers/catalog")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sandbox.usenash.com/v1/notification-triggers/catalog")
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{
"filterCriteria": {},
"actions": [
{
"key": "send_message",
"fields": [
"<string>"
]
}
],
"triggers": [
{
"type": "delivery_incident_report",
"title": "<string>",
"value": "18zdfialfe|Delivery Incident Report",
"entityType": "route",
"category": "route",
"isFlag": false,
"creatable": false,
"description": "",
"statuses": [
"archived"
],
"parametersSchema": {},
"supportedActions": [
"send_message"
],
"supportedFilters": [
"dispatch_strategies"
]
}
]
}[
{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
},
"response_status": "<string>",
"RequestID": "<string>"
}
]Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Response
OK
Full catalog response for GET /v1/notification-triggers/catalog.
Shared filter criteria available to every trigger, keyed by FilterCriterionKey.
Show child attributes
Show child attributes
Available action types that can be configured on a trigger.
Show child attributes
Show child attributes
One entry per NotificationTriggerType member.
Show child attributes
Show child attributes
Was this page helpful?