Skip to main content
POST
/
auth-rs
/
v2
/
bo
/
login
Authenticate and log in a backoffice user.
curl --request POST \
  --url https://z52mnqg347.execute-api.eu-west-3.amazonaws.com/main/auth-rs/v2/bo/login \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: <content-type>' \
  --data '
{
  "email": "[email protected]",
  "password": "<string>"
}
'
{
  "data": {
    "accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
    "sessionToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
    "refreshToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
    "expiresIn": "3600"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Content-Type
enum<string>
required

Content type, must be "application/json".

Available options:
application/json

Body

application/json

Request body containing backoffice user credentials and a token.

email
string
required

Email of the profile.

password
string
required

Response

200 - application/json

Successfully authenticated and logged in the backoffice user.

data
object
required