Connect Authorization
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
.
GET
/
connect
/
tariff
/
token
Authorizations
Authorization
string
headerrequiredAuthenticate with bearer_token
you obtained from /login endpoint.
Query Parameters
connect_token
string
FlatPeak Connect completion token.
Response
200 - application/json
id
string
requiredFlatPeak connect_token
id.
object
string
requiredFlatPeak object name, i.e. connect_token
.
live_mode
boolean
requiredSet to true
when object is in live mode.
customer_id
string
FlatPeak customer ID.
customer_reference_id
string
An ID for the customer from your system.
location_id
string
requiredFlatPeak location id.
location_reference_id
string
requiredAn identifier for a location from your system.
time_created
string
requiredTime when the object was created, in UTC.
time_expiry
string
requiredTime when token will expire. Expired tokens cannot be claimed.
Was this page helpful?