Skip to content

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.

MethodEndpointDescription
GET/v1/organization/Current organization
GET/v1/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

StatusWhen
401Missing/invalid/expired credential
403Authenticated but not permitted
429Throttled - 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.