Get Notification Content
Changed onReturns a template's content and checksum. V2 templates return Elemental elements, while V1 templates return blocks and channels instead.
Request
- Base URLhttps://api.courier.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Notification template ID (nt_ prefix).
Query parameters
Accepts draft, published, or a version string (e.g., v001). Defaults to published.
Response
Template content retrieved.
Example response
{
"version": "2022-01-01"
}Changes
- info
api tag
Templatesadded - info
api tag
Notification Templatesremoved
- info
- breaking
added to the response body
oneOflist for the response status - breaking
the response's body type changed from
objectto no type for status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - info
added the new optional
queryrequest parameterversion - info
added the non-success response with the status
- breaking