Release phone number
Release a purchased phone number. This will:
- Disconnect any linked WhatsApp account
- Decrement the Stripe subscription quantity (or cancel if last number)
- Release the number from Telnyx
- Mark the number as released
Authorization
bearerAuth API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
In: header
Path Parameters
Phone number record ID
Response Body
application/json
application/json
application/json
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.phonenumbers.releasePhoneNumber({ path: { id: 'abc123', },});console.log(data);{ "message": "string", "phoneNumber": { "id": "string", "phoneNumber": "string", "status": "string", "releasedAt": "2019-08-24T14:15:22Z" }}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.
List offerable number countries
The phone number countries available to purchase, each with its flat monthly price (cents), regulatory tier, whether it needs end-user KYC (Tier 3/4), and per-feature availability (PSTN calls, WhatsApp, SMS, and WhatsApp Business Calling outbound). Drives the country picker. Tier-4 countries appear only when enabled. No API key needed: the catalog is public so you can browse it before you have an account.