Page tree

Overview

This API call applies to both Armor Complete and Armor Anywhere users.

The Update User Notification Settings API updates your notifications settings.

You can use the GET https://api.armor.com/me to find your user ID (id). 
You can use the Get User Notification Settings API to find your user ID (userId), account ID (accountId), and notification ID (notificationTypeId). 

Sample request

POST https://api.armor.com/users/notifications

REQUEST:
{
 "userId": 2903,
 "isSelfUpdate": true,
 "notificationPreferences": [
   {
     "userId": 2903,
     "accountId": 2,
     "notificationTypeId": "2",
     "alert": true,
     "sms": true,
     "email": true
   }
 ]
}

Input

The following table describes the different parts of this API call: 

API Call / URLMethod / Type
/users/notificationsPOST

The following table describes the parameter (or parameters) for this API call:

ParameterDescriptionFormatRequired or optionalExample
userIdThe ID of the userIntegerRequired2903
isSelfUpdateIf you are updating your own notification preferencesBooleanRequiredtrue
NotificationPreferencesArray of notification preferencesUserNotificationPreferences[]Required[ ]

Sample return

StatusResponse
200
true
400
"Invalid Request"






In this topic



Have a suggestion for the Armor Knowledge Base? Send a message to kb@armor.com.