Skip to content

List email templates​

GET
/api/v2/email-templates

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Query Parameters

type

Filter by template type

Type
string
Valid values
"Connect""InviteOnly"

Responses​

Paginated email templates

application/json
JSON
{
  
"count": 10,
  
"totalCount": 25,
  
"limit": 50,
  
"offset": 25,
  
"data": [
  
]
}

Playground​

Authorization
Variables
Key
Value

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​


Get email template by ID​

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

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Path Parameters

id*
Type
integer
Required

Responses​

Email template object

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

Playground​

Authorization
Variables
Key
Value

Samples​


Delete email template permanently​

DELETE
/api/v2/email-templates/{id}

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Path Parameters

id*
Type
integer
Required

Responses​

Deleted

Playground​

Authorization
Variables
Key
Value

Samples​


Update email template​

PATCH
/api/v2/email-templates/{id}

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Path Parameters

id*
Type
integer
Required

Request Body​

application/json
JSON
"string"

Responses​

Email template updated

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

Playground​

Authorization
Variables
Key
Value
Body

Samples​


Duplicate email template​

POST
/api/v2/email-templates/{id}/duplicate

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Path Parameters

id*
Type
integer
Required

Request Body​

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

Responses​

Email template duplicated

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

Playground​

Authorization
Variables
Key
Value
Body

Samples​


Powered by VitePress OpenAPI