Query headers | Documentation SmartMarket
Skip to main content

Query headers

The structure is used for all queries to APIs and webhooks.

Content-Type✔︎Format of data transmitted or sent. Json is used
Authorization✔︎Authorization token. The vendor sends queries using its key, while Sber Smart Home applies the user's access token.
X-Request-IdThe query ID from Sber Smart Home. It is used for webhook queries and logging.
POST /v1/devices HTTP/1.1
Host: example.com
Content-Type: application/json
Authorization: Bearer qwerty-1234-...
X-Request-Id: abcd-0000-ifgh-...