Authenticate with a company main-account login and password to generate a new API key. The key is returned exactly once — store it immediately. Only the primary company account can issue keys; driver and sub-accounts are rejected with a 403.

Authentication

HeaderRequiredPurpose
provider-tokenYesProvider authentication token

Endpoint

POST/api/externalservice/create-api-key

Request Body  Content-Type: application/json

FieldTypeRequiredDescription
loginstringYesCompany account username or email address
passwordstringYesAccount password
usdotstringYesUSDOT number of the company account

Example Request

bash

Response  201 Created

json
{
  "apiKey": "ak_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  "createdAt": "2026-06-25T10:00:00.000Z"
}
FieldTypeDescription
apiKeystringThe generated key — shown only once, store it immediately
createdAtstring (ISO 8601)Timestamp of key creation

Error Responses

StatusMeaning
400Missing or invalid request body
401Invalid login credentials
403Account is not a primary company account

Contact the support team for access credentials or integration assistance.
© 2026 API