Get notification preferences
GET
Returns the signed-in user's on or off setting for each notification category, with defaults filled in.
BearerAuthheader
AuthorizationBearer <JWT>OK
*/*- response
status*stringOutcome of the call: SUCCESS when the request worked, ERROR when it did not.
message*stringShort human-readable message describing the result, for logs or display; do not parse it.
data?The signed-in user's effective setting for every notification category.
Example Request
curl -X GET 'https://beta.iotoms.com/api/v1/notifications/preferences'Example Response
{ "status": "string", "message": "string", "data": { "preferences": [ { "category": "OPS_ROUTE_ASSIGNED", "group": "OPS", "enabled": true, "canDisable": true } ] }}