Template Tool
Phishing-template authoring tool: S3 CRUD, DeepL translation, AI batch.
List template topic folders in S3
List template topic folders in S3
List template IDs inside a topic folder
List template IDs inside a topic folder
Compute the next free template ID for a topic
Compute the next free template ID for a topic
Load a template (all languages) by topic + ID
Load a template (all languages) by topic + ID
Save a template with explicit topic
Save a template with explicit topic
Delete a template by topic + ID
Delete a template by topic + ID
Load a template by ID (legacy, single-language)
Load a template by ID (legacy, single-language)
Save a template (legacy or with topic in body)
Save a template (legacy or with topic in body)
Delete a template by ID (optionally with `topic` query param)
Delete a template by ID (optionally with `topic` query param)
Translate text via DeepL
Translate text via DeepL
Generate one template bundle via AI
Generate one template bundle via AI
Start an AI template generation batch job
Start an AI template generation batch job
Fetch AI batch job state
Fetch AI batch job state
Fetch one AI batch item
Fetch one AI batch item
Approve / reject an AI batch item
Approve / reject an AI batch item
Approve and persist an AI-generated template bundle
Approve and persist an AI-generated template bundle
Archive currently-active templates
Archive currently-active templates
Proxy an S3 file (image, manifest)
Streams an S3 object back to the browser. The handler matches the path via a regex (`/^/s3/files/(.+)/`); the spec models it with a single `filePath` path parameter.