Skip to main content
POST
/
v1
/
introspect
/
phone
Introspect phone number
curl --request POST \
  --url https://api.zavu.dev/v1/introspect/phone \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "phoneNumber": "+56912345678"
}
'
{
  "phoneNumber": "<string>",
  "countryCode": "CL",
  "validNumber": true,
  "nationalFormat": "(312) 945-7420",
  "lineType": "mobile",
  "carrier": {
    "name": "Verizon Wireless",
    "type": "mobile"
  },
  "availableChannels": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
phoneNumber
string
required
Example:

"+56912345678"

Response

Phone number introspection result.

phoneNumber
string
required
countryCode
string
required
Example:

"CL"

validNumber
boolean
required
nationalFormat
string

Phone number in national format.

Example:

"(312) 945-7420"

lineType
enum<string>

Type of phone line.

Available options:
mobile,
landline,
voip,
toll_free,
unknown
carrier
object

Carrier information for the phone number.

availableChannels
string[]

List of available messaging channels for this phone number.