curl --request GET \
--url http://localhost:8080/v1/users/me/notifications/preferences \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "unp_cq1234567890abcdef",
"user_id": "<string>",
"event_type": "<string>",
"channels": [
"email"
],
"config": {},
"enabled": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}Returns all notification preferences for the authenticated user.
curl --request GET \
--url http://localhost:8080/v1/users/me/notifications/preferences \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "unp_cq1234567890abcdef",
"user_id": "<string>",
"event_type": "<string>",
"channels": [
"email"
],
"config": {},
"enabled": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}