Terminal provides a hosted ‘Link’ that makes it easy to authenticate with any telematics provider. With only a few steps you will be able to provide customers/partners an easy self-serve flow to connect their telematics account.
@terminal-api/link-react
onSuccess
callback and exchange public token for a connection token on your backend using POST /tsp/v1/public-token/exchange
disconnected
and prompts you to reauthenticate the customer’s TSP to continue syncing.The reauthentication process mirrors the link flow, but requires the connectionId
parameter to specify which connection needs to be updated.publishableKey
or url
to configure the link.