Skip to navigation

Create Connection Pre Auth

Create a new connection pre-auth record.

This endpoint stores pre-authentication credentials (e.g., username/password) before initiating an OAuth flow. The returned ID should be provided when creating the connection after the OAuth redirect completes.

Pre-auth records are single-use and can only be used by the same fleet and TSP.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
tsp_idstringRequiredformat: "uuid"

The ID of the Telematics Service Provider (TSP) that the fleet uses.

pre_auth_credentialsobjectRequired

The pre-authentication credentials required to authenticate with the TSP on behalf of the fleet.

Response

Successful Response

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
405
Method Not Allowed Error
409
Conflict Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error
504
Gateway Timeout Error