Notify Client - call(Object identifier)

Call a specified phone number or the phone number associated with a specified user.

Table 1. Parameters
Name Type Description
identifier Object Enter a JSON object that provides either the phone number to call or the sys_id of a user record to get the phone number from.
Note: If you provide both a phone number and user sys_id, only the phone number is used.
Table 2. Returns
Type Description
void

This example demonstrates passing a phone number as the function parameter.

notifyClient.call({
    phoneNumber: "+18001112223"
});

This example demonstrates passing a user record sys_id as the function parameter.

notifyClient.call({
    userId: "6816f79cc0a8016401c5a33be04be441"
});