We’ve migrated our documentation to a new site, which means some URLs have changed.
Subscriptions

How to create the same Template in multiple applications

In addition to manually copying templates, or using the Import Template functionality in the Piano dashboard, you can also create a small script using our API to do this.

This API call will get the information about the Template from the specific AID:

https://api.piano.io/api/v3/publisher/offer/template/update?aid=XXXXXX&name=XXXXXX&offer_template_id=XXXXXX

You can then pass the information to the new AID using this call:

https://api.piano.io/api/v3/publisher/offer/template/updatefull?aid=XXXXXX&amp;name=XXXXXX&amp;content1_value=<div>asdfasdfasdf</div>&amp;offer_template_id=XXXXXX&amp;category_id=offer&amp;content1_type=html&amp;action=save&amp;version=1

More information about the API call is available here.

All available base URLs for Production are listed here.


Last updated: