Authentication
The API uses Bearer token authentication.
Getting a Token
Generate an API token from the application settings:
- Open AkumuVPN settings
- Go to API Access
- Click "Generate Token"
- Copy the token
Using the Token
Include the token in your requests:
curl -H "Authorization: Bearer YOUR_TOKEN" \
http://localhost:51820/api/v1/status
Token Security
- Tokens are shown only once — store them securely
- Tokens can be revoked from settings
- Default expiry: 1 year