Authentication ============== The AspirEDU API uses OAuth Bearer access tokens to authenticate. Contact Support to get your access token. .. hint:: OAuth is the same between v1 and v2. Usage ----- To use your access token to authenticate a request to the API, add an ``Authorization`` header, with the contents of ``Bearer``, a space, and the access token. This declares the type of the authentication string to be a Bearer token. .. code-block:: sh curl -H "Authorization: Bearer " "https://apps.aspiredu.com/detective/api/"