Invoke REST API requests to our WZDx (Version 4.2) Service API endpoint and retrieve Work Zone Data according to your Rekor Command™ data consumption lifecycle.
The data includes a list of Work Zones customized based on user preferences.
Credentials
To access the API, obtain a unique client_id and client_secret via registration. These credentials serve as the key authentication mechanism, establishing a secure and authorized connection between the client application and the Work Zone Activity API.
Base URL
All API requests should be made to the following base URL:
POSThttps://api.command.rekor.one
Authentication
To access the Work Zone Activity API, you need to authenticate using a Bearer Token.
Obtain the token by making a POST request using the obtainedclient_id and client_secret to the following endpoint:
Used to get an Authentication Token
POSThttps://api.command.rekor.one/v1/token
Use the obtained access_token in the Authorization header for subsequent requests.
An access_token is valid for 10 hours.
Request Body
Name
Type
Description
client_id*
String
The Unique identifier of the Client
client_secret*
String
The Secret of the Client
Get Work Zones
The API responds with a list of active incident information, customized based on user preferences. We also provide detailed JSON Schema, if necessary.
Include the obtained token from the /token request in the Authorization header using the "Bearer" scheme.
Used to get Work Zone Activity information
GEThttps://api.command.rekor.one/v1/workzones
The API responds with a list of active work zone information.
Headers
Name
Type
Description
Authorization*
String
Bearer your_access_token
For the full work zone schema specification, including the supported types and properties, review the Schema Structure page.
Error Handling
In case of errors, the API will return appropriate HTTP status codes along with error details in the response body.