All RunBlob API requests require authentication using Bearer tokens. Keep your API keys secure and never expose them in client-side code.
Getting Your API Key
1
Sign Up
Create your RunBlob account at our dashboard.
2
Generate API Key
Navigate to the API Keys section and generate a new key.
3
Store Securely
Store your API key in environment variables or secure configuration.
Using Your API Key
Required Headers
Every API request must include these headers:Bearer token with your API key:
Bearer YOUR_API_KEYAlways set to
application/json for POST requestsExample Request
Security Best Practices
Server-Side Only
Server-Side Only
Never expose API keys in:
- Frontend JavaScript code
- Mobile app source code
- Public repositories
- URL parameters
Environment Variables
Environment Variables
Store API keys in environment variables:
Key Rotation
Key Rotation
Regularly rotate your API keys:
- Generate new keys periodically
- Revoke old keys after updating your applications
- Monitor key usage in your dashboard
Monitor Usage
Monitor Usage
Track your API usage:
- Monitor request patterns in your dashboard
- Set up alerts for unusual activity
- Review logs regularly
Error Responses
Invalid API Key
Missing Authorization Header
Malformed Authorization Header
Need help? Contact our support team via Telegram if you have issues with authentication.