Premade Templates
Topol offers a collection of ready-made email templates you can easily access and use through our API. This saves you time by letting you start from professionally designed templates instead of building from scratch.
What Can You Do with the API?
List templates
You can request a list of available premade templates. You can customize the list by paging through results, filtering by template type (FREE or PRO), searching by keywords or categories, and sorting by date or other properties.Get template details
Request a specific template’s full details, including its HTML and JSON content, by providing its ID.List categories and keywords
You can also get lists of categories (like Business, E-commerce) and keywords (like Sale/Discount, Autumn) to help filter and find templates.
How Does It Work?
1. Get an API key
You need an API key to call these token management APIs. You can get it either from your account settings or from your existing Plugin API Token settings.
When using an API key from your account settings, you can set various permissions. Go to Settings, then navigate to API Tokens. From there, select "Create API Token" and specify the permissions you wish to grant to this token.
If you prefer to use the same existing Plugin API token that was used to initialize your Plugin, simply copy it from the Plugin Settings under "Show API key".
2. Set API Request Headers
When making requests, include these headers:
{
"accept": "application/json",
"Authorization": "Bearer <api-key>"
}Servers
Get premade email templates
Retrieve a list of premade email templates.
Authorizations
Use: Authorization: Bearer <api-key>
Request Body
Responses
Templates fetched successfully
Get premade email template
Get a premade template
Authorizations
Use: Authorization: Bearer <api-key>
Parameters
Path Parameters
Premade template ID
Responses
Template fetched successfully
Get a list of premade template categories
Retrieve a list of premade template categories
Authorizations
Use: Authorization: Bearer <api-key>
Responses
Template categories fetched successfully
Get a list of premade template keywords
Retrieve a list of premade template keywords
Authorizations
Use: Authorization: Bearer <api-key>
Responses
Template keywords fetched successfully