Getting an API key
You can create a key in two ways.Developer Console
Sign in at console.bhumifarms.co and navigate to API Keys. Click Create key, give it a name, and copy the value shown — it is only displayed once.API endpoint
Send aPOST request to /v1/keys. The behavior depends on whether you are authenticated.
- Authenticated
- Unauthenticated
Sign in to the Developer Console first. While signed in, Response
POST /v1/keys links the new key to your account, and you can manage it later through the Console or the DELETE /v1/keys endpoint.Key format
All Bhumi API keys begin withbh_live_ followed by 32 hex characters:
Passing the key in requests
You can authenticate requests using either theX-API-Key header (recommended) or the ?key= query parameter.
- Header (recommended)
- Query parameter
Key limits
You can have up to 5 active keys per account. To create a new key once you reach the limit, revoke an existing one first.
Up to 3 keys per email address can be created without a console account. Sign in to manage more keys.
An additional anti-churn limit applies: authenticated accounts cannot create more than 10 keys in any 24-hour window, and email-only keys are limited to 5 per email per 24 hours.
Listing active keys
Signed-in users can retrieve their active keys from the Developer Console, or via the API endpoint:id, name, tier, daily_limit, requests_today, last_used_at, and created_at.
Revoking a key
To revoke a key, send aDELETE request with the key’s id: