Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to call mobile-app/* endpoints? #714

Open
mukundt opened this issue May 1, 2023 · 3 comments
Open

How to call mobile-app/* endpoints? #714

mukundt opened this issue May 1, 2023 · 3 comments

Comments

@mukundt
Copy link

mukundt commented May 1, 2023

I'm trying to access the Self Diagnostics feature, which I believe falls under mobile-app/macgyver/urgent-autodiag-result. But calling api('SERVICE_MACGYVER_DIAGNOSTIC_RESULT') returns a 404. Do I need to treat mobile-app/ endpoints differently?

@core-hacked
Copy link
Contributor

Yes, these either fall under different urls or require different authentication / token generation.

@devsaider
Copy link

I was able to intercept requests between Tesla's latest android app and bff.

The URL looks like this (please note that i've intercepted another url):
https://ownership.tesla.com/mobile-app/macgyver/activity-info/12345678?deviceLanguage=en&deviceCountry=US&ttpLocale=en_US&vin=5YJ3E1EB3JF000000

So far, from what i've tested, no special authentication or headers are required.
Use the Bearer token as you would for other endpoints.

@norenz92

This comment was marked as duplicate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants