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=N to request a specific page
  • Use ?page_size=N to 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=term for text search across designated fields

Example:

GET /api/employee/team/?search=Johnson