Get your API token

Login to your account and navigate to your profile to generate a new API token. You can name your API token so you are aware of where the token is being used, this way you can recognize and delete it later when you do not need it anymore.

Authorize with API

The token you have received (a very long string) can be used as a bearer token against our API.

Authorization: Bearer API_TOKEN_HERE

In this cURL example we demonstrate how to authenticate with our API:

$ curl <{event_name}> \\
    -H 'Authorization: Bearer n3h4bZK1bCbQ2EBpibvWykSzP7aJuuXeJz...' \\
    -H 'Accept: application/json' \\
    -H 'Content-Type: application/json'

💡 {event_name} is name for event that you would send to us currently support these events:

  • addtocart

  • viewcontent

  • checkout

  • purchase

Last updated