Get an access token

An access token is required by Sine API to make a request and receive a response.

Request Endpoint

POST https://api.forge.connected.honeywell.com/sine/oauth2/token

Request Headers

ParameterValue
content-Typeapplication/json

Request Body

ParamerterValueRequired
grant_typeMust be "client_credentials"Yes
client_idThe Client ID generated from the Sine Pro DashboardYes
client_secretThe Client Secret generated from the Sine Pro DashboardYes

Example

POST /sine/oauth2/token HTTP/1.1
Host: api.forge.connected.honeywell.com
User-Agent: curl/7.77.0
Accept: */*
Content-Type: application/json
{"grant_type": "client_credentials",
"client_id": "your-client-id",
"client_secret": "your-client-secret"}

Response

Response Body

ParameterValue
access_tokenThe generated access token
token_typeThe type of the access token. This value will always be "Bearer"
expires_inThe duration in seconds after which the access token expires

Example

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{"token_type": "bearer",
"access_token": "yourAccessToken",
"expires_in": 7200}

What’s Next