
List Templates
template_list.Rd
Retrieves a list of templates from the Postmark API. Templates can be filtered by type and paginated using count and offset parameters.
Arguments
- count
An integer specifying the number of templates to retrieve.
- type
A string specifying the template type to filter by: "all", "standard", or "layout". Defaults to "all".
- token
Character string. Your Postmark API token. If NULL (default), the function will attempt to retrieve the token using
get_token()
POSTMARK_SERVER_TOKEN
as an environment variable. Check the Postmark's API documentation on how to get a server token.