Devices Endpoints
Base URLs
https://devices-api.dimo.zone
Vehicle Commands 🔏
Developer Notes
To access the vehicle commands, a token exchange transaction is required to obtain a vehicle JWT to get permission to access the vehicle's commands. Please check Token Exchange API prior to using this endpoint.
Send a Vehicle Command to Lock the Doors
POST
{baseUrl}
/v1/vehicle/{tokenId}/commands/doors/lock
Sends a vehicle command to lock the doors.
Path Parameters
tokenId
*
String
Vehicle token ID, this is the token ID of your vehicle NFT. A prerequisite is to obtain a token
that is permitted to access trips data for this specific vehicle.
Headers
{
"requestId": "2bh8fNMoix9qduuiE9NHUzTGpZx"
}
Send a Vehicle Command to Unlock the Doors
POST
{baseUrl}
/v1/vehicle/{tokenId}/commands/doors/unlock
Sends a vehicle command to unlock the doors.
Path Parameters
tokenId
*
String
Vehicle token ID, this is the token ID of your vehicle NFT. A prerequisite is to obtain a token
that is permitted to access trips data for this specific vehicle.
Headers
{
"requestId": "2bh8fNMoix9qduuiE9NHUzTGpZx"
}
Send a Vehicle Command to Open the Frunk
POST
{baseUrl}
/v1/vehicle/{tokenId}/commands/frunk/open
Sends a vehicle command to open the frunk.
Path Parameters
tokenId
*
String
Vehicle token ID, this is the token ID of your vehicle NFT. A prerequisite is to obtain a token
that is permitted to access trips data for this specific vehicle.
Headers
{
"requestId": "2bh8fNMoix9qduuiE9NHUzTGpZx"
}
Send a Vehicle Command to Open the Trunk
POST
{baseUrl}
/v1/vehicle/{tokenId}/commands/trunk/open
Sends a vehicle command to open the trunk.
Path Parameters
tokenId
*
String
Vehicle token ID, this is the token ID of your vehicle NFT. A prerequisite is to obtain a token
that is permitted to access trips data for this specific vehicle.
Headers
{
"requestId": "2bh8fNMoix9qduuiE9NHUzTGpZx"
}
Swagger Doc
Last updated
Was this helpful?