Steps for accessing the Property Matrix API:
In Property Matrix, click on your profile in the bottom left of the screen and select Settings > API.
Under API Applications, select + New Application.
Enter the application details:
Application Name: a name for your integration.
Allowed Origin: the browser origin allowed for CORS requests, such as https://app.example.com. Include only the scheme, host, and optional port.
Redirect URI: the OAuth callback URL hosted by your application, such as https://app.example.com/oauth/callback.
Select Create Application. Save the Client ID and Client Secret immediately. For security, the client secret is only shown once after the application is created.
While signed in as an admin for the Property Matrix account, open the OAuth authorization URL in your browser after replacing CLIENT_ID and REDIRECT_URI with your values:
https://app.propertymatrix.com/oauth/authorize?response_type=code&client_id=CLIENT_ID&redirect_uri=REDIRECT_URIAuthorize the application. Property Matrix will redirect back to your Redirect URI with a code parameter. Save that code.
You can now make a request to get an access token. If your previous access token has not expired yet, you will not be able to request a new token, and you will get a 401 error if you attempt to do so. To request an access token, make a HTTP post request with a 'Content-Type' of 'Application/JSON' to
https://app.propertymatrix.com/oauth/tokenwith the following parameters:grant_type: a hard-coded string value for "authorization_code" - this value will not change
redirect_uri: the same URL you provided us at the start
client_id: your OAuth client id
client_secret: your OAuth secret code: your OAuth code from the redirect URL
If the HTTP post request succeeds, you will get back a JSON object with the following keys:
"access_token": the authorization token you will use
"token_type": "Bearer"
"expires_in": the number of seconds before the token expires
"created_at": integer value for the time the token was created
If you run into any errors, you can check the response status and message to see the failure reason.
You can now use the access token to make API calls to https://www.propertymatrix.com/graphql_api . Sample queries can be viewed and tested in Property Matrix on the settings page > API.
API requests will need the following header value
"Authorization": "Bearer your-access-token-here"
Sample GET request URL:
After your current access token expires, repeat the steps to make an HTTP post request to get a new access token.
Your software developers can then use the data from the Property Matrix API to integrate with other software.



