GET /api/v2/accounts/current
Returns the customer account your API key is currently operating as, including your role and the registered organization domain. Use it to confirm context before running admin-scoped account or domain operations.
Request
curl
Parameters
None. The account is resolved from the API key.Response
| Field | Type | Notes |
|---|---|---|
id | integer | Customer ID for the current account |
company | string | Company name |
name | string | Display name |
role | string | Your role on this customer (MEMBER, ADMIN, SUPER_ADMIN). Omitted when not applicable |
customerDomain | string | null | Registered organization domain, or null if unset |
standing | object | Admin-only. Customer standing. Present only when the caller is ADMIN or above; omitted for members. See below. |
standing (admin only)
Returned only when your role on the account is ADMIN or SUPER_ADMIN. It carries the account’s credit-limit posture and is resolved with parent fallback — a child account reflects its parent’s inherited credit limit.
| Field | Type | Notes |
|---|---|---|
creditLimitPerMonth | integer | null | Monthly credit limit beyond the funded balance, in minor currency units (USD cents). 0 = prepay-only (fund to spend); >0 = a monthly credit ceiling Scope3 fronts; null = no Scope3-imposed limit |
currency | string | ISO 4217 currency code the creditLimitPerMonth is denominated in. Defaults to USD |
Errors
401 UNAUTHORIZED— missing or invalid API key.
Related
Account tasks
All account operations
List customer accounts
Accounts you can switch into
Account overview
Concepts and hierarchy