API Requests
Base URL
All API endpoints are relative to:
https://api.stationwise.com/
Content Type
All requests should specify content type as JSON:
Content-Type: application/json
Request Methods
GET- Retrieve resources (all currently supported endpoints use GET)
Pagination
Endpoints that return collections support pagination:
- Default page size varies by endpoint (typically 25 items)
- Use
?page=Nto request a specific page - Use
?page_size=Nto adjust the page size (where supported)
Example:
GET /api/employee/team/?page=2&page_size=50
Filtering and Search
Some endpoints support filtering and searching:
- Use
?search=termfor text search across designated fields
Example:
GET /api/employee/team/?search=JohnsonUpdated 7 months ago