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