Audiences
Audit Events
AuthTokens
Inbound
Lists
Messages
Notifications
Profiles
Tenants
Translations
User Preferences
User Tenants
Notifications
Get notifications draftcontent
GET
/
notifications
/
{id}
/
draft
/
content
curl --request GET \
--url https://api.courier.com/notifications/{id}/draft/content \
--header 'Authorization: Bearer <token>'
{
"blocks": [
{
"alias": "<string>",
"context": "<string>",
"id": "<string>",
"type": "action",
"content": "<string>",
"locales": {},
"checksum": "<string>"
}
],
"channels": [
{
"id": "<string>",
"type": "<string>",
"content": {
"subject": "<string>",
"title": "<string>"
},
"locales": {},
"checksum": "<string>"
}
],
"checksum": "<string>"
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Response
200 - application/json
curl --request GET \
--url https://api.courier.com/notifications/{id}/draft/content \
--header 'Authorization: Bearer <token>'
{
"blocks": [
{
"alias": "<string>",
"context": "<string>",
"id": "<string>",
"type": "action",
"content": "<string>",
"locales": {},
"checksum": "<string>"
}
],
"channels": [
{
"id": "<string>",
"type": "<string>",
"content": {
"subject": "<string>",
"title": "<string>"
},
"locales": {},
"checksum": "<string>"
}
],
"checksum": "<string>"
}