Authorization
Create a bearer token
To create a bearer token, send a request to this endpoint using basic auth. Use following username/password pair:
username | Your FlatPeak account id. |
password | Any of your FlatPeak API keys. |
You can locate your FlatPeak account ID and generate an api_key in API keys section of Dashboard.
GET
/
login
Authorizations
Authorization
string
headerrequiredPass your account_id
as username and secret_key
as password via basic auth.
Response
200 - application/json
bearer_token
string
requiredThe bearer security token.
expires_in
integer
requiredExipiration time in seconds.
live_mode
boolean
requiredHas the value true
if the object exists in live mode or the value false
if the object exists in test mode.
Was this page helpful?