HTTP Specification
Authenticating with Athom Cloud API
Step 1 β Getting an Authorization Code
Name
Value
https://api.athom.com/oauth2/authorise?authorization_type=code&client_id=abcd&redirect_uri=https://example.com/oauth2/callback&state=my_statehttps://example.com/oauth2/callback?code=abcdef&state=my_stateStep 2 β Exchanging the Authorization Code for a Token
URL
Headers
Name
Value
Body
Name
Value
Step 3 β Refreshing the Token
URL
Headers
Name
Value
Body
Name
Value
Authenticating with Homey
Step 1 β Get a user's Homeys
Step 2 β Obtain a Delegation Token
Step 3 β Creating a Session on Homey
Step 4 β Making API calls to Homey
Last updated
Was this helpful?