Consented Products
Listing the vehicles and energy sites your customers share with you.
Listing products
GET /api/business/products lists every vehicle and energy site your customers currently share with your business, in both regions.
Curl Example
curl --header "Authorization: Bearer {token}" 'https://api.teslemetry.pro/api/business/products'
Response
{
"response": [
{
"type": "vehicle",
"vin": "5YJ3E1EA7KF000001",
"customer": "q3V1d8sXbE2mJ0kZp4R7aA",
"granted_at": "2026-10-05T00:00:00.000Z"
},
{
"type": "energy",
"energy_site_id": 1234567890,
"customer": "q3V1d8sXbE2mJ0kZp4R7aA",
"granted_at": "2026-10-05T00:00:00.000Z"
}
]
}
type-vehicleorenergy.vin- the vehicle's VIN, for a vehicle.energy_site_id- the energy site id, for an energy site.customer- a stable pseudonym for the customer who shared it, unique to your business. Products shared by the same customer have the same value. It is not their Tesla account id or email.granted_at- when the customer shared it.
Customers can change what they share at any time, and Teslemetry does not notify you when they do. Call this endpoint again to see the current list.
Removing a product
DELETE /api/business/products/{product_id} stops your business's access to one product, by VIN or energy site id. Only admins' sessions and API keys can do this.
Curl Example
curl --request DELETE --header "Authorization: Bearer {token}" 'https://api.teslemetry.pro/api/business/products/{vin}'
Response
{ "response": { "accepted": true } }
Once accepted, your business can no longer reach the product or receive its data. If no other business still uses the vehicle, its streaming stops. The customer must open your customer link again to share it again.