# Authorization

# Get your API Token

Login to your account and navigate to Settings menu, in the API Access section you will find your API Key to use.

# Authorize with API

The API Key received can be use with the header X-Token-AC against our API.

X-Token-AC: fHgtw2g......

If this token is not provided or is invalid, all responses will return a 401 (Unauthorized) status code.

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

curl https://app.anyclassroom.com/api/v1/devices \
    -H 'X-Token-AC: bTgSIHadwHLPYpyp.......' \
    -H 'Accept: application/json' \
    -H 'Content-Type: application/json'