Header name | Description |
---|---|
Content-Type required |
application/json |
X-API-KEY required |
YOUR_API_KEY |
Param name | Description |
---|---|
email required |
Validations:
|
password required |
Validations:
|
// Unauthorized POST /api/v2/users/sign_in { "email": "johndoe@gmail.com", "password": "password" } 401 { "error": "Log in failed. If you have Single Sign-on enabled on your account, please use it to log in." }
// Unauthorized POST /api/v2/users/sign_in { "email": "johndoe@gmail.com", "password": "wordpass" } 401 { "error": "Log in failed. If you have Single Sign-on enabled on your account, please use it to log in." }
// Missing "email" parameter POST /api/v2/users/sign_in { "password": "wordpass" } 422 { "error": "Missing parameter email" }
// Missing "password" parameter POST /api/v2/users/sign_in { "email": "johndoe@gmail.com" } 422 { "error": "Missing parameter password" }
// If user has SSO provider set POST /api/v2/users/sign_in { "email": "johndoe@gmail.com", "password": "password" } 400 { "error": "Log in failed. If you have Single Sign-on enabled on your account, please use it to log in." }
// When user is not confirmed POST /api/v2/users/sign_in { "email": "johndoe@gmail.com", "password": "password" } 401 { "error": "Log in failed. If you have Single Sign-on enabled on your account, please use it to log in." }
// Successful request POST /api/v2/users/sign_in { "email": "johndoe@gmail.com", "password": "password" } 200 { "ok": "Logged in successfully" }
// Successful request POST /api/v2/users/sign_in { "email": "johndoe@gmail.com", "password": "password" } 200 { "ok": "Logged in successfully" }
// Successful request POST /api/v2/users/sign_in { "email": "johndoe@gmail.com", "password": "password" } 200 { "ok": "Logged in successfully" }
// Successful request POST /api/v2/users/sign_in { "email": "johndoe@gmail.com", "password": "password" } 200 { "ok": "Logged in successfully" }
Code | Description |
---|---|
401 | Unauthorized |
404 | Not found |
500 | Internal Server Error |
422 | Missing parameters |
Header name | Description |
---|---|
Content-Type required |
application/json |
X-API-KEY required |
YOUR_API_KEY |
Param name | Description |
---|---|
token required |
Validations:
|
Code | Description |
---|---|
401 | Unauthorized |
404 | Not found |
500 | Internal Server Error |
422 | Missing parameters |
Header name | Description |
---|---|
Content-Type required |
application/json |
X-API-KEY required |
YOUR_API_KEY |
Param name | Description |
---|---|
token required |
Validations:
|
Code | Description |
---|---|
401 | Unauthorized |
404 | Not found |
500 | Internal Server Error |
422 | Missing parameters |
Header name | Description |
---|---|
Content-Type required |
application/json |
X-API-KEY required |
YOUR_API_KEY |
Code | Description |
---|---|
401 | Unauthorized |
404 | Not found |
500 | Internal Server Error |
422 | Missing parameters |