N
Novu15mo ago
Pawan Jain

get info whether credentials are stored or not

we are using python sdk and self hosted novu, is there away to pull updated subscriber specific credentials. For slack integration novu will manage updating credentials but how can application know that its updated. by @prathap_14114
8 Replies
Pawan Jain
Pawan JainOP15mo ago
Hi @prathap_14114 you can call this API equivalent https://docs.novu.co/api/get-subscriber/ in python sdk before triggering to subscriber
Prathap Belli
Prathap Belli15mo ago
Hi @Pawan Jain , Yes I tried, there is a subscriber.get() api it gives us other information like firstname, lastname, email etc but not credentials. we have subscriber.credentials api which is PUT api we can use it for update the subscriber credentials.
Pawan Jain
Pawan JainOP15mo ago
As python sdk is community maintained sdk I feel there is some issue in python sdk subscriber.get() method dto because subscriber.get() is using this api https://docs.novu.co/api/get-subscriber/ and it should return credentials info as well Can you please create a bug on python repo please? https://github.com/novuhq/novu-python/issues/new?assignees=&labels=&projects=&template=bug_report.md&title=
Prathap Belli
Prathap Belli15mo ago
Oh yes, its missing in subscriberDto, Yea will create bug report there, Thanks
Novu_Bot
Novu_Bot15mo ago
@prathap_14114, you just advanced to level 3!
Pawan Jain
Pawan JainOP15mo ago
Thanks
Prathap Belli
Prathap Belli15mo ago
GitHub
SubscriberApi. get() not returning credentials, field is missing i...
we are using python sdk and self hosted novu, we have api for updating subscriber credentials but we don't have api to get those updated credentials info whether credentials are stored or not. ...
Pawan Jain
Pawan JainOP15mo ago
Thanks Prathap 🙏🏻
Want results from more Discord servers?
Add your server