Skip to content

Retrieve the list of email templates​

GET
/api/v2/email-manager/

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Query Parameters

name

Name of template to find

Type
string
type

Type of template to find

Type
string

Responses​

Playground​

Authorization
Variables
Key
Value

Samples​


Create an email template​

POST
/api/v2/email-manager/

Authorizations​

bearerAuth
Type
HTTP (bearer)

Request Body​

application/json
JSON
{
  
"name": "string",
  
"type": "string",
  
"subject": "string",
  
"body": "string",
  
"customSection1": "string",
  
"customSection2": "string",
  
"customSection3": "string",
  
"customSection4": "string"
}

Responses​

Playground​

Authorization
Body

Samples​


Retrieve a specific email template​

GET
/api/v2/email-manager/{id}

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Path Parameters

id*

id

Type
integer
Required
Format
"int64"

Responses​

Playground​

Authorization
Variables
Key
Value

Samples​


Send an Email​

POST
/api/v2/email-manager/send-email

Authorizations​

bearerAuth
Type
HTTP (bearer)

Request Body​

application/json
JSON
{
  
"to": "string",
  
"subject": "string",
  
"body": "string"
}

Responses​

Playground​

Authorization
Body

Samples​


Create email template​

POST
/api/v2/email-templates

Authorizations​

bearerAuth
Type
HTTP (bearer)

Request Body​

application/json
JSON
"string"

Responses​

Email template created

application/json
JSON
{
  
"data": "string"
}

Playground​

Authorization
Body

Samples​


Powered by VitePress OpenAPI