OutboundTestNumbers
Methods
ActivateOutboundTestPhoneNumber
Activates the phone number by the verification code.
ActivateOutboundTestPhoneNumber example
Parameters
verification_code:
string
The verification code, see the VerifyOutboundTestPhoneNumber function
Returns
result:
number
1
AddOutboundTestPhoneNumber
Adds a personal phone number to test outgoing calls. Only one personal phone number can be used. To replace it with another, delete the existing one first.
AddOutboundTestPhoneNumber example
Parameters
phone_number:
string
The personal phone number in the E.164 format
Returns
result:
number
1
DelOutboundTestPhoneNumber
Deletes the existing phone number.
DelOutboundTestPhoneNumber example
Returns
result:
number
1
GetOutboundTestPhoneNumbers
Shows the phone number info.
GetOutboundTestPhoneNumbers example
Returns
VerifyOutboundTestPhoneNumber
Starts a call to the added phone number and pronounces a verification code. You have only 5 verification attempts per day and 100 in total. 1 minute should pass between 2 attempts.
VerifyOutboundTestPhoneNumber example
Returns
daily_attempts_left:
number
The number of attempts left for the day. The number is reset every day at 00:00 UTC