Get your Access Token

The Alterscope API relies on personal access tokens for request authentication.

To acquire your access token, ensure that you are a participant. If you are a participant, kindly check your email for the access token sent by our team! All API requests undergo authentication using the Bearer Auth scheme. To authenticate a request, include the token in the Authorization header as follows: Sample Request for Authorization:

curl -H "Authorization: Bearer <your_access_token>"

Exercise caution and maintain the security of your API access tokens! Avoid sharing them in emails, chat messages, client-side code, or on publicly accessible sites. In the event of sharing an API access token publicly, promptly email us to initiate its revocation process.

Sample Valid Response:

{"status":true,"data":"Authorization token is valid. Successfully authorized"} 

Sample Invalid Response:

{"error":"Invalid Authorization header"}

Last updated