NotifyPhoneNumber - Global

The NotifyPhoneNumber API allows you to query information about a Notify phone number.

NotifyPhoneNumber - getDialCode()

Returns the international dialing code for a Notify phone number.

Table 1. Parameters
Name Type Description
None
Table 2. Returns
Type Description
String International phone code for a country.

NotifyPhoneNumber - getID()

Returns the ID of this phone number as defined by the telephony provider.

Table 3. Parameters
Name Type Description
None
Table 4. Returns
Type Description
String The ID of the number within the telephony provider.

NotifyPhoneNumber - getNumber()

Returns the numerical phone number for a NotifyPhoneNumber.

Additional information about the method that does not belong in the short description.

Table 5. Parameters
Name Type Description
None
Table 6. Returns
Type Description
String An E.164-compliant phone number.

NotifyPhoneNumber - getOwner()

Returns the telephony provider associated with this phone number.

Table 7. Parameters
Name Type Description
None
Table 8. Returns
Type Description
void The telephony provider associated with the number: Twilio.

NotifyPhoneNumber - getTerritory()

Returns the country associated with the phone number.

Table 9. Parameters
Name Type Description
None
Table 10. Returns
Type Description
String The name of the country the phone number belongs to.

NotifyPhoneNumber - supportsConferenceCall()

Determines if the Notify phone number supports conference calling.

Table 11. Parameters
Name Type Description
None
Table 12. Returns
Type Description
boolean Returns true if the Notify phone number supports conference calling.

NotifyPhoneNumber - supportsIncomingPhoneCall()

Determines if the Notify phone number supports receiving phone calls.

Table 13. Parameters
Name Type Description
None
Table 14. Returns
Type Description
boolean Returns true if the Notify phone number supports receiving incoming phone calls.

NotifyPhoneNumber - supportsIncomingSMS()

Determines if the Notify phone number supports receiving SMS messages.

Table 15. Parameters
Name Type Description
None
Table 16. Returns
Type Description
boolean Returns true if the Notify phone number supports receiving incoming MMS messages.

NotifyPhoneNumber - supportsOutgoingPhoneCall()

Determines if the Notify phone number supports initiating phone calls.

Table 17. Parameters
Name Type Description
None
Table 18. Returns
Type Description
boolean Returns true if the Notify phone number supports initiating outgoing phone calls.

NotifyPhoneNumber - supportsOutgoingSMS()

Determines if the Notify phone number supports sending SMS messages.

Table 19. Parameters
Name Type Description
None
Table 20. Returns
Type Description
boolean Returns true if the Notify phone number supports sending SMS messages.

NotifyPhoneNumber - supportsRecording()

Determines if the Notify phone number supports recording phone calls.

Table 21. Parameters
Name Type Description
None
Table 22. Returns
Type Description
boolean Returns true if the Notify phone number supports recording phone calls.

NotifyPhoneNumber - supportsWebRTC()

Determines if the Notify phone number supports calls to a browser, such as in a WebRTC implementation.

Table 23. Parameters
Name Type Description
None
Table 24. Returns
Type Description
boolean Returns true if the Notify phone number supports calls to a browser.