Git phone number legitimacy before you commit
Protect your app and improve SMS delivery rates by integrating our Phone ID API into your user verification, communication, and fraud prevention workflows.
require 'telesign'
customer_id = ENV['CUSTOMER_ID'] || 'FFFFFFFF-EEEE-DDDD-1234-AB1234567890'
api_key = ENV['API_KEY'] || 'ABC12345yusumoN6BYsBVkh+yRJ5czgsnCehZaOYldPJdmFh6NeX8kunZ2zU1YWaUw/0wV6xfw=='
phone_number = ENV['PHONE_NUMBER'] || '11234567890'
client = Telesign::PhoneIdClient.new(customer_id, api_key)
response = client.phoneid(phone_number)
Direct access to global phone number intelligence.
Responses are pulled from global phone number and IP intelligence in real-time that contain billions of identity signals and traffic patterns.

Reference |
{ |
Phone Type |
“phone_type”: { |
Carrier |
“carrier”: { |
Contact |
{‘contact’: {‘address1′: ’42 BAKER STREET’, |
Free sign up
Sign up for a trial account and get instant access to an API key.
$5 credit is yours
Use your $5 trial credit to test running phone number checks.
Never expires
Take your time testing how Telesign works for your project.