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. |