Skip to content

Create template

POST
/communication/template-text/template-texts
Required scope: templatetext:create

Creates a new logical template. Sanitises the canonical body as e-mail HTML (only if the content type is text/html), renders the bodies per language and per country named by the country blocks or the country settings, persists all sidecar rows, and regenerates the legacy notificationtemplate projection — all in a single transaction. Rejects the request if the templateCode already exists in either the sidecar or the legacy notificationtemplate table, or if a country block or a country setting names a country that Ramos does not know.

Request body ​

Response ​

The template was created successfully.