Subscribers
Get subscriber preferences by level
GET
/
v1
/
subscribers
/
{subscriberId}
/
preferences
/
{level}
Authorization
Path
curl --request GET \
--url https://api.novu.co/v1/subscribers/{subscriberId}/preferences/{level} \
--header 'Authorization: <authorization>'
{
"data": [
{
"preference": {
"channels": {},
"enabled": true
},
"template": {
"_id": "<string>",
"critical": true,
"name": "<string>"
}
}
]
}
Enter your API key in the Authorization
field like the example shown below:
E.g ApiKey 18d2e625f05d80e
Authorizations
Authorization
string
headerrequiredPath Parameters
level
string
requiredsubscriberId
string
requiredResponse
200 - application/json
data
object[]
Was this page helpful?
curl --request GET \
--url https://api.novu.co/v1/subscribers/{subscriberId}/preferences/{level} \
--header 'Authorization: <authorization>'
{
"data": [
{
"preference": {
"channels": {},
"enabled": true
},
"template": {
"_id": "<string>",
"critical": true,
"name": "<string>"
}
}
]
}