3. Sites

Initiate Site Oauth

Changed on

Initiates OAuth flow by returning the provider's authorisation URL for the client to redirect to

get/entities/site/{site_id}/oauth/{provider}/initiate

Request

  • Base URL
    https://api-sandbox.axle.energy
  • URL
    https://api-sandbox.axle.energy/entities/site/{site_id}/oauth/{provider}/initiate
  • Auth
    OAuth 2
    Password
    Token URL: auth/token-form

Path parameters

site_idstring uuid required
providerstring required

Response

Returns OAuth authorisation URL

authorization_urlstring required

Third party URL to redirect the user to for OAuth authorisation

Changes