API Email Campaigns
In this article we will go through campaign dispatches via API calls and what is required to send them.
API calls to create dispatches are not the most common to use, instead we recommend using our campaign editor and creating dispatches through it. If you still want to send campaigns via API calls, it is important to understand how to create them and all the parts that need to be in place for it to work.
Correct technical implementation and usage is important for these types of dispatches to work, it is not something we take responsibility for but refer to these guidelines.
We will go through:
- API documentation
- Template for API dispatches
API documentation
You can see how to call blocks in the template to build the content of the dispatch in our API documentation:
https://apidoc.rule.se/#transactions-send-transaction-post
Template for API dispatches
In order for the API calls to include blocks and email parts correctly in the campaign, you first need to create a template that works correctly. You can create this yourself by following this example:
https://drive.google.com/file/d/1QfdzU_fCo_qPSKk9MCwoUuDLngl74kUw/view
You can order such a template from us according to your own design. All information on how to order a template and how the material should look can be found in our guide Material for template ordering.
Note! Include in the order that it should be an API template.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article