Flatpeak API uses bearer authentication (also called token authentication) to authorize access to API endpoints. To create a bearer token, use this /login endpoint with basic auth:
username | Your Flatpeak Account ID. |
password | Any of your Flatpeak API Keys. |
Pass your account_id as username and secret_key as password via basic auth.
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