Customer link
Your customer link is the page where your customers connect: https://teslemetry.pro/for/<name>, with the link name you chose at setup. You can find and copy it in your portal. It works once your business is live.
How customers connect
- The customer opens your customer link. They see your name, logo, colour and reason for connecting, a plain-language list of what you ask them to share, and a link to your privacy policy.
- They select Sign in with Tesla, sign in exactly as they would on teslemetry.com, and grant the permissions you asked for.
- They tick which vehicles and energy sites to share with you, then select Share selected.
- They are sent back to you, or stay on Teslemetry if you have no redirect URLs.
Customers share products, not permissions: every customer grants every permission you chose at setup.
Missing permissions
If a customer did not grant a permission you require at Tesla's consent screen, the products that need it cannot be shared. The page names the missing permission under the list of what you receive; selecting that notice sends them back to Tesla to grant it.
Virtual key
A vehicle can be shared once the Teslemetry virtual key is installed on it. The page shows how to install it on each vehicle that needs it, and Check again once they have. Customers can come back to https://teslemetry.pro/for/<name>/pairing at any time to install the key on a vehicle they could not share yet.
Which products can be shared
Customers only see the product types you asked for. A product appears but cannot be ticked when:
- the customer is not its owner on their Tesla account,
- a permission you require is missing, or
- the vehicle does not have the Teslemetry virtual key installed.
Returning to you
After connecting, the customer is sent to your redirect URL with query parameters added:
status-connectedwhen they shared their selection,declinedwhen they cancelled, orscope_missingwhen they left because a permission you require was missing.ref- thereffrom your link, if it had one.customer- the customer's pseudonym, the samecustomervalue your consented products carry. Match it to their vehicles and energy sites. It is added when they connect or stop sharing, not when they decline.
https://fleetco.example/tesla/connected?status=connected&ref=driver-42&customer=q3V1d8sXbE2mJ0kZp4R7aA
Treat these as a hint for your page, not as proof. To know what a customer actually shares, list your consented products.
Changing what is shared
A customer who opens your customer link again sees what they already share, and can tick or untick products. Saving replaces their earlier choice: products they untick are no longer shared with you.
Stopping sharing
Customers can stop sharing with your business at any time at https://teslemetry.pro/leave/<name>. This ends sharing of every product with you. It does not disconnect Teslemetry from their Tesla account; the page also explains how to do that. When they are sent back to you, your redirect URL carries status=left and their customer.
When a customer stops sharing a product, it disappears from your consented products, your API requests for it are refused, and its data no longer reaches your webhook.
Link parameters
ref
Optional. Your own identifier for the customer: up to 128 letters, numbers and . _ : @ -. It is added to your redirect URL when they return. It is not secret, so do not put anything sensitive in it.
redirect
Optional and URL-encoded. Where the customer returns after connecting. It must exactly match one of your redirect URLs. Without it, customers return to the first one.
https://teslemetry.pro/for/fleetco?ref=driver-42&redirect=https%3A%2F%2Ffleetco.example%2Ftesla%2Fconnected
Reading data
Your apps read your customers' data with an API key. See API.