Authorization upon queries
Last updated on August 26, 2022
Authorization follows the standard OAuth2 protocol. In each query, the Smart home sends the user access token so that the resource server could provide access to data. Queries are sent to the webhook endpoint indicated by you in SmartMarket Studio.
You will need to add a key into the Smart Home API queries – it is displayed in the SmartMarket Studio. You can add this key either to the header or to the query parameters – you will also indicate in SmartMarket Studio where the key will be located.