Authenticate employee
Here, you can learn how to make an API call to authenticate an employee. Once you execute the call successfully, you will receive a JSON web token that permits you to make authorised API calls to other Tuum API endpoints.
Sample API call
To authenticate an employee, make the following API call.
https://auth-api.sandbox.tuumplatform.com/api/v1/employees/authorise
Sample request
Below is an example request body of the API call for authentication of an employee.
{
"username": "employee_username",
"password": "employee_password"
}
Please make sure to input the username
and password
of the particular employee when submitting your request.
Sample response
Below you find an example response body to the API call above.
Result
An employee is authenticated, and a JSON Web Token is returned in the response.
Last updated
Was this helpful?