Auth

Get access token

Exchange your client_key + client_secret (issued from the Dash Next Portal) for a bearer token. Include the returned token as Authorization: Bearer <token> on every other endpoint.

post/v1/auth/providers/token

Request

  • Base URL
    https://api.dashelectric.co
  • Auth
    none required

Request body

client_keystring required
client_secretstring required

Example request

{
  "client_key": "SAMPLE_CLIENT",
  "client_secret": "random_and_unique_secret_key"
}

Response

OK

tokenstring

Example response

{
  "token": "random_and_unique_token"
}

Changes

No recorded changes to this operation across all 1 revision of this API.