Authentication
AdminApril 1, 2026
Authentication Overview
AgroBox uses OAuth 2.0 and API keys for authentication. All API requests must include a valid authentication token.
API Keys
Generate API keys from your dashboard under Settings > API Keys.
curl -H "Authorization: Bearer YOUR_API_KEY" https://api.agrobox.com/v1/farms
OAuth 2.0
For user-facing applications, use OAuth 2.0 authorization code flow.