Giøn
Giøn
NNovu
Created by Giøn on 6/18/2024 in #💬│support
Cannot get global preference for a subscriber (status: 400)
If I try to use the endpoint https://api.novu.co/v1/subscribers/{subscriberId}/preferences/global (so with the level set to global), I get back 400 and the following message:
{
"message": [
"level must be one of the following values: global, template"
],
"error": "Bad Request",
"statusCode": 400
}
{
"message": [
"level must be one of the following values: global, template"
],
"error": "Bad Request",
"statusCode": 400
}
This happen also with the client on https://docs.novu.co/api-reference/subscribers/get-subscriber-global-preferences The api key I'm using and the subscriber IDs are both valid. --- EDIT I get the same response also when using level template
9 replies
NNovu
Created by Giøn on 2/22/2024 in #💬│support
Sending a chat message using GetStream
Hello, how can I use Stream to send a chat message to a subscriber? I see that stream has been added as a provider ( https://github.com/novuhq/novu/issues/4679 ). I've already set it up in my integrations store, but I can't find any guide/example on how to use it. The integration points to https://getstream.io/chat/docs/node/?language=javascript but it's not really helpful. Thanks!
4 replies