curl --request GET \
--url http://localhost:3001/api/admin/content/templates \
--header 'Authorization: <api-key>'{
"templates": [
{
"workspaceId": "<string>",
"id": "<string>",
"name": "<string>",
"type": "Email",
"updatedAt": 123,
"definition": {
"type": "MobilePush",
"title": "<string>",
"body": "<string>",
"imageUrl": "<string>",
"android": {
"notification": {
"channelId": "<string>"
}
}
},
"draft": {
"type": "MobilePush",
"title": "<string>",
"body": "<string>",
"imageUrl": "<string>",
"android": {
"notification": {
"channelId": "<string>"
}
}
}
}
]
}Get message templates
curl --request GET \
--url http://localhost:3001/api/admin/content/templates \
--header 'Authorization: <api-key>'{
"templates": [
{
"workspaceId": "<string>",
"id": "<string>",
"name": "<string>",
"type": "Email",
"updatedAt": 123,
"definition": {
"type": "MobilePush",
"title": "<string>",
"body": "<string>",
"imageUrl": "<string>",
"android": {
"notification": {
"channelId": "<string>"
}
}
},
"draft": {
"type": "MobilePush",
"title": "<string>",
"body": "<string>",
"imageUrl": "<string>",
"android": {
"notification": {
"channelId": "<string>"
}
}
}
}
]
}Default Response
Show child attributes
Email Mobile push template resource
Show child attributes
MobilePush Mobile push template resource
Show child attributes
MobilePush