OutboundTestNumbers
Methods
ActivateOutboundTestPhoneNumber
Activates the phone number by the verification code.
Parameters
verification_code:
string
The verification code, see the VerifyOutboundTestPhoneNumber function
Returns
result:
number
Returns 1 if the request has been completed successfully
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.
Parameters
phone_number:
string
The personal phone number in the E.164 format
Returns
result:
number
Returns 1 if the request has been completed successfully
DelOutboundTestPhoneNumber
Deletes the existing phone number.
Returns
result:
number
Returns 1 if the request has been completed successfully
GetOutboundTestPhoneNumbers
Shows the phone number info.
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.
Returns
daily_attempts_left:
number
The number of attempts left for the day. The number is reset every day at 00:00 UTC