BazaarLinkBazaarLink
Sign in
DocsAPI ReferenceSDK ReferenceAgentic UsageAI Skills
Organizations

Get an organization

Returns details for the given organization, including billing-related fields (credits, credit limit, payment terms in days, billing cycle day) and team/member counts. Same as the teams and members endpoints, only an org_admin of that organization may call this — there is no reduced view for lower-privilege roles; billing fields sit at the same access tier as everything else.

GET/api/v1/orgs/:orgId

Authorizations

Authorizationrequired
string · header

API key as bearer token in the Authorization header.

Path parameters

orgIdrequired
string

The organization ID, from a GET /orgs response.

GET /api/v1/orgs/:orgId
curl https://bazaarlink.ai/api/v1/orgs/org_abc123 \
  -H "Authorization: Bearer $BAZAARLINK_API_KEY"
Response examples

Success. _count is the organization's current team and member counts.

{
  "org": {
    "id": "org_abc123",
    "name": "Acme Corp",
    "slug": "acme-corp",
    "plan": "enterprise",
    "billingModel": "invoice",
    "credits": 1250.5,
    "creditLimitUsd": 5000,
    "paymentTermsDays": 30,
    "billingCycleDay": 1,
    "allowedDomains": [
      "acme.com"
    ],
    "createdAt": "2026-03-01T00:00:00.000Z",
    "_count": {
      "teams": 3,
      "members": 12
    }
  }
}
Support
Support
Hi! How can we help you?
Send a message and we'll get back to you soon.
Get an organization — BazaarLink API