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": "test@mail.com",
  "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
string
required

Content type, must be "application/json".

Allowed value: "application/json"

Body

application/json

Request body containing backoffice user credentials and a token.

email
string
required

Email of the profile.

Example:

"test@mail.com"

password
string
required

Response

200 - application/json

Successfully authenticated and logged in the backoffice user.

data
object
required