Token Exchange Endpoints
DIMO Check-in
Usage of this API endpoint can be done via Developer SDKs.
Base URLs
https://token-exchange-api.dimo.zone
Privilege Definitions
Privilege | Description |
---|---|
1 | All-time, non-location data |
2 | Commands |
3 | Current location |
4 | All-time location |
5 | Verifiable Credentials |
6 | Streams |
Exchanging for a Vehicle JWT 🔐
Create a Token Exchange
POST
{baseUrl}
/v1/tokens/exchange
Creates a token exchange to obtain a Vehicle JWT. The response will provide a short-lived token that last you 10 minutes to access additional vehicle information such as Trips and Telemetry data
Headers
Name | Type | Description |
---|---|---|
| String | Developer JWT in Bearer Authentication format. |
Request Body
Name | Type | Description |
---|---|---|
| String | The Vehicle NFT address, in the Production environment, this is |
| [Integer] | An array of integers indicating the level of privileges provided to the token bearer. Refer to this section for privileges definitions. |
| Integer | The Vehicle ID that you are requesting permission to. This is an integer that indicates the vehicle you are inquiring about. |
Swagger Doc
Last updated