---
title: "Get driver status by driver number."
url: "https://developers.vzconnect.com/apis/driver-status-api-v1/versions/b10172e2-b107-49b8-b2b5-d22facc5daf8/operations/getDriverStatus"
---

> Full API specification: https://developers.vzconnect.com/apis/driver-status-api-v1/versions/b10172e2-b107-49b8-b2b5-d22facc5daf8.md

# Get driver status by driver number.

`GET` `/da/v1/driverstatuses/{driverNumber}`

Operation ID: `getDriverStatus`

Retrieves a specified driver's current status. The returned response is restricted to the REVEAL account's data plan; if the driver's current status is outside of the data plan, a 404 Not Found response is returned.

## Path parameters

- `driverNumber` (string, required) - The unique driver number to retrieve the status for.

## Responses

- `200` - Successfully retrieved the driver's current status.
- `401` - Unauthorized. Authentication credentials are missing or invalid.
- `404` - Driver not found for the specified driver number, or the driver has no current status within the account's data plan.
- `500` - Internal server error.

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Driver Status API
  version: "1.0"
servers:
  - url: https://api.us.vzconnect.com
paths:
  /da/v1/driverstatuses/{driverNumber}:
    get:
      summary: Get driver status by driver number.
      description: Retrieves a specified driver's current status. The returned
        response is restricted to the REVEAL account's data plan; if the
        driver's current status is outside of the data plan, a 404 Not Found
        response is returned.
      operationId: getDriverStatus
      tags:
        - Driver Status API
      x-kong-route-defaults:
        strip_path: false
        paths:
          - ~/da/v1/driverstatuses/[^/]+/?$
      parameters:
        - name: driverNumber
          in: path
          required: true
          description: The unique driver number to retrieve the status for.
          schema:
            type: string
      responses:
        "200":
          description: Successfully retrieved the driver's current status.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/DriverStatus"
        "401":
          description: Unauthorized. Authentication credentials are missing or invalid.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorResponse"
        "404":
          description: Driver not found for the specified driver number, or the driver has
            no current status within the account's data plan.
          content:
            application/json:
              schema:
                type: string
                example: Driver number 100096 not found.
        "500":
          description: Internal server error.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorResponse"
components:
  schemas:
    DriverStatus:
      type: object
      description: A driver's current status as tracked within the REVEAL account.
      properties:
        Code:
          type: string
          description: The Driver Status Type Code string value that will be displayed as
            reference within REVEAL where available.
          example: Clock In
        Description:
          type: string
          description: A string field provided by the integration user to provide context
            for the Driver Status Type Code to be referenced.
          example: Working Time
        DriverNumber:
          type: string
          description: The unique Driver Number the status is associated with.
          example: "710"
        DriverStatusType:
          $ref: "#/components/schemas/DriverStatusType"
        StatusChangeDateUtc:
          type: string
          format: date-time
          description: The date and time the status was applied to the referenced Driver
            Number.
          example: 2016-12-22T09:29:36.513
    ErrorResponse:
      type: object
      description: Generic error response. The documentation does not define an
        explicit error body schema.
      properties:
        Message:
          type: string
          description: A human-readable description of the error.
          nullable: true
    DriverStatusType:
      type: string
      description: The DriverStatusType the request content must map to. At this time,
        only PunchIn and PunchOut driver status information data will display
        within the REVEAL designated reports to show punch in and out data.
        Integration users can send additional driver statuses available within
        REVEAL, but only Punch In and Out statuses will be shown within the UI.
        When a POST is made successfully, the enumerator value that the Driver
        Status Type is mapped to will display as shown in the samples.
      enum:
        - NotSet
        - None
        - PunchIn
        - PunchOut
        - LunchStart
        - LunchEnd
        - BreakStart
        - BreakEnd
      example: PunchIn
```
