CaraCara API

Create an email template

POST
/emails/templates

Authorization

AuthorizationRequiredBearer <token>

Use your API key (sk_live_* or sk_test_*) as the Bearer token.

In: header

Request Body

application/jsonRequired
nameRequiredstring
subjectRequiredstring
htmlContentRequiredstring
textContentstring
curl -X POST "https://platform.caramedical.com/api/v1/emails/templates" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "string",
    "subject": "string",
    "htmlContent": "string",
    "textContent": "string"
  }'

Template created.