Login
Location
| Attribute |
Value |
| URL |
/Credentials/Login |
| Method |
POST |
Cookies
Requires PHPSESSID cookie.
| Heaader name |
Value |
| Accept |
application/json |
| X-CSRF-TOKEN |
64 character hex hash acquired through Get Token |
Request body
| Parameter |
Value |
| credentials |
an array of credentials |
| credentials [type] |
One of the predefined credentials types |
| credentials [representer] |
Representer for the specified credentials type |
| credentials [payload] |
Payload for the specified credentials type |
Response
| Code |
Message |
| 200 |
- |
| 400 |
CSRF_ERROR |
| 400 |
VALIDATION_EXCEPTION |
Body:
Contains a CSRF token.
Success example
{
"csrf_token": "f4bd2deafa3378f6840ff3d38e12596a25b3b147cff1b3785fded158be62a3bc"
}