POST
/
auth
/
component-token
Create Component Token
curl --request POST \
  --url https://api-sandbox.axle.energy/auth/component-token \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data 'external_user_id=<string>' \
  --data 'allowed_origin=<string>'
{
  "access_token": "<string>",
  "token_type": "<string>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/x-www-form-urlencoded

Response

200
application/json

Successfully authenticated with a user-scoped access token

The response is of type object.