Authenticates a user using their email and the one-time code they were sent.
- Mock serverhttps://docs.speedysticks.com/_mock/openapi/login
- Productionhttps://api.speedysticks.com/login
curl -i -X POST \
https://docs.speedysticks.com/_mock/openapi/login \
-H 'Content-Type: application/json' \
-d '{
"email": "jane.doe@example.com",
"code": "482910"
}'Authenticated successfully.
Response
{ "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...", "refreshToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...", "streamToken": "st_live_abc123xyz" }