Skip to main content
PUT
Set organization and channel usage budgets

Authorizations

Authorization
string
header
required

Authorization header using the Bearer scheme. Accepted values are Leadping user JWT access tokens and WorkOS organization API keys beginning with sk_.

Body

Organization and channel limits.

Organization usage budgets in USD. Null removes a limit; zero stops new paid usage.

textingLimit
null | number<double>

Optional texting budget in USD.

textingPeriod
enum<string>

Calendar period for an organization channel budget, in UTC.

Available options:
day,
week,
month
callingLimit
null | number<double>

Optional calling budget in USD.

callingPeriod
enum<string>

Calendar period for an organization channel budget, in UTC.

Available options:
day,
week,
month
dailyLimit
null | number<double>

Daily usage budget in USD for the UTC calendar day. Null removes the limit; zero stops new paid usage.

monthlyLimit
null | number<double>

Monthly usage budget in USD for the UTC calendar month. Null removes the limit; zero stops new paid usage.

Response

Returns the updated usage limits and progress.

UTC calendar usage budgets, settled spend, and pending usage reservations in USD.

textingLimit
null | number<double>

Optional texting budget in USD.

textingPeriod
enum<string>

Calendar period for an organization channel budget, in UTC.

Available options:
day,
week,
month
callingLimit
null | number<double>

Optional calling budget in USD.

callingPeriod
enum<string>

Calendar period for an organization channel budget, in UTC.

Available options:
day,
week,
month
textingUsed
number<double>

Settled texting charges this period plus pending texting reservations.

callingUsed
number<double>

Settled calling charges this period plus pending calling reservations.

dailyLimit
null | number<double>

Daily usage budget in USD. Null means no daily limit; zero stops new paid usage.

monthlyLimit
null | number<double>

Monthly usage budget in USD. Null means no monthly limit; zero stops new paid usage.

dailySpent
number<double>

Settled usage spending in USD for the current UTC calendar day.

monthlySpent
number<double>

Settled usage spending in USD for the current UTC calendar month.

reserved
number<double>

Pending usage reservations in USD.

dailyResetsAt
string<date-time>

UTC timestamp when the next calendar day begins and daily spending resets.

monthlyResetsAt
string<date-time>

UTC timestamp when the next calendar month begins and monthly spending resets.