Create Connect token
Create a Connect token using client credentials in order to initiate the Connect flow.
Form data
ID specified by you to identify the user. This allows you to refer to the User using an ID you already have, precluding the need to save a new user_id generated by Pelm.
Typically, clients will set their own db user_id as this value.
Include this optional parameter if you already know which utility your user uses. If included, the user will skip the Utility Selection Screen. If omitted, the user will need to select their utility.
Deprecated. Please use utility_slug instead.
Note: An error will be returned if both utility_slug and utility_id are passed.
You can find a list of both utility_id
s and utility_slug
s here.
Headers
Pelm-Client-Id
given on registration
Pelm-Secret
given on registration
Response
Number of seconds until the connect_token
expires (30 min)