curl --request POST \
--url https://api.revong.com/api/v1/mail/templates \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"body": "<string>",
"type": "DEFAULT",
"category": "<string>",
"desc": "<string>",
"subject": "<string>"
}
'ROLES: RESOURCE_WRITE,RESOURCE_ADMIN USER: true SERVICE ACCOUNT: true
curl --request POST \
--url https://api.revong.com/api/v1/mail/templates \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"body": "<string>",
"type": "DEFAULT",
"category": "<string>",
"desc": "<string>",
"subject": "<string>"
}
'Bearer token with Platform JWT token or API Key.
OK.