Authentication
Flowtriq uses two authentication methods depending on the client type.
Deploy Token (Automated Node Provisioning)
Generate a deploy token in Settings → Workspace to programmatically register nodes. Pass it as a Bearer token:
The deploy token is used with the mass deployment API (POST /api/deploy) to register nodes and retrieve their API keys. See the mass deployment guide for full details.
API Key (Agent Authentication)
Each node gets a unique API key when created (either through the dashboard or via the deploy API). The FTAgent uses this key to authenticate with the Flowtriq backend:
The agent sends both headers on every request to https://flowtriq.com/api/v1/agent/* endpoints (metrics, heartbeats, incidents, PCAP uploads). API keys are stored in /etc/ftagent/config.json (chmod 600).
Dashboard Authentication
Dashboard users authenticate via email and password at flowtriq.com/login. Session-based authentication is used for all dashboard and dashboard API endpoints (/api/dash/*). There is no token-based REST API for dashboard operations at this time.