---
title: "List available driver status options."
url: "https://developers.vzconnect.com/apis/driver-status-options-api-v1/versions/d227c3f2-e790-460f-9300-fe3653b69ae9/operations/getDriverStatusOptions"
---

> Full API specification: https://developers.vzconnect.com/apis/driver-status-options-api-v1/versions/d227c3f2-e790-460f-9300-fe3653b69ae9.md

# List available driver status options.

`GET` `/da/v1/driverstatusoptions`

Operation ID: `getDriverStatusOptions`

Retrieves all available Driver Statuses previously created for a REVEAL account. All options are returned regardless of when they were created.

## Responses

- `200` - Successfully retrieved the list of available driver status options.
- `204` - No driver status options configured for this account.
- `400` - Bad Request. The REVEAL account could not be found.
- `401` - Unauthorized. Authentication credentials are missing or invalid.
- `500` - Internal server error.

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Driver Status Options API
  version: "1.0"
servers:
  - url: https://api.us.vzconnect.com
paths:
  /da/v1/driverstatusoptions:
    get:
      summary: List available driver status options.
      description: Retrieves all available Driver Statuses previously created for a
        REVEAL account. All options are returned regardless of when they were
        created.
      operationId: getDriverStatusOptions
      tags:
        - Driver Status Options API
      x-kong-route-defaults:
        strip_path: false
        paths:
          - ~/da/v1/driverstatusoptions/?$
      responses:
        "200":
          description: Successfully retrieved the list of available driver status options.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: "#/components/schemas/DriverStatusOption"
        "204":
          description: No driver status options configured for this account.
        "400":
          description: Bad Request. The REVEAL account could not be found.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorResponse"
        "401":
          description: Unauthorized. Authentication credentials are missing or invalid.
        "500":
          description: Internal server error.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorResponse"
components:
  schemas:
    DriverStatusOption:
      type: object
      description: An available driver status option configured within the REVEAL account.
      properties:
        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
        Code:
          type: string
          description: The Driver Status Type Code string value that will be displayed as
            reference within REVEAL where available.
          example: Clock In
        DriverStatusType:
          $ref: "#/components/schemas/DriverStatusType"
        CreatedDateUtc:
          type: string
          format: date-time
          description: The date the Driver Status Type Code was created within the REVEAL
            account and made available for use to apply to a driver status
            activity.
          example: 2016-12-21T19:29:36.513Z
    ErrorResponse:
      type: object
      description: Error response returned with a 400 or 500 status.
      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. Each option
        maps to the following enumerator value: NotSet = 0, None = 1, PunchIn =
        2, PunchOut = 4, LunchStart = 8, LunchEnd = 16, BreakStart = 32,
        BreakEnd = 64, All = 127. At this time, only PunchIn and PunchOut driver
        status information data will display within the REVEAL designated
        reports. Integration users can send additional driver statuses, 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 is returned."
      enum:
        - NotSet
        - None
        - PunchIn
        - PunchOut
        - LunchStart
        - LunchEnd
        - BreakStart
        - BreakEnd
        - All
      example: PunchOut
```
