List stored templates
Returns a paginated list of stored templates, ordered by name ascending unless the sort parameter says otherwise.
Deactivated templates are part of the list. Filter on is_active to see only the ones that are in use.
Only the name, the active state and the site can be filtered on. A parameter that is not one of those — the language, for instance — is ignored and the unfiltered page is returned, so check the response count before assuming a filter was applied.
The full template source of every record is part of the response, which makes a page of records large. Narrow the page with limit when only the names are of interest.
Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.
The page number to return.
1The number of items to return per page.
10Orders the results by one or more fields. Separate multiple fields with commas. Prefix a field with a hyphen (-) for descending order.
-idFilter by name. The whole name must match, letter case and extension included; a partial name returns an empty page.
emails/orders/completed.htmlFilter by active state. true returns the records that are used when a template is rendered, false the deactivated ones.
Filter by the identifier of a site the record is bound to. Repeat the parameter to widen the result to the records bound to any of the given sites.
A page of stored templates.
A paginated list of stored templates.
Total number of stored templates matching the request.
URL of the next page, or null if this is the last page.
URL of the previous page, or null if this is the first page.
Authentication credentials were not provided or are invalid.
The authenticated user does not have administrator privileges.
GET /api/v1/remote/1/templates/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
"count": 1,
"next": null,
"previous": null,
"results": [
{
"pk": 1,
"name": "emails/orders/completed.html",
"content": "{% extends \"emails/base.html\" %}\n{% block content %}<h1>Your order is complete.</h1>{% endblock %}",
"language": "tr-tr",
"is_active": true,
"sites": [
1
],
"created_date": "2026-01-01T00:00:00.000Z",
"modified_date": "2026-01-01T00:00:00.000Z"
}
]
}Last updated
Was this helpful?

