Skip to main content
PUT
/
api
/
v1
/
mail
/
templates
/
{messageTemplateId}
Update mail template.
curl --request PUT \
  --url https://api.revong.com/api/v1/mail/templates/{messageTemplateId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "category": "<string>",
  "desc": "<string>",
  "subject": "<string>",
  "body": "<string>",
  "type": "DEFAULT",
  "version": 123
}'

Authorizations

Authorization
string
header
required

Bearer token with Platform JWT token or API Key.

Path Parameters

messageTemplateId
string
required

Body

application/json
version
number
required

Provide current version.

name
string

Name.

category
string

Category.

desc
string

Description.

subject
string

Subject.

body
string

Template Body.

type
enum<string>

Template type.

Available options:
DEFAULT

Response

OK.