1
Retrieve Client Credentials
Check that you received a
client_id and client_secret from the Setle team. We will assume it is for the production environment.Haven’t received the credentials yet? Please contact the Setle team and read more about Client Credentials.2
Retrieve an Access Token
With these Client Credentials, you can now fetch a new Access Token. Use the Once obtained, use the Bearer token in the headers for subsequent requests.
/v1/oauth/token API endpoint details.Send a POST request to this endpoint with the Client ID and Client Secret to obtain the Bearer token.Sample Request:3
Retrieve Property Data
You now have a valid token. Let’s use it to retrieve property data.Add the Access Token to the Authorization header as shown below:Then, call the Estate List
/v1/estate/list endpoint to retrieve a list of properties along with their details.4
Processing Property Data
Now that you have retrieved property data, here are some tips on processing it:
- CRM Type: The
estate_provider_typeattribute indicates the CRM type linked to the property. - External ID: Use this attribute to match the ID from the CRM system with property information in Setle.
- Mapping: Use
estate_provider_typeandexternal_idto correctly map property data in your system. - Renovation Availability: If the property has a
quality_labelof D, it is not suitable for renovation. In this case, disable the button leading to the renovation page. - CTA Implementation: The
referral_linkattribute can be used to add a Call-To-Action (CTA) to the client’s website, guiding users to specific information or actions.