Skip to main content
GET
List available email templates
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Description

GET /email-templates Description: Lists the transactional email template names Royalti can render and send, and whether each has built-in sample preview data. Authorization:
  • Required role: admin or higher
Method: GET

Code Examples

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Response

Templates listed

status
string
Example:

"success"

message
string
data
object[]