OverviewProductsPlatformsAPI ReferenceResources
Phone Numbers

Resolve a number claim

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

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

AuthorizationBearer tokenRequired

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

Path parameters

claimIdstringRequired

Responses

Success· the request worked

Errors· the request failed

GET/v1/phone-numbers/claims/{claimId}
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.phonenumbers.getPhoneNumberClaim({  path: {    claimId: 'claim_abc123',  },});console.log(data);
{  "country": {    "code": "string",    "needsKyc": true,    "monthlyCents": 0,    "types": [      {}    ]  },  "type": {},  "area": {    "ndc": "string",    "name": "string",    "count": 0  },  "phoneNumber": "string"}
OpenAPI specification
Was this page helpful?