# Admin login Endpoint: POST /v2/auth/login/admin Version: 0.9.0 ## Header parameters: - `x-auth-token` (string) Token protecting non-jwt routes. Format: + (base64 encoded) ## Request fields (application/json): - `email` (string, required) Example: "garryTheSnail@bikinibottom.com" - `password` (string, required) Example: "BigBob27!" ## Response 201 fields (application/json): - `access` (string, required) JWT access token used to authorize API requests Example: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0IiwibmJmIjoxNjAwMDAwMDAwLCJleHAiOjE2MDAwMzYwMDB9.signature" - `refresh` (string, required) JWT refresh token used to obtain a new access token Example: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0eXAiOiJyZWZyZXNoIiwic3ViIjoiMTIzNCIsImV4cCI6MTYwMDA5MjAwMH0.signature" - `expiresIn` (number, required) Seconds until the access token expires Example: 3600 ## Response 400 fields (application/json): - `timestamp` (string) - `path` (string) - `message` (array) - `statusCode` (number) ## Response 401 fields (application/json): - `timestamp` (string) - `path` (string) - `message` (array) - `statusCode` (number)