authentication

Get Token

Get JWT used to make all authenticated requests on behalf of a SmartBuildings account

post/token

Request

  • Base URL
    https://api.sb.ecobee.com/api/v2
  • Auth
    none required

Request body

audience'https://api.sb.ecobee.com' required
client_idstring required
client_secretstring password required
grant_type'client_credentials' required
scopestring

An optional list of scopes, used to check if the client has been granted permissions to.

Example request

{
  "scope": "read:thermostat read:thermostats"
}

Response

Success

access_tokenstring
token_type'Bearer'
expires_ininteger
scopestring

Changes

No recorded changes to this operation across all 1 revision of this API.