Skip to main content
GET
Get driver event
The Get Driver Event endpoint returns one scheduled driver event by its id, and its optimistic-concurrency token in the ETag response header. Use it to get the ETag that Update driver event and Delete driver event require in If-Match. Search driver events lists events but does not return their ETags. For more information on how versioning works and how to include it in your requests, please refer to the Versioning page.
This endpoint requires the driver:read scope. See Authentication.
Events created by a maintenance work order in Alvys are returned too, but they cannot be changed or deleted through the API.

Request parameters

The following parameters are required in the URL path:

Example cURL request

Replace YOUR_ACCESS_TOKEN with your actual Bearer token.

Response fields


Example response

200 OK

Status codes


Rate limits

All endpoints are subject to rate limits to protect the API from traffic spikes. For detailed information on rate limits, please refer to the Rate Limits section. This page is interactive, allowing you to try a request by specifying the API version and the event id in the URL path. As you fill out the parameters, the cURL command on the right side of the page will be automatically updated.

Authorizations

Authorization
string
header
required

OAuth 2.0 client-credentials access token. Obtain one from https://auth.alvys.com/oauth/token (grant_type=client_credentials, audience=https://api.alvys.com/public/), then paste it here. The playground sends it as Authorization: Bearer <token>.

Path Parameters

id
string
required
version
string
default:1.0
required

API version (e.g., 1.0)

Example:

"1.0"

Response

OK

Id
string
required
DriverId
string
required
EventType
string
required
Description
string
required
CreatedAt
string<date-time>
required
StartDate
string<date-time> | null
EndDate
string<date-time> | null
Address
object | null
CreatedBy
string | null
ExternalId
string | null