OverviewPlatformsAPI ReferenceResources
Phone Numbers

Get phone number

GEThttps://zernio.com/api/v1/phone-numbers/{id}

Retrieve the current status of a purchased phone number. Poll this to track:

  • Meta pre-verification (US sync path)
  • for regulated (Tier 3/4) numbers, the async lifecycle: pending_regulatory → active (or regulatory_declined)

When a regulated number has an Onfido ID step, onfidoVerificationUrl appears here once the order is placed. Forward it to the end user.

Or subscribe to the whatsapp.number.* webhooks instead of polling.

Authentication

AuthorizationBearer tokenRequired

API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.

Path parameters

idstringRequired

Phone number record ID

Responses

Success· the request worked

Errors· the request failed

GET/v1/phone-numbers/{id}
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.phonenumbers.getPhoneNumber({  path: {    id: 'abc123',  },});console.log(data);
{  "phoneNumber": {    "id": "string",    "phoneNumber": "string",    "status": "pending_payment",    "country": "string",    "metaPreverifiedId": "string",    "metaVerificationStatus": "string",    "onfidoVerificationUrl": "string",    "endUserFirstName": "string",    "endUserLastName": "string",    "regulatoryDeclineReason": "string",    "provisionedAt": "2019-08-24T14:15:22Z",    "sipTrunkId": "string"  }}
OpenAPI specification
Was this page helpful?