/v1/templates
Alle Templates des Kunden mit Art, Status, Herkunft und Parameter-Vertrag (name, label, type, required, fallback, example). Ein Portal, das ein fertiges Template anbietet, holt hier die Felder, die der Nutzer füllen soll — eine KI kann sie aus Bezeichnung und Beispiel vorausfüllen. Scope reporting.
Request · Next.js
const res = await fetch(`https://api.newsletterkit.ventureon.io/v1/templates`, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.NEWSLETTERKIT_API_KEY}`,
},
});
const data = await res.json();Response 200
{
"data": [
{
"id": "00000000-0000-4000-8000-0000000000f3",
"name": "Einladung (Beyond)",
"subject": "{{titel}}",
"kind": "transaktional",
"status": "active",
"origin": "admin",
"from": null,
"reply_to": null,
"params": [
{ "name": "titel", "label": "Überschrift", "type": "string", "required": true, "fallback": null, "example": "Dein Zugang zum Dashboard" },
{ "name": "link", "label": "Einladungslink", "type": "url", "required": true, "fallback": null, "example": "https://example.com/einladung?token=BEISPIEL" }
],
"created_at": "2026-09-02T11:00:00Z",
"updated_at": "2026-09-03T09:12:00Z"
}
],
"request_id": "…"
}