Skip to main content
GET
Preview CPS or concurrency pricing
Preview the monthly price for additional calls-per-second (CPS) or concurrent-call capacity. This endpoint calculates the charge from the account’s assigned pricing tier without creating a subscription or debiting the account.

Authentication

Use one of these authentication methods: The authenticated account can preview pricing only for its own auth_id. An administrator may act on behalf of another account.

Parameters

Path parameter

Query parameters

Examples

cURL

Response

The values below are illustrative. The actual monthly cost and currency come from the target account’s assigned pricing tier.
Preview response
Show this response to the customer before submitting a purchase so they can confirm the exact recurring charge.

Pricing rules

  • resource_type must be concurrent_calls or cps.
  • quantity must be an integer from 1 through 10000.
  • Pricing uses the account’s assigned pricing tier and applicable pricing brackets.
  • The tier’s block-size, minimum-quantity, and maximum-quantity rules are enforced.
  • The request fails if the account has no pricing tier or the quantity violates its tier rules.
When the customer confirms the previewed amount, use Purchase CPS or concurrency capacity.

Authorizations

Authorization
string
header
required

Account access token sent as Authorization: Bearer <ACCESS_TOKEN>.

Path Parameters

auth_id
string
required

Target account Auth ID. An account can preview only its own pricing; administrators may act for another account.

Example:

"MA_XXXX"

Query Parameters

resource_type
enum<string>
required

Capacity type to price. Account capacity to price or purchase.

Available options:
concurrent_calls,
cps
Example:

"concurrent_calls"

quantity
integer
required

Capacity quantity to price. Pricing-tier block and quantity rules also apply.

Required range: 1 <= x <= 10000
Example:

30

Response

Calculated monthly capacity price. No balance is debited.

resource_type
enum<string>
required

Account capacity to price or purchase.

Available options:
concurrent_calls,
cps
Example:

"concurrent_calls"

quantity
integer
required
Required range: 1 <= x <= 10000
Example:

30

monthly_cost
string
required

Calculated monthly charge as a decimal string.

Example:

"10470.00"

currency
string
required

Currency assigned by the account's pricing tier.

Example:

"INR"

breakdown
object[]
required

Pricing-bracket calculation details when supplied by the pricing tier.