Get All With Filters

GET
/mail_templates

Get all custom templates

Headers

Auth
AuthorizationstringRequired
Bearer authentication of the form Bearer <token>, where token is your auth token.
x-monite-versionstringRequired

Query parameters

order"asc" or "desc"Optional

Order by

Allowed values: ascdesc
limitintegerOptional>=1<=100

Max is 100

pagination_tokenstringOptional

A token, obtained from previous page. Prior over other filters

sort"type" or "name"Optional

Allowed sort fields

Allowed values: typename
typeenumOptional
type__inenumOptional
type__not_inenumOptional
is_defaultbooleanOptionalDefaults to false
namestringOptional
name__iexactstringOptional
name__containsstringOptional
name__icontainsstringOptional

Response

Successful Response

datalist of objects

All user-defined email templates

next_pagination_tokenstringOptional

A token that can be sent in the pagination_token query parameter to get the next page of results, or null if there is no next page (i.e. you’ve reached the last page).

prev_pagination_tokenstringOptional

A token that can be sent in the pagination_token query parameter to get the previous page of results, or null if there is no previous page (i.e. you’ve reached the first page).

Errors