Learn how to securely authenticate your API requests to 1cPlatform using API keys, OAuth, and JWT tokens.
Authentication Methods
1cPlatform supports three authentication methods:
- API Keys - Simple authentication for server-side applications
- OAuth 2.0 - Industry-standard protocol for user authentication
- JWT Tokens - Secure token-based authentication for distributed systems
Getting Your API Key
To get your API key:
- Log into your 1cPlatform dashboard
- Navigate to Settings → API Keys
- Click "Generate New Key"
- Copy and securely store your key
Example Request
curl https://api.1cplatform.com/v1/agents \
-H "Authorization: Bearer YOUR_API_KEY"Security Best Practices
- Never expose API keys in client-side code
- Rotate keys regularly (every 90 days recommended)
- Use environment variables to store keys
- Implement rate limiting on your end
- Monitor API usage for unusual activity
⚠️ Important
If you suspect your API key has been compromised, revoke it immediately from your dashboard and generate a new one.
Was this article helpful?
