Prerequisites You must have a valid sandbox secret and publishable key to
follow this guide. Existing Terminal customers can get their sandbox keys from
the Sandbox Dashboard.
If you’re not a Terminal customer yet, you can connect with us
here.
Overview
Getting data flowing takes three parts: a customer authenticates through Terminal Link, you exchange the token Link returns for a connection token, then you pull that connection’s data once its first sync finishes. The steps below run all three against the Sandbox provider, so you can test without a real telematics account.Instructions
- Download our Postman collection and import it into Postman.
-
Make a test connection.
-
Launch Link to create a new connection.
Replace
{PUBLISHABLE_KEY}with your sandbox publishable key and open the Link URL below. - Select the Sandbox provider.
- Enter any value as the API Key to create a connection.
-
Wait to be redirected to the
redirect_urlwith atokenappended to the URL.
-
Launch Link to create a new connection.
Replace
-
Pull the connection’s data.
-
Copy the public
tokenfrom the redirected page. -
Exchange the public token for a long lived connection token.
Call
POST /public-token/exchange:Save thetokenfrom the response. It’s your connection token, and every request you make for this connection needs it in aConnection-Tokenheader. -
Poll until the initial sync completes.
Call
GET /connections/currentand checklastSync.status: -
List the synced vehicles.
Call
GET /vehicles:
-
Copy the public