How to Get Your User ID and API Key for PicDefense.io
To integrate our Risk Forensics engine programmatically into your CI/CD pipelines or CMS workflows, you need to authenticate your requests using your unique User ID and API Key. The API allows you to bypass the dashboard and push assets directly into our multi-worker analysis queue.
Engineering Best Practices & Security
Treat your PicDefense API key like a production database credential.
Never expose it in client-side code
All API requests must originate from a secure server environment (e.g., a Node.js backend).
Credit Consumption
Every successful API request deducts credits from your account balance. If your script runs into an infinite loop or lacks idempotency, you will burn through your allocated credits.
Environment Variables
Store your credentials securely in your .env files rather than hardcoding them into your application logic.
Step-by-Step Configuration
Access the Dashboard
Log into the core application dashboard at app.picdefense.io.
Navigate to Settings
Click on your Account section, which manages your billing, credit packages, and API settings.
Secure Your Keys
Your User ID and API Key will be visible in the API configuration panel.