API Token
Manage the API keys
Generating API Token
Communication with your application and system is based on API. We’re using API Token to protect the software. You need to generate your API Key from the Settings page. Don’t forget to copy the key after you generated it.
The above image is a very good example of usage. It’s using a special template. The system will choose the right template designed for this service and update the variables using a template placeholder.
API Endpoints
The software has two API endpoints. You may choose a product to send the email or you may choose a template. If you will send a notification or announcement, choosing a template will be a better choice.
Listing all registed services
Single service with template placeholders
Get all templates:
All sent emails
Both API URL is token-based protected. You must send this token in the Authorization header when making requests to protected resources:
Working with API
Each template or product page also shows you a presentation of the JSON body with an example. While creating API clients, will give you a start point.
As you see that, both API must have email and transaction_id entries in the first part of the JSON body. If you choose a product, you should provide the SKU of the product. If you’ll use a directly template, you need to enter template ID.