Create access_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.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Form Data
string
required

authorization code from Connect.

Headers
string
required

Your Pelm-Client-Id recieved on registration

string
required

Your Pelm-Secret recieved on registration

Responses

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json