Authentication

Example Request

# Username: test
# Password: test
curl --location --request GET 'https://api-gw.propdata.net/users/public-api/login/' \
--header 'Authorization: Basic dGVzdDp0ZXN0'

Example Response

{
"id": 1,
"agents": [
{
"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.

Example 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.

HTTP Request

GET https://api-gw.propdata.net/users/public-api/login/

Headers

Authorization - Basic (Base64)