Login to the Gateway

Use the POST /Authentication/Login endpoint to send login credentials (username and password) to the API Gateway for validation. The client sends a request with the username and password in the JSON payload to the API Gateway, which then verifies the provided credentials against the stored user data. If the credentials are valid, the API Gateway returns an access token and, optionally, a refresh token for the client to use in subsequent requests. In case of invalid credentials, an appropriate error message is returned. This method ensures secure handling of sensitive user information and is a crucial part of the authentication process in the application.

SecurityApiKeyAuth
Request
header Parameters
IV
required
string

Initialization Vector for database encryption.

Request Body schema:
username
required
string (Username)

An string containing the user's login credential, which is either the user's primary emailAddress or primary phoneNumber.

password
required
string (Password) ^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[@$!%*?&]...

The password should meet the following requirements: 1. It should contain a minimum of 10 characters. 2. It should include at least one lower-case letter (a-z). 3. It should include at least one upper-case letter (A-Z). 4. It should include at least one numeric character (0-9). 5. It should include at least one special character from the following: ! @ # $ % ^ & * ( ) _ + - = { } | [ ] \ : ' ; < > ? , . /

Responses
200

OK

400

Bad Request

401

Unauthorized access

post/authentication/login
Request samples
{
  • "username": "joeblow@acme.com",
  • "password": "Password123!"
}
Response samples
{
  • "userLoginDetails": {
    },
  • "referenceId": "4f6cf35x-2c4y-483z-a0a9-158621f77a21"
}
Copyright © Pace Software 2021–2023. All rights reserved.