Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Retrieve the notes from the Notification template settings.
import Courier from '@trycourier/courier';
const client = new Courier({
apiKey: 'My API Key',
});
const notifications = await client.notifications.list();
console.log(notifications.paging);{
"paging": {
"cursor": "<string>",
"more": true
},
"results": [
{
"created_at": 123,
"updated_at": 123,
"id": "<string>",
"routing": {
"method": "all",
"channels": [
"<string>"
]
},
"tags": {
"data": [
{
"id": "<string>",
"name": "<string>"
}
]
},
"title": "<string>",
"topic_id": "<string>",
"note": "<string>"
}
]
}import Courier from '@trycourier/courier';
const client = new Courier({
apiKey: 'My API Key',
});
const notifications = await client.notifications.list();
console.log(notifications.paging);{
"paging": {
"cursor": "<string>",
"more": true
},
"results": [
{
"created_at": 123,
"updated_at": 123,
"id": "<string>",
"routing": {
"method": "all",
"channels": [
"<string>"
]
},
"tags": {
"data": [
{
"id": "<string>",
"name": "<string>"
}
]
},
"title": "<string>",
"topic_id": "<string>",
"note": "<string>"
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Retrieve the notes from the Notification template settings.