Keys / Loops
LOOPS_API_KEY
The API key your server calls the Loops API with to manage contacts and send transactional email.
- Expires
- the docs don't say
- API
- none; Settings only
Get it
Create one on app.loops.so/settings. The steps aren't recorded yet.
Set it
LOOPS_API_KEY=...
The Loops CLI reads it before any stored key. The JavaScript, PHP and Ruby SDKs don't; your app passes the key in. Or keep it out of .env with keypin: keypin run -- npm run dev
Replace it
- Generate a new API key under Settings > API. Loops shows it once.
- Deploy it everywhere that reads
LOOPS_API_KEY. - Check that requests succeed with the new key. The docs don't say how to revoke the old one.
Set rotate_every on the key in keypin.toml and a rotated date on its vault item, and keypin status shows when it's due.