Authorizations
Path Parameters
Available options:
welcome_email, password_reset, email_verification, invitation Get a specific email template
curl --request GET \
--url https://api.wacht.dev/email-templates/{template_name} \
--header 'Authorization: Bearer <token>'{
"name": "welcome_email",
"subject": "Welcome to {{app_name}}!",
"html_body": "<h1>Welcome {{user.name}}!</h1><p>Thank you for joining us.</p>",
"text_body": "Welcome {{user.name}}! Thank you for joining us.",
"variables": [
"user.name",
"user.email",
"app_name"
],
"updated_at": "2023-11-07T05:31:56Z"
}welcome_email, password_reset, email_verification, invitation curl --request GET \
--url https://api.wacht.dev/email-templates/{template_name} \
--header 'Authorization: Bearer <token>'{
"name": "welcome_email",
"subject": "Welcome to {{app_name}}!",
"html_body": "<h1>Welcome {{user.name}}!</h1><p>Thank you for joining us.</p>",
"text_body": "Welcome {{user.name}}! Thank you for joining us.",
"variables": [
"user.name",
"user.email",
"app_name"
],
"updated_at": "2023-11-07T05:31:56Z"
}