Authentication Guide

All Ashvane Keystone API endpoints require a valid authentication token. Tokens are issued via the /v1/auth/login endpoint and must be presented in subsequent requests.

1. Obtain a Token

Send a POST request with a JSON payload containing your credentials.

POST https://api.146-190-151-153.sslip.io/v1/auth/login
Content-Type: application/json

{
    "username": "YOUR_USERNAME",
    "password": "YOUR_PASSWORD"
}

A successful response returns a JSON object with the token and its expiry:

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

2. Using the Token

Include the token in the Authorization header of every request that requires authentication:

Authorization: Bearer <access_token>