API · v1 · stabil
CODEMETA OSDeveloper Center
Konsole öffnen

POST /v1/email-snippets

POST/v1/email-snippets

CodeMeta OS API endpoint.

Request Body

NameTypBeschreibung
nameerforderlichstring
categorystring
htmlContenterforderlichstring
jsonContenterforderlichobject

Beispiel

curl -X POST https://api.codemeta-os.de/v1/email-snippets \
  -H "X-Tenant-Id: $TENANT" \
  -H "Content-Type: application/json" \
  -b cookies.txt \
  -d '{
  "name": "string",
  "category": "string",
  "htmlContent": "string",
  "jsonContent": null
}'
const result = await cm.email-snippets.post({
  "name": "string",
  "category": "string",
  "htmlContent": "string",
  "jsonContent": null
});

Antwortcodes

HTTP Bedeutung
200 Default Response

Suche