To make Homes360 API calls on behalf of an individual user, a Partner app must use the homesapi authentication scheme.
Two tokens are required to make API calls to Homes 360: a Partner application token and a user token for the user on whose behalf you are making the API call.
To obtain your Partner application token, call the Token API.
Make a
POST
request to the url:
https://api.homesconnect.com/api360/token
Body:
{
"accountID": ,
"login": "string",
"password": "string",
"expiresDays":
}
The
accountID
,
login
and
password
are the Partner account credentials you received after being approved as a Homes.com Connect Partner.
This token should then be appended to all 360 API calls in the url.
For example:
https://api.homesconnect.com/api360/leads?token=
partner_app_token
The second token you need is the token generated by your user on the Homes.com Connect Partners page. The user should have then copied the token into your application. That token should be placed in the API request's Authorization header with the scheme homesapi:
Authorization: homesapi
user_generated_token