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

Parameter

Value

content-Type

application/json

Request Body

Paramerter

Value

Required

grant_type

Must be "client_credentials"

Yes

client_id

The Client ID generated from the Sine Pro Dashboard

Yes

client_secret

The Client Secret generated from the Sine Pro Dashboard

Yes

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

Parameter

Value

access_token

The generated access token

token_type

The type of the access token. This value will always be "Bearer"

expires_in

The 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