Organization · API Reference · Developers
Read the organization the current credential belongs to. Every API call is scoped to this organization; use this endpoint to confirm the org context before running batch operations.
Read the organization the current credential belongs to. Every API call is scoped to this organization; use this endpoint to confirm the org context before running batch operations.
| Method | Endpoint | Description |
|---|---|---|
| GET | /v1/organization/ | Current organization |
Current organization
API keyCLI read-onlydefault
Retrieves the organization the current credential belongs to.
This endpoint must accept both API-Key and CLI Bearer once the parity fix ships.
Errors
| Status | When |
|---|---|
| 401 | Missing/invalid/expired credential |
| 403 | Authenticated but not permitted |
| 429 | Throttled - Retry-After header set |
Code samples
curl -sS -X GET 'https://api.dailybot.com/v1/organization/' -H 'X-API-KEY: $DAILYBOT_API_KEY'Try it
This is a copy-only helper — the request is not sent from your browser. Paste the command into your terminal to execute it.