Skip to main content

Authentication

All API requests must be authenticated using OAuth 2.0 with the password flow. You'll need to obtain an access token before making requests to protected endpoints.

POST/api/v1/login/

Login with username and password to get an access token

NameTypeRequiredDescription
usernamestringYour AXRO account username
passwordstringYour AXRO account password

Example Request

curl -X POST https://api.axro.com/api/v1/login/ \
-H 'Content-Type: application/x-www-form-urlencoded' \
-d 'username=your_username&password=your_password'

Example Response

{
"token_type": "Bearer",
"access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
}