Authentication

Modified on Wed, 30 Aug 2023 at 05:00 PM

In order to work with ista WebAPI you need to be registered by ista in order to receive a login/password pair

Registration process


To Be Defined
You need to provide the property manager for which you want to use the ista-WebAPI, so that ista can provide you the relevant numbers to use in the request and register those number with your login



How to get a token?

The authentication service url is the following


https://authentication.ista-webservices.be/users/authenticate 




You need to provide the user and password in the body of the POST request


{
    "username": "<login provided by ista>",
    "password": "<password provided by ista>"
}



The result of the request is a big string (token) such as:

eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjAzMWZkMjQwLWZkOTMtNGE5Yy04OGNmLWZkYWZjMjJmZGE0OCIsIm5iZiI6MTY4MDc4MDU1NiwiZXhwIjoxNjgwNzgwODU2LCJpYXQiOjE2ODA3ODA1NTZ9.7i1sz7mTa5twPe5XLGBaB3Pk-N1bdBOkNNwfyDSfuVE


You will need to use provide this token in any request to ista-WebAPI (See Property Structure / Tenants / Devices)

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article