API Reference

POST email/templates/Z

POST
email/templates/Z

POST operation for email/templates/Z

Authorization

ApiKeyAuth
Authorization<token>

API key authentication. Format: Your API key (no "Token" prefix needed)

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://dev-rest.onboard.io/email/templates/Z" \  -H "Content-Type: application/json" \  -d '{    "template_type": "string",    "subject_line": "string",    "from_name": "string",    "design": {},    "default": true,    "is_enabled": true  }'
{
  "id": 0,
  "template_type": "string",
  "custom_template_name": "string",
  "display_name": "string",
  "subject_line": "string",
  "from_name": "string",
  "from_email": "[email protected]",
  "html": "string",
  "design": {},
  "default": true,
  "is_enabled": true,
  "is_scheduled": true,
  "send_time": "14:15:22Z",
  "days_to_send": {},
  "last_sent": "2019-08-24T14:15:22Z",
  "next_scheduled": "2019-08-24T14:15:22Z",
  "last_modified_date": "string",
  "last_modified_user": "string",
  "merge_tags": "string",
  "preview_html": "string"
}
Empty
Empty
Empty

How is this guide?