Authentication
Login Request
# Username: test# Password: testcurl --location --request GET 'https://staging.api-gw.propdata.net/users/public-api/login/' \--header 'Authorization: Basic dGVzdDp0ZXN0'
Login Response
{"id": 1,"clients": [{"id": 1,..."token": "<your-bearer-token>"}],"email": "test@propdata.net",}
Using the
token
value in the response, you can make requests to any other endpoints.
Login Usage
curl --location --request GET 'https://api-gw.propdata.net/branches/api/v1/branches/' \--header 'Authorization: Bearer <your-bearer-token>'
Each endpoint requires a BEARER Token for authentication. To get a token, you must have an API Vendor account. Contact support@propdata.net to request an account if you do not already have one.
To request a token, you must first log into your account. This is done by passing your BASE64 encoded username:password combination using Basic authentication in the Authorization header.
Login Endpoint
GET https://api-gw.propdata.net/users/public-api/login/
Login Headers
Authorization
- Basic (Base64)
Token renewal
A valid token can be used to request another, renewed token for extended access to the API. In order to renew a token one needs to access the renew-token endpoint and provide the current token in the Authorization header as per any other request. The token you receive in the response to this request is the new, updated token.
Renewal Endpoint
GET https://api-gw.propdata.net/users/api/v1/renew-token/
Renewal Headers
Authorization
- Bearer (Token)