Mile Drivers API

The Drivers API from Mile — 1 operation(s) for drivers.

OpenAPI Specification

mile-drivers-api-openapi.yml Raw ↑
openapi: 3.0.0
info:
  title: Api Documentation Aramex Drivers API
  description: Api Documentation
  version: 1.0.0
servers:
- url: https://lastmile.milenow.com/index.php
  description: Api Documentation
security:
- Bearer: []
tags:
- name: Drivers
paths:
  /api/v1/partners/drivers:
    get:
      tags:
      - Drivers
      summary: Get all drivers for the company
      description: This call returns all drivers (users with user_role = 3) associated with the authenticated company
      operationId: get_app_apiv1_trackingapi_getalldrivers
      parameters:
      - name: access_token
        in: query
        description: Access Token
        schema:
          type: string
      - name: driver_id
        in: query
        description: 'Optional: Filter by specific driver ID'
        schema:
          type: integer
      responses:
        '200':
          description: Returns all drivers for the company
components:
  securitySchemes:
    Bearer:
      type: http
      bearerFormat: JWT
      scheme: bearer