Resolve a number claim
Resolves a claimId from a keyless search or purchase into the
selection it carries (country, number type, area and exact number)
priced at today's rate. The dashboard calls it when a person lands
from a claimUrl. The number is not held, so buying it can still fail
with 409 PHONE_NUMBER_UNAVAILABLE.
Authentication
API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
Path parameters
Responses
Success· the request worked
Errors· the request failed
Purchase phone number
Buys a phone number, payment-first. The system provisions a number and auto-assigns it, unless you pass `phoneNumber` to buy one exact number from `GET /v1/phone-numbers/available`. Requires usage-based billing (the Usage plan). The maximum number of phone numbers is determined by the user's plan. ### Outcomes - 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: `402 PAYMENT_REQUIRED`. - A regulated country: `202` with `status: "kyc_required"` and a `kycUrl`. ### Price The monthly price is the one `GET /v1/phone-numbers/countries` quotes for that country and `numberType` at the time of purchase, and it is stamped on the number. Later rate-card changes never move a number you already own.
Release phone number
Release a purchased phone number. This will: 1. Disconnect any linked WhatsApp account 2. Decrement the Stripe subscription quantity (or cancel if last number) 3. Release the number from Telnyx 4. Mark the number as released