Exchange a connect token
To start requesting your customer’s tariff rates from this API, you need to exchange the connect_token
for a location_id
.
Authorizations
Query Parameters
FlatPeak Connect completion token.
"cot_65e0839faca22517d5d51cd5"
Response
FlatPeak connect_token
id.
"cot_65e0839faca22517d5d51cd5"
FlatPeak object name, i.e. connect_token
.
"connect_token"
Set to true
when object is in live mode.
true
FlatPeak location id.
"loc_641b90b758fb8e6293716e40"
An identifier for a location from your system.
"LOC0123456789"
Set to true
when related tariff element has been processed and rates are available.
Time when the object was created, in UTC.
"2023-05-05T18:37:27Z"
Time when token will expire. Expired tokens cannot be claimed.
"2023-12-28T03:00:00Z"
FlatPeak customer ID.
"cus_65e421d1daa4a24082b4f590"
An ID for the customer from your system.
"CUS0123456789"
Was this page helpful?