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

Authorizations

Authorization
string
header
required

Bearer token with Platform JWT token or API Key.

Body

application/json
name
string
required

Name.

body
string
required

Template Body.

type
enum<string>
required

Template type.

Available options:
DEFAULT
category
string

Category.

desc
string

Description.

subject
string

Subject.

Response

OK.