Authentication
Flatpeak API uses bearer authentication to authorise access to endpoints. To create a bearer, use this endpoint with basic auth.
| Field | Value |
|---|---|
username | Your Flatpeak Account ID |
password | Any of your Flatpeak API Keys |
Authorizations
Pass your account_id as username and secret_key as password via basic auth.
Response
The bearer security token.
"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50X2lkIjoiYWNjXzQwODQzYzgwNThlMzRiM2E5OGZkMGY1Yjc1MmE2OTFiIiwibGl2ZV9tb2RlIjpmYWxzZSwiaXNzIjoiRmxhdFBlYWtBUEkiLCJzdWIiOiJhY2NfNDA4NDNjODA1OGUzNGIzYTk4ZmQwZjViNzUyYTY5MWIiLCJleHAiOjE2NjYwOTg4NjgsIm5iZiI6MTY2NjAxMjQ2OCwiaWF0IjoxNjY2MDEyNDY4fQ.GVfkaouHm4nBoj5gSaAaEBaoS9tPNhALgrMu0-TIrWQ"
Expiration time in seconds.
3600
Has the value true if the object exists in live mode or the value false if the object exists in test mode.
true

