TemplatesVersion: v3New
List templates
GET/emails/locations/{locationId}/templates
Get list of templates by location
Authorizations
Authorizationstringheaderrequired
Bearer authentication header of the form Bearer <token>, where <token> is your access token.
Scope:
emails/ templates. readonlyAuth methods:
OAuthPrivate IntegrationToken type:
Sub-Account TokenRequest
Headers
Versionstringrequired
API Version
Available options
v3Example:
v3Path Parameters
locationIdstringrequired
Location ID
Example:
ve9EPM428h8vShlRW1KTQuery Parameters
limitnumber
Number of templates to return
Possible values: >= 1 and <= 20
Default:
10Example:
10offsetnumber
Number of templates to skip
Possible values: >= 0
Default:
0Example:
0searchstring
Search by template name
Example:
newslettersortBystring
Field to sort by
Available options
updatedAtExample:
updatedAtsortOrderstring
Sort direction
Available options
ascdescExample:
descarchivedboolean
Return archived templates
Default:
falseExample:
falsefolderIdstring
Folder to list templates from. Use 'root' for top-level listing.
Example:
rootincludestring
Whether to include templates, folders, or both in the response. templates will return only templates, folders will return only folders, and all will return both.
Available options
alltemplatesfoldersExample:
allResponse
Success
itemsobject[]required
List of template and folder resources
totalnumberrequired
Total count of templates and folders
Example:
25traceIdstring
Trace ID of the request
Example:
019e4ef5-a65e-4198-8cf9-8e93dca9bda4