# 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](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](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.&#x20;

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.

<figure><img src="/files/tmaB0zCVgQzPBRqcLQX4" alt=""><figcaption></figcaption></figure>

{% tabs %}
{% tab title="JavaScript" %}

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

{% endtab %}

{% tab title="cURL" %}

```bash
curl --request GET \
  --url https://api-sandbox.edgetag.io/me \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer {your-token}' \
  --header 'Team-Id: {your-team-id}'
```

{% endtab %}
{% endtabs %}

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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.edgetag.io/api/getting-started/overview.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
