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:


  1. API documentation
  2. 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

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article

Other ways to get help

Sign up to our next webinar

Free

Discover the secrets of business growth through engaging marketing events.

Contact us to book a Workshop

Discover how you can increase digital engagement and growth in a personal review of Rule

Couldn’t find what you needed?

No worries, feel free to reach out to our support about any queries!

Sign up to our newsletter!

I agree to receive Rules newsletter in accordance with the privacypolicy.