ym88659208ym87991671
Query headers | Documentation for developers

Query headers

Last updated on September 4, 2024

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

NameMandatory?Description
Content-Type✔︎Format of data transmitted or sent. Json is used
Authorization✔︎

Authorization token. The vendor or an agent app installed on the controller sends queries with its own key, while Sber Smart Home sends them with the user's access token. More about authorization:

X-Request-IdReqiest ID. Used for logging
POST /v1/devices HTTP/1.1
Host: example.com
Content-Type: application/json
Authorization: Bearer qwerty-1234-...
X-Request-Id: abcd-0000-ifgh-...
Sber process cookies only to personalize services according to Cookies Usage Policy. You can prevent the processing of cookies in your browser settings.