Create Short Link URL
Create a short URL for the Link onboarding flow as an alternative to the full Link URL with all its query parameters.
code and the full url to share with your user. Short links are valid for 1 year from creation.
Identical request bodies are de-duplicated automatically. Calling this endpoint a second time with the same parameters returns the original short link with an Idempotent-Replayed: true response header.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Every provider has a unique code to identify it across Terminal's system. You can find each provider's code under provider details.
"geotab"
An optional ID from your system that can be used to reference connections.
"fleet_456"
An optional human-readable name to associate with the resulting connection.
An optional list of tags from your system that can be used to reference connections.
URL to redirect your user to after they complete the Link flow.
"https://app.acme.com/telematics-success"
Enum values:
automatic: Terminal will keep this connections data up to datemanual: Terminal will only sync data upon request
automatic, manual Optional backfill to be requested upon successful connection. Will start from NOW if not provided.
Unique identifier for the Link Template.
"ltp_01HXQ4YK8V2X0X0X0X0X0X0X0X"
Response
OK
A short URL for the Link onboarding flow. The associated parameters are stored at creation time and retrieved when your user visits the URL.
Durable identifier for the short link resource.
^slk_[0-9A-HJKMNP-TV-Z]{26}$"slk_01JB7K3N2QZP7TVR4FX8SDWFH9"
8-character code that is associated with the original Link parameters.
^[a-hjkmnp-z2-9]{8}$"az9qtk2d"
Full short URL to share with your user.
"https://term.new/az9qtk2d"