API · v1 · stable
CODEMETA OSDeveloper Center
FR
Ouvrir la console

POST /v1/email-snippets/tenant

POST/v1/email-snippets/tenant

CodeMeta OS API endpoint.

Corps de la requête

NomTypeDescription
nameobligatoirestring
categorystring
htmlContentobligatoirestring
jsonContentobligatoireobject

Exemple

curl -X POST https://api.codemeta-os.de/v1/email-snippets/tenant \
  -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
});

Codes de réponse

HTTP Signification
200 Default Response

Recherche