Log In
Log in a user. Login via email and password. A successful request returns the attribute auth_token that can be used for authenticate the user at other calls.It's also possible to log in with a "first time login". This token is sent to users we manually created through Studio Admin
- application/json
Request Body required
- email email
User's email. Should be unique
- password password
User's password
Responses
- 200
- 401
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
- auth_token string
A token that should be use to authenticate the requests
- message string
- status string
{
"auth_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJleHAiOjE2MjM4MzY4MzMsInN1YiI6MzIsImlzcyI6ImRlZXBvcGluaW9uLmFpIiwibGFuZ3VhZ2VzIjpbIioiXSwiZnVuY3Rpb25hbGl0eSI6WyJBbmFseXNpcy8qIiwiVHJhaW5pbmcvKiIsIk1vZGVscy8qIl0sImlhdCI6MTYyMjYyNzIzM30.Vv_KymEKnrFq5W1XbcufSuLTIr8hk_QBbbT8z9yBST-EiP_-dM3RnyCESfUWr35EHav9UVc9pwr84WNIxffQYnXRuglBtspy0UfBlYvmSNNdWUczn2--WT90VmvujbtFnMp70hry_MTZe-sKBGxE80Br_UuDEmH2gVFim8-ZAu2JAW--bxur0dT59RPpA1DXvw-d_q95_vevjwYvx7uC-9YskMm0g13OFBnwmdj1DGOnjGsWqQ4Z4HSX6B6ctTm_a0Lgc4llwDrA3Ppck05SSgYMIzyUGZDtLrH-Vp-qiCMnd5cplqrUyqZnroUFCjgbT_GuVkdRkxnUpvCQeecWFppg7-CwnYc5gfoMhq5LnJxLgcfQQQ9vBSp1RZPsKBhZlAGUfUoMWFEDa0LBBq6p7zg90D1_G-1LjeUI2N6roGGRdPl9FTKdLklQw2g5RTmb9ik5yTK-VcxLJBSFHhigTZzrktOR1d1akbOVB38TUjcuSQvOdnCVO_-FKyhYtTogSaxth4yMnGHMNuzMHIplW8A1y9Yni4jXzLMSSTV_T8YcirJvr-sVgZa4nUjEqHpMVn7S2Tywp6kd-c_OVEpiHH1ODqczqvtDAYFF6xCf4S8gKlk3CBsJFElzPMnFmLPIWl173mSGuH4beagVKJLFeS87yRINFAL7Nyfe2UJn6gc",
"message": "Successfully logged in.",
"status": "OK"
}
Invalid combination of email and password
Something is wrong with the API.
Loading...