Skip to main content

List templates

Returns a list of notification templates

URL: https://api.courier.com/notifications

Method: GET

Query Parameters

cursorstring
A unique identifier that allows for fetching the next set of templates

Response

status: 200 OK

pagingobject
+ Show Properties
resultsarray
An array of Notification Templates
+ Show Properties

Request Example

curl --request GET \
--url https://api.courier.com/notifications \
--header 'Accept: application/json'

Responses Example

{
"paging": {
"cursor": "MTU4OTQ5NTI1ODY4NywxLTVlYmRjNWRhLTEwODZlYWFjMWRmMjEwMTNjM2I0ZjVhMA==",
"more": true
},
"results": [
{
"created_at": 1562611084123,
"id": "P852PP8Z2X4BZ8PYVA6853A53NDY",
"routing": {
"channels": [
null,
{
"undefined": [
null
]
}
]
},
"tags": {
"data": [
{
"id": "59a96dd5-7c76-4ba0-a3bb-06f5d92334d2",
"name": "Important"
}
]
},
"title": "Password Reset",
"updated_at": 1562611084123,
"topic_id": "VWPV5DPA9C47ZDJAHSSTKZ3R5BF5"
}
]
}
Was this helpful?