v2
latestOpenAPI 3.1.02026-08-075421692.0 MBPhone Numbers
Purchase phone number
Payment-first: you do not pick a specific number, the system provisions one and auto-assigns it. With usage-based billing active and a payment method on file, the number provisions inline and bills per month on your usage-based invoice (there is no checkout redirect). No payment method on file returns 402 PAYMENT_REQUIRED; a regulated country returns 202 with status: "kyc_required" and a kycUrl.
Requires usage-based billing (the Usage plan). The maximum number of phone numbers is determined by the user's plan.
post/v1/phone-numbers/purchase
Request body
Response
Either a checkout URL (first number) or the provisioned phone number (subsequent numbers).