Audiences
AuthTokens
Brands
Inbound
Lists
Messages
Notifications
Profiles
Tenants
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
Available options:
action
, divider
, image
, jsonnet
, list
, markdown
, quote
, template
, text
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>"
}