Templates
List account templates
Lists stored templates for the account
get/v1/templates
Request
- Base URL: https://your-emailengine-host
- URL: https://your-emailengine-host/v1/templates
- Auth: HTTP bearer
Query parameters
accountstring
Account ID to list the templates for
Example:example
pageinteger
Page number (zero indexed, so use 0 for first page)
pageSizeinteger
How many entries per page
Example:20
Headers
x-ee-timeoutinteger
Request timeout in milliseconds. Raises the command timeout above the EENGINE_TIMEOUT default for a long-running request; a value below the default has no effect
Example:30000
Response
Returns a page of stored templates for the account.
Example response
{
"account": "user123",
"total": 120,
"pages": 24,
"templates": [
{
"id": "AAABgS-UcAYAAAABAA",
"name": "Transaction receipt",
"description": "Something about the template",
"created": "2021-02-17T13:43:18.860Z",
"updated": "2021-02-17T13:43:18.860Z"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.