post https://api.pelm.com/auth/token
Exchange an authorization_code
for an access-token
. The authorization_code
is returned in the Connect onSuccess
callback after the user successfully submits their utility credentials.
The access_token
will not expire. Make sure you securely store it in your database so you can make future requests for the given user.
The fields access_token_expires_in
, refresh_token
, and refresh_token_expires_in
can be ignored. These are included for applications using our legacy authorization framework.