Authentication
Obtaining an API Token
To access the Stationwise API, you'll need an authentication token. To obtain one:
- Contact Stationwise support at [email protected] with your request
- Provide information about your integration needs and use case
- Once approved, you'll receive your unique API token
Important: Keep your API token secure. Do not share it or expose it in client-side code.
Authentication Header
For all API requests, include your token in the Authorization header:
Authorization: Token your-api-token-here
Example using cURL:
curl -H "Authorization: Token your-api-token-here" https://api.stationwise.com/api/organization/my-department/
Example using JavaScript/Fetch:
fetch('https://api.stationwise.com/api/organization/my-department/', {
headers: {
'Authorization': 'Token your-api-token-here'
}
})
.then(response => response.json())
.then(data => console.log(data));
Updated 12 days ago