Onroad ELDDevelopers
Get API key
Carrier
GET/api/carrier

Carrier by API key

Retrieves the carrier record for the account tied to your API key — no path parameters required.

Parameters

x-api-key
string · required · header
Your API key. Generate one under More → API Keys in the dashboard.
provider-token
string · required · header
Your provider token, issued alongside the API key.

Example request

cURL
curl --location --request GET 'https://api.onroadnetworks.com/api/carrier' \
  --header 'x-api-key: ${key}' \
  --header 'provider-token: ${token}'

Example response

JSON
{
  "companyName": "string",
  "companyId": "string",
  "usdot": "string"
}