Get User Notification Preferences
GET/organizations/:organizationId/users/:userId/notification-preferences
Get notification preferences for a user (email and in-app settings for work orders, requests, forms, SLA, system events)
Request
Path Parameters
organizationId stringrequired
Organization ID
userId stringrequired
User ID
Responses
- 200
- 401
- 403
- 404
- application/json
- Schema
- Example (from schema)
- Example
Schema
data objectrequired
Notification preferences object
workOrders objectrequired
requests objectrequired
forms objectrequired
sla objectrequired
system objectrequired
{
"data": {
"workOrders": {},
"requests": {},
"forms": {},
"sla": {},
"system": {}
}
}
{}
The request has not permission.
- application/json
- Schema
- Example (from schema)
- Example
Schema
error stringrequired
The request has not permission.
message stringrequired
The request has not permission message.
{
"error": "string",
"message": "string"
}
{
"error": "Unauthenticated",
"message": "Authentication is required and has failed or has not yet been provided."
}
The request has not permission.
- application/json
- Schema
- Example (from schema)
- Example
Schema
error stringrequired
The request has not permission.
message stringrequired
The request has not permission message.
{
"error": "string",
"message": "string"
}
{
"error": "Forbidden",
"message": "Access to the requested resource is forbidden."
}
The resource hasn't found.
- application/json
- Schema
- Example (from schema)
- Example
Schema
error stringrequired
The resource hasn't found.
message stringrequired
The resource hasn't found message.
{
"error": "string",
"message": "string"
}
{
"error": "ResourceNotFound",
"message": "The requested resource could not be found."
}
Loading...