Authenticate customer
Here, you can learn how to make an API call to authenticate a customer. 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 a customer, make the following API call.
https://auth-api.sandbox.tuumplatform.com/api/v1/authorise
Sample request
Below is an example request body of the API call for authentication of a customer.
{
"username": "customer_username",
"password": "customer_password"
}
Please make sure to input the username
and password
of the particular customer when submitting your request.
Sample response
Below you find an example response body to the API call above.
Result
An customer is authenticated, and a JSON Web Token is returned in the response.
Last updated
Was this helpful?