Before you begin
In this article you'll find out how to start using API and what API authentication methods we support.
To start using API:
1. Register or login to your Omnisend account.
2. Connect your store or application to your Omnisend account.
3. Create an API Key.
1. Register or login to your Omnisend account.
If you have not created an account at Omnisend, please go to the Registration page.Proceed with step 2 once you are done.
If you already have an account - login here or go to Omnisend application directly from your store's admin page.
2. Connect your store or application to your Omnisend account.
While registering at Omnisend, you'll be asked to add Javascript snippet code right before the </body> tag of all your pages.Javascript snippet example (real one will be showed while registering at Omnisend)
<script type=" text/javascript">
//OMNISEND-SNIPPET-SOURCE-CODE-V1
window.omnisend = window.omnisend || [];
omnisend.push(["accountID", "<YOUR_BRAND_ID>"]);
omnisend.push(["track", "$pageViewed"]);
!function(){ var e=document.createElement("script");e.type= "text/javascript",e.async=!0,e.src= "https://omnisnippet1.com/inshop/launcher-v2.js"; var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)}();
</script>
window.omnisend = window.omnisend || [];
omnisend.push(["accountID", "<YOUR_BRAND_ID>"]);
omnisend.push(["track", "$pageViewed"]);
!function(){ var e=document.createElement("script");e.type= "text/javascript",e.async=!0,e.src= "https://omnisnippet1.com/inshop/launcher-v2.js"; var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)}();
In Javascript code given while registering at Omnisend <YOUR_BRAND_ID> will be automatically replaced with your real brandID, so you'll only need to copy and paste that code.
Note: if you want to use Omnisend application in Shopify or Bigcommerce - just go to those platforms app stores and install Omnisend app.
For Shopify app store, click here.
For Bigcommerce app store, click here.
3. Create an API Key.
To create API Key:- Goto to your Omnisend account Dashboard / User profile / Integrations & API / API keys or click here.
- Select desired permissions
You're ready! Read next article to find out what API types we offer.