Security and authentication

All API access is over HTTPS. If you attempt to use the API over plain HTTP, the request will respond with a 400 Bad Request status code.

Authentication to the API is done using tokens via HTTP basic auth. You will need to provide both your username and API token, separated by a colon, i.e. {username}:{token}. If authentication credentials aren't provided, or if the provided credentials are incorrect, the API will respond with a 401 Unauthorized status code.

Example request
& curl \
	-u username:token \
	-H "Accept: application/json"

You can generate an API token on the Account page.