Apply for invite to IaCP

API

To start, an API token must be generated by clicking on your user on the top right of the screen and click on “TF API Access”:

../_images/api_access.png

This will provide you with an ID and token. The token will disappear after you click close. A user can have as many tokens as they want, it is up to that user to manage the tokens.

Authentication

All requests must be authenticated with a bearer token. Use the HTTP header Authorization with the value Bearer <token>. You can generate access token.

If the token is absent or invalid, Scalr responds with HTTP status 401 and a JSON API error object. The 401 status code is reserved for problems with the authentication token; forbidden requests with a valid token result in a 404.