PerspectPerspectDocs
Go to Admin
View as Markdown

Email

This reference is auto-generated from the mounted public Hono routes in perspectapiworkers. Admin and internal routes are excluded.

Base Path

/api/v2/sites/:siteName/email

Endpoints

POST /api/v2/sites/:siteName/email/send

Send action.

Path params: siteName

GET /api/v2/sites/:siteName/email/templates

Get templates.

Path params: siteName

POST /api/v2/sites/:siteName/email/templates

Templates action.

Path params: siteName

GET /api/v2/sites/:siteName/email/templates/:templateId

Get templates.

Path params: siteName, templateId

POST /api/v2/sites/:siteName/email/templates/:templateId/clone

Clone action.

Path params: siteName, templateId

POST /api/v2/sites/:siteName/email/templates/:templateId/publish

Publish action.

Path params: siteName, templateId

GET /api/v2/sites/:siteName/email/templates/published/:templateType

Get published.

Path params: siteName, templateType

GET /api/v2/sites/:siteName/email/templates/types

Get types.

Path params: siteName

GET /api/v2/sites/:siteName/email/templates/types/:templateType

Get types.

Path params: siteName, templateType

Path Parameters

Parameter
siteName
templateId
templateType

This page is generated from the actual public Hono route table. Do not edit it by hand.