API Keys
API keys authenticate your SDK when sending telemetry to Upblit. Each key is scoped to a single application.
Generating a Key
- Go to your application’s page
- Click Generate API Key
- Copy the key from the modal — it is shown only once
Security Rules
- Never commit API keys to source control — use environment variables
- Keys are scoped to one application — they cannot be reused across applications
- The dashboard never stores or re-displays a key after the modal is closed
- If a key is compromised, generate a new one (the old key remains valid until revocation is implemented)
Using a Key in Your SDK
// Express
const upblit = require('upblit-express')
app.use(upblit(process.env.UPBLIT_API_KEY))// Go
sdk := upblit.New(os.Getenv("UPBLIT_API_KEY"))# Python
import upblit, os
upblit.init(os.environ["UPBLIT_API_KEY"])Key Format
API keys are generated by the backend and are unique per application. Store them in your deployment environment’s secret management system (e.g., environment variables, AWS Secrets Manager, Vault).
Last updated on