Authorization
The Authorization API contains one endpoint which allows you to create an access token. Only authenticated users will be granted a token - which can then be used with every other API endpoint to verify your identify and what you have access to.
Available endpoint actions
GET Authorization token: This request will return an Authorization token.
GET Authorization token
Below is the example GET request sent to the /api/Authorize/Token endpoint
GET https://cloud.paperlessemployee.com/TestCompany/authorize/Token?userName=your_username&userPassword=your_password&companyUrlSuffix=your_companyUrl
Headers
Content-Type: application/json
Authorization: {user name} {password}{companyurlsuffix}
Ocp-Apim-Subscription-Key: {subscription key} *
Parameters
userName: the username provided to you when you subscribed to a specific product
userPassword: the password provided to you when you subscribed to a specific product
companyurlsuffix: your company URL
The response will contain the status code, and if successful, the Authorization token.
200 OK
Content-Type: application/json
{
"eyJhbGciOiJIUzI1NiIsInR5c ... "
}
* Subscription key can be found on the Profile page: