Get organization for the authenticated account (new billing model).
GET /account/organization
GET
/account/organization
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”Successful response
Organization document in organizations table. Holds usage caps; one org can have multiple accounts.
object
organizationId
required
string
organizationType
required
string
creator
required
string
messagesCap
required
number
costCap
required
number
createdAt
required
string
updatedAt
required
string
anniversaryDate
required
ISO date (YYYY-MM-DD) when the billing cycle resets.
string
allowOverage
required
boolean
name
required
string
smsCap
number
callCap
number
stripeCustomerId
Stripe subscription ID.
string
stripeSubscriptionId
string
subscriptionStatus
string
status
Verification status; internalCap applies when not ‘verified’.
string
internalCap
Unverified account cap (per-channel message limit).
number
pendingDowngradeCostCap
number
pendingDowngradeMessagesCap
number
pendingDowngradeSmsCap
number
pendingDowngradeCallCap
number
pendingDowngradeInternalCap
number
pendingDowngradeEffectiveDate
string
pendingDowngradeAccountType
string
Bad Request
Unauthorized
Internal Server Error