Skip to content
VaakyoDocs
Navigation
Open console →

Billing

Buy extra call lines

POST/api/v1/billing/lines

Add concurrent call lines (workspace owners), charged from credits now: a full month, or what is left of the running lines cycle (prorated by the day). Then every 30 days with an invoice; unpaid past the grace period, the lines are removed. 402 when the credits don’t cover it.

Authorization

A signed-in member with the billing.manage permission (Authorization: Bearer session token). API keys can’t do this.

Authorization: Bearerbilling.manage

Query parameters

timezonestringdefault: "Asia/Kolkata"

IANA time zone for every timestamp in the response (at, date, timestamp and *_at fields), as ISO 8601 with the offset. The X-Timezone header works too; the zone used comes back in the X-Timezone response header. An unknown zone is a 400.

Body application/json

quantityintegerrequired

how many lines

1 to 500

Response

200Success.

No body.

401No credentials, or they are invalid or revoked.
detailstring

What went wrong, in plain words.

403Your role (or an API key) lacks the permission.
detailstring

What went wrong, in plain words.

422Validation Error
detailobject[]
Show item attributes
locstring | integer[]
msgstring
typestring
Esc