Email templates

The /email/templates endpoint allows you to manage email templates that can be used for sending emails. You can create, update, delete, and list email templates.

Fetch all templates

GET /email/templates

Fetch all email templates.

Response

Success

200

{
  ok: true,
  data: {
    templates: EmailTemplate[];
  }
}

Error

400

{
  ok: false;
  error: string;
}