Get Email Template
Retrieve a single email template by ID, including its full design JSON and HTML content.
Retrieve a single email template by ID, including its full design JSON and HTML content.
__Secure-guidelab-prod.session_token<token>
Production session cookie set for the guidelab.co domain by Better Auth
In: cookie
Path Parameters
id*string
Response Body
application/json
curl -X GET "https://example.com/email-templates/550e8400-e29b-41d4-a716-446655440000"{ "template": { "id": "string", "labId": "string", "name": "string", "subject": "string", "description": "string", "designJson": { "body": { "rows": [ null ], "property1": null, "property2": null }, "counters": { "property1": 0, "property2": 0 }, "property1": null, "property2": null }, "htmlContent": "string", "category": "string", "sortOrder": 0, "isActive": true, "createdAt": "string", "updatedAt": "string" }}Empty
Empty
Delete Email Template DELETE
Soft-delete an email template by marking it as inactive. The template remains in the database for historical reference.
List Email Templates GET
List email templates for the current lab with filtering by category, search, and pagination. Supports including inactive templates.