For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get Onboarded Carriers

This endpoint allows external systems to retrieve onboarded carrier contacts configured for the authenticated customer.

Authentication

  • Include your Access-Token in the header of your requests.

  • Include your x-api-key The API key provided by GenLogs. This header must be included in the request.

Permissions

The external-api-get-onboarded-carrier-contact permission is required to access this endpoint.

Endpoint

  • URL: https://api.genlogs.io/onboarded-carrier/contacts

  • Method: GET

Headers

  • Access-Token: (string, required): Access token obtained from the "Create Access Token" endpoint.

  • x-api-key (string, required): The API key provided by GenLogs.

Request Body:

  • usdot_number (string, optional): Carrier USDOT number or numbers comma separated. Must be a non-empty value.

  • page (string, optional): Expected page to be listed.

  • page_size (string, optional): Amount of items per page

Request Example:

Response:

  • 200 OK: A JSON object containing the information of carrier contacts.

  • 400 Bad Request: If the provided parameters are malformed or invalid.

  • 401 Unauthorized: If the authentication credentials (Access-Token) is missing or incorrect.

  • 403 Forbidden: If the permission has not been added to your user.

  • 500 Internal Server Error: If there is an issue on the server that prevents processing the request.

Response Body:

200 OK – Contacts listed Successfully

400 Bad RequestReturned when:

  • usdot_number is invalid, empty or equal to zero

  • page value is out of bounds or not a valid integer

  • page_size value is out of bounds or not a valid integer

403 Forbidden

Retrieve onboarded carrier contacts

get

Returns a paginated list of onboarded carrier contacts for the authenticated customer. Only contacts belonging to the customer identified in the JWT are returned. Requires the external-api-get-onboarded-carrier-contact permission.

Authorizations
Access-TokenstringRequired

JWT provided directly in the Access-Token header.

x-api-keystringRequired

API key provided by GenLogs.

Query parameters
pageinteger · min: 1Optional

Page number of results to return.

Default: 1Example: 1
page_sizeinteger · min: 1 · max: 200Optional

Number of results per page (max 200).

Default: 50Example: 50
usdot_numberstringOptional

USDOT number(s) to filter by. Supports a single value or a comma-separated list.

Example: 942132,635760
Responses
200

Onboarded carrier contacts retrieved successfully.

application/json
get/onboarded-carrier/contacts

Last updated