The following are a few tips to use our APIs:
- Before invocation of an API, you need to obtain an access token: Smart Home Agents API, Availability API's OAuth token API.
- Many APIs need property_id, which you can get by querying Properties API
- Our APIs use jason format for both input and output parameters.
Note:
For most of the APIs, security header is not shown in documentation.
You can put security key value in an API like:
"security": [{
"bearer": []
}]
Example is shown in below code snippet:
"/agents/accounts": {
"get": {
...
...
"security": [{
"bearer": []
}],
"servers": [{
"url": "https://app2.keyless.rocks/api/agents",
"variables": {}
}]
}
}