Authentication
Every API request must include a valid platform API token. Tokens use Bearer authentication and are scoped to your organization.
Create an API token
- Log in to the IBEE portal.
- Go to Settings → API Tokens.
- Click Create Token.
- Give the token a name, select the scopes it needs, and choose a workspace policy.
- Click Create. Copy the token immediately — it is shown only once.
Store your token securely — it cannot be viewed again after creation. If a token is lost or exposed, revoke it and create a new one. Never embed a token in client-side code (browser or mobile apps) or commit it to source control.
Using your token
Include the token in the Authorization header as a Bearer token:
Production tokens start with ibee_prod_key_. Development tokens start with
ibee_dev_key_ and must be sent to https://api.ibee.co.in/v1. Tokens are
environment-specific; a development token is not valid against production and
vice versa.
Scopes
Each token is granted specific scopes that control which resources it can access. Select the minimum scopes your integration needs.
A request to an endpoint that requires a scope the token does not have returns 403 Forbidden.
The SDKs and CLI expose an explicit billing eligibility check for previews and
diagnostics. A token needs billing.read only when your integration calls that
check directly. Billable create requests need only the corresponding product
write scope: the public gateway makes a fail-closed, authoritative billing
decision before it forwards the request to the existing product service.
Workspace policies
When you create a token, you choose how it accesses workspaces:
Use Specific workspaces when you want to limit a CI/CD pipeline or integration to a single environment (for example, only staging).
Revoking tokens
To revoke a token:
- Go to Settings → API Tokens in the portal.
- Find the token and click Revoke.
Revoked tokens are rejected immediately on all subsequent requests.
