Welcome to Tesla Motors Club
Discuss Tesla's Model S, Model 3, Model X, Model Y, Cybertruck, Roadster and More.
Register

API newbie

This site may earn commission on affiliate links.
I used to manage a hobby server in PHP way back in the day, so I'm pretty rusty on cURL. I took a look at the example, and using apiairy I got a 503 on my GET for a token.
Is this example still correct? If so then I'll keep trying to figure it out.
Thanks!
{
"grant_type": "password",
"client_id": "81527cff06843c8634fdc09e8ac0abefb46ac849f38fe1e431c2ef2106796384",
"client_secret": "c7257eb71a564034f9419ee651c7d0e5f7aa6bfbd18bafb5c5c033b093bb2fa3",
"email": "<YOUREMAIL>",
"password": "<YOURPASSWORD>"
}