Skip to content

Get Notification Settings by Admin

GET
/admin/user/{userid}/notification-settings

Retrieve the notification settings for a specific user based on their user ID and type.

userid
required
string

User ID to fetch notification settings for

userType
required
string

User type (e.g., HYG, DNT)

Notification settings for the specified user

Array<object>

Response showing current notification settings for a specific event.

object
email
required
boolean
event
string
OFFICE_EVENT_OFFER_RECEIVED
push
required
boolean
true
text
required
boolean
true

Bad Request: missing user type or invalid data

object
error
string
some meaningful error message

Unauthorized: user is not authenticated or authorized

object
error
string
some meaningful error message

Internal Server Error: failed to retrieve settings

object
error
string
some meaningful error message