Get Driver Safety Count by Driver

Before you start

Before you make your first API call, make sure you have the following:

  • Your Verizon Connect account manager or administrator has requested a Client ID and Client Secret for your integration in Reveal Marketplace.
  • You have the Client ID and Client Secret for your integration.
  • Get an access token using your Client ID and Client Secret. For instructions, read get your token.

If you are maintaining an existing integration configured before November 27, 2026 using an App ID and legacy credentials, follow the Call the APIs with legacy credentials Guide.

Purpose

Retrieves a driver’s summary safety report for a 24 hour period. This method does not provide precise details for all safety events recorded by the driver but a count of any that occurred for the day selected. The integration user provides a Driver Number and a requested date. Only the date part is used; the time of day is ignored.

get
https://api.us.vzconnect.com/da/v1/driversafety/{drivernumber}/counts

Query Parameters

requesteddatestring(date-time)required

The date to query. Only the date part is used; the time of day is ignored.

Example:2017-05-23T00:00:00Z

Path Parameters

drivernumberstringrequired

The Driver Number is associated with a driver record in REVEAL and is unique within an account.

Example:111925

Response

application/json

Successfully retrieved safety event counts for the driver.

SafetyCount

A driver’s summary safety report for a 24 hour period.

DriverNumberstring

Driver Number is the unique identifier for Drivers created within REVEAL.

Example:111925

IncidentDateTimeUtcstring(date-time)

The date and time in UTC for the queried period.

Example:2017-05-23T00:00:00

VehicleIncidentCountsarray[object]

Summary counts of safety incidents for a vehicle associated with the driver over the 24 hour period.

Show Child Parameters
 
application/json

Fleet Inspections API

Operations for retrieving inspection templates, reports, defects and attachments, and for updating defects and creating attachments.

Get attachments

Before you start

Before you make your first API call, make sure you have the following:

  • Your Verizon Connect account manager or administrator has requested a Client ID and Client Secret for your integration in Reveal Marketplace.
  • You have the Client ID and Client Secret for your integration.
  • Get an access token using your Client ID and Client Secret. For instructions, read get your token.

If you are maintaining an existing integration configured before November 27, 2026 using an App ID and legacy credentials, follow the Call the APIs with legacy credentials Guide.

Purpose

Returns a list of attachments

get
https://api.us.vzconnect.com/inspections/attachments

Query Parameters

report_idstring

Attachments related to a given report.

Match pattern:^[A-Za-z0-9-]{1,120}$

Default:non-existing-id-for-no-results

>= 1 characters<= 120 characters

Response

application/json

Ok

* Additional properties are NOT allowed.
itemsarray[object]unique-items

Inspection attachment: photo, signature, document, comment.

name would be used as file name if enclosure is uploaded.

>= 0 items<= 100 items

* Additional properties are allowed.
Show Child Parameters
 
application/json

Creates a new attachment

Before you start

Before you make your first API call, make sure you have the following:

  • Your Verizon Connect account manager or administrator has requested a Client ID and Client Secret for your integration in Reveal Marketplace.
  • You have the Client ID and Client Secret for your integration.
  • Get an access token using your Client ID and Client Secret. For instructions, read get your token.

If you are maintaining an existing integration configured before November 27, 2026 using an App ID and legacy credentials, follow the Call the APIs with legacy credentials Guide.

Purpose

Creates a new attachment of allowed types.

Field authorType is provided by client and designates a role of author created an attachment.

authorId and authorName are taken from profile of an authenticated user at the moment when attachment is created.

When uploading an enclosure, the following headers should match POSTed data:

  • Content-Disposition: attachment: filename=“attachment.name”
  • Content-Type: attachment.enclosure.contentType
  • Content-Length: attachment.enclosure.contentLength
  • otherwise 403 Forbidden is returned.
post
https://api.us.vzconnect.com/inspections/attachments

Headers

Idempotency-Keystringrequired

Carries an idempotency key in order to make non-idempotent HTTP methods such as POST or PATCH fault-tolerant. Must include quotes.

Match pattern:^"[a-z0-9-]+"$

>= 1 characters<= 120 characters

Body

application/json

Attachment

Inspection attachment: photo, signature, document, comment.

name would be used as file name if enclosure is uploaded.

* Additional properties are allowed.
namestring | null

Name of an attachment.

Match pattern:^[^\n]+$

>= 1 characters<= 120 characters

commentstring | null

Attachment details

Match pattern:^[^\n]*$

>= 0 characters<= 2000 characters

enclosureobject

Related media, typically photo or document, potentially large and thus requiring separate upload facility

* Additional properties are NOT allowed.
Show Child Parameters
authorobjectrequired

Person that created an attachment

* Additional properties are NOT allowed.
Show Child Parameters
attachmentTypestringrequired

Type of attachment, example Signature, Comment, Photo

Allowed values:SIGNATURECOMMENTPHOTO

Response

application/json

Created

Attachment

Inspection attachment: photo, signature, document, comment.

name would be used as file name if enclosure is uploaded.

* Additional properties are allowed.
dataarray[object]read-onlyunique-items

Various media for an attachment

>= 0 items<= 100 items

* Additional properties are NOT allowed.
Show Child Parameters
namestring | null

Name of an attachment.

Match pattern:^[^\n]+$

>= 1 characters<= 120 characters

commentstring | null

Attachment details

Match pattern:^[^\n]*$

>= 0 characters<= 2000 characters

enclosureobject

Related media, typically photo or document, potentially large and thus requiring separate upload facility

* Additional properties are NOT allowed.
Show Child Parameters
attachmentIdstringread-only

Unique identifier of an attachment.

Match pattern:^[A-Za-z0-9-]{1,120}$

>= 1 characters<= 120 characters

authorobjectrequired

Person that created an attachment

* Additional properties are NOT allowed.
Show Child Parameters
attachmentTypestringrequired

Type of attachment, example Signature, Comment, Photo

Allowed values:SIGNATURECOMMENTPHOTO

linksarray[object]read-onlyunique-items

Reference to another resource

>= 0 items<= 100 items

* Additional properties are NOT allowed.
Show Child Parameters
 
application/json

Search for attachments based on criteria provided

Before you start

Before you make your first API call, make sure you have the following:

  • Your Verizon Connect account manager or administrator has requested a Client ID and Client Secret for your integration in Reveal Marketplace.
  • You have the Client ID and Client Secret for your integration.
  • Get an access token using your Client ID and Client Secret. For instructions, read get your token.

If you are maintaining an existing integration configured before November 27, 2026 using an App ID and legacy credentials, follow the Call the APIs with legacy credentials Guide.

Purpose

Returns a list of attachments based on criteria provided.

post
https://api.us.vzconnect.com/inspections/attachments/search

Body

application/json

AttachmentSearch

Schema for searching attachments based on attachment IDs.

* Additional properties are NOT allowed.
conditionsarray[object]required

Group of conditions to filter by the resource representation.

>= 1 items<= 100 items

Show Child Parameters
fieldsarray[string]required

Field or property name to be returned in the resource representation.

Match pattern:^(attachmentId|name|attachmentType|createdAt|author|comment|links|data)$

>= 1 characters<= 120 characters>= 1 items<= 8 items

Response

application/json

Ok

* Additional properties are NOT allowed.
itemsarray[object]unique-items

Inspection attachment: photo, signature, document, comment.

name would be used as file name if enclosure is uploaded.

>= 0 items<= 100 items

* Additional properties are allowed.
Show Child Parameters
 
application/json