Skip to content

Get organization for the authenticated account (new billing model).

GET
/account/organization

Successful response

Organization document in organizations table. Holds usage caps; one org can have multiple accounts.

object
organizationId
required
string
organizationType
required
string
Allowed values: free paid
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
Allowed values: active canceled past_due paused
status

Verification status; internalCap applies when not ‘verified’.

string
Allowed values: verified unverified blocked
internalCap

Unverified account cap (per-channel message limit).

number
pendingDowngradeCostCap
number
pendingDowngradeMessagesCap
number
pendingDowngradeSmsCap
number
pendingDowngradeCallCap
number
pendingDowngradeInternalCap
number
pendingDowngradeEffectiveDate
string
pendingDowngradeAccountType
string
Allowed values: free

Bad Request

Unauthorized

Internal Server Error