RefreshaToken

POST

Refresh a Token

Refreshing a token is similar to the last step in the authorization code flow.

One thing in particular to pay attention to is the Authorization header. It's a Basic Auth challenge using your API Key and API Secret (sometimes called clientID and clientSecret). The two values are concatenated with a colon and the entire string is base64 encoded.

Example:

ClientID == 123 & Client Secret == abc

base64Encode(123:abc) == "MTIzOmFiYw=="

So the HTTP Header would be:

Authorization: Basic MTIzOmFiYw==

Resource URL

https://api.honeywell.com/oauth2 /token

Header Parameters


Name Values Description
Authorization
(required)

Body Parameters


Name Values Description
grant_type
(required)

refresh_token
(required)

Request Body

HTTP Basic

OAuth 2.0

API Key

Reset

Make a request and see the response.

Make a request and see the response.

Make a request and see the response.

Response Error Details

  • HTTP Code
    Error Code
    Description
  • 400

    When an expired or invalid Refresh Token is provided { "error": "invalid_grant" }

Resource Summary

Security

Content Type

application/x-www-form-urlencoded

Category

Authorization

Working...