import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const verifiedNumber = await client.verifiedNumbers.create({
phone_number: '+15551234567',
verification_method: 'sms',
});
console.log(verifiedNumber.phone_number);{
"phone_number": "+15551234567",
"verification_method": "sms"
}Initiates phone number verification procedure. Supports DTMF extension dialing for voice calls to numbers behind IVR systems.
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const verifiedNumber = await client.verifiedNumbers.create({
phone_number: '+15551234567',
verification_method: 'sms',
});
console.log(verifiedNumber.phone_number);{
"phone_number": "+15551234567",
"verification_method": "sms"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
"+15551234567"
Verification method.
sms, call "sms"
Optional DTMF extension sequence to dial after the call is answered. This parameter enables verification of phone numbers behind IVR systems that require extension dialing. Valid characters: digits 0-9, letters A-D, symbols * and #. Pauses: w = 0.5 second pause, W = 1 second pause. Maximum length: 50 characters. Only works with 'call' verification method.
50"ww243w1"
Was this page helpful?