Overview

EdgeTag APIs provide a robust system to help you build your own app on top of the EdgeTag system. All APIs are versioned, ensuring that no changes break your app. You have complete control of deployments, channels, and analytics.

How to get started?

A bearer token protects all our API's. To obtain a token, you will need to create an OAuth app, which will give you the token. Follow our guide on how to create it.

We suggest starting with our sandbox environment (https://app-sandbox.edgetag.io), where you will first need to create an account. Once this is done, we will be able to generate a token for you. Once you have completed all the testing, create an account for the production environment (https://app.edgetag.io) and notify us so that we can generate a token for that environment as well.

How to do a simple call?

Each call needs to have two properties in the header: authorization and team ID.

Replace {your-token} with the token that we shared with you.

Replace {your-team-id} with the team ID. You can get the ID from the URL as you log in to our app. Select ID as highlighted in the image.

Image
fetch('https://api-sandbox.edgetag.io/me', {
  method: 'GET',
  headers: {
    'Accept': 'application/json',
    'Authorization': 'Bearer {your-token}',
    'Team-Id': '{your-team-id}'
  }
})

Now that we have a simple call working, we can implement the whole onboarding process 🎉

Last updated

Was this helpful?