NotifyNow - getStatus()

Get the current status of Notify configuration.

This method can only be accessed by administrators or users with the notifynow_admin role. Users with all other roles get the message Unauthorized when trying to run the function in a script.

Table 1. Parameters
Name Type Description
Table 2. Returns
Type Description
String One of the possible status messages.
Status Description
NO_NUMBER_MESSAGE The account does not have a telephone number set up. Ensure that you set up the telephone number for the account.
NO_ENDPOINTS_MESSAGE The account does not have its endpoints set up correctly. Ensure that you set up the endpoints for the account.
ACCOUNT_OK_MESSAGE The account is active and ready for use.
ACCOUNT_NO_AUTH The Twilio AuthToken is not valid.
ACCOUNT_NOT_CONFIGURED The Twilio AccountSID or AuthToken is not valid.

var nn = new SNC.NotifyNow();