Logging in as this customer

POST {{api_url}}/customer/{{tenant}}/login

Logs in a customer and sends an authentication request and retrieves a customer token.

Note: The request needs to be authorized with an anonymous access token.


Required scopes

No specific scopes are required.

Request Body

{"email"=>"a.schneider@emporix.com", "password"=>"SET YOUR PASSWORD"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
``null

RESPONSES

status: OK

{"accessToken":"aYR3Lu3rpsQ9ODhBIR83b3txTr5K","saasToken":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxMzg2OTAwMCIsImV4cCI6MTY0MDQ0NDAzMn0.lvxFOeCOk-DWi3kqwJwR8eKal3ON2rr53e9I6Pha5rI","expiresIn":2591999,"refreshToken":"94tKQ2Tsvlf9dYbmyccA7X1Rqe54B6dH","refreshTokenExpiresIn":86399}