Get message templates
curl --request GET \
--url http://localhost:3001/api/admin/content/templates
{
"templates": [
{
"workspaceId": "<string>",
"id": "<string>",
"name": "<string>",
"type": "Email",
"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>"
}
}
},
"updatedAt": 123
}
]
}
curl --request GET \
--url http://localhost:3001/api/admin/content/templates
{
"templates": [
{
"workspaceId": "<string>",
"id": "<string>",
"name": "<string>",
"type": "Email",
"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>"
}
}
},
"updatedAt": 123
}
]
}
Get message templates
curl --request GET \
--url http://localhost:3001/api/admin/content/templates
{
"templates": [
{
"workspaceId": "<string>",
"id": "<string>",
"name": "<string>",
"type": "Email",
"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>"
}
}
},
"updatedAt": 123
}
]
}
curl --request GET \
--url http://localhost:3001/api/admin/content/templates
{
"templates": [
{
"workspaceId": "<string>",
"id": "<string>",
"name": "<string>",
"type": "Email",
"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>"
}
}
},
"updatedAt": 123
}
]
}