Check the format of a phone number without a network call
get/lookup/validate
Check the format of a phone number without a network call: valid or not, why, its country, a readable form, and whether its shape says mobile, toll-free or premium-rate.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
voice:read- Mcp
rivier_lookup_validate- Graphql
Query.voiceLookupNumberValidate- Sdk
lookup.validate- Cli
lookup validate
Parameters
- numberstringrequiredIn the query
- countryCodestringIn the query
Responses
- 200application/jsonSuccess
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring