templates

Returns a entity template with the template variables replaced with the Entities

Changed on

Returns a entity template with the template variables replaced with the Entities

post/api/v1/templates

Request

Query parameters

per_pageinteger
Example:20

The number of records to return for each request, default is 20

pageinteger
Example:1

The page number to return for this request (when performing pagination), default is 1

Headers

X-Requested-Withstring required
Example:XMLHttpRequest

Used to send the XMLHttpRequest header

Request body

subjectstring

The email template subject

bodystring

The email template body

Response

The template response

htmlstring

The template HTML

Example response

{
  "html": "<HTML></HTML>"
}

Changes

    • info

      added the new optional query request parameter page

    • info

      added the new optional query request parameter per_page

    • breaking

      the response's body type changed from no type to object for status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status