# Authentication

*Get up and running with the TrackSim API*

To use our API you need an API Key to let the API know who is connecting.

### How to get an API Key?

You can get an API Key by heading to the [integrations page](https://tracksim.app/integrations)
and going to the API tab, click on the generate button or regenerate if you generated an API Key
before, make sure you take a copy of this API key because you won't be able to see it again if you
leave this page and you have to generate a new one.

### Making requests

Once, you have your API Key you need to add a prefix to it like below:
```text
Api-Key <API_KEY>
```

Next you need to add an `Authorization` header to your requests like below:
```text
Authorization: Api-Key <API_KEY>
```

It is important that you include in every API request you make or the API will return unauthenticated.

### Run a test
If you want to make a test request you can do a `GET` request to `https://api.tracksim.app/v1/me`,
this should return information about your company.
