API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console

POST /v1/email-snippets

POST/v1/email-snippets

CodeMeta OS API endpoint.

Request body

NameTypeDescription
namerequiredstring
categorystring
htmlContentrequiredstring
jsonContentrequiredobject

Example

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
});

Response codes

HTTP Meaning
200 Default Response

Search