You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the documentation about the "to" has two issues:
It doesn't really tell that lists are allowed since to types are "just" object or string, but not object[] and string
It is faulty about how to specify subscribers with type 3, where it claims to require a "topicKey"
Instead it must be "subscriberId"
For example, in my case the correct usage would be:
But by folllowing the documentation, I'ld neither know that I can apply a list here, nor that I must pass "subscriberId": "my_id" instead of "topicKey": "my_id".
Context 🔦
No response
The text was updated successfully, but these errors were encountered:
Duplicates
Related page
https://docs.novu.co/api-reference/events/trigger-event
Kind of issue
Unclear explanations
Issue description
I think the documentation about the
"to"
has two issues:object
orstring
, but notobject[]
andstring
"topicKey"
Instead it must be
"subscriberId"
For example, in my case the correct usage would be:
But by folllowing the documentation, I'ld neither know that I can apply a list here, nor that I must pass
"subscriberId": "my_id"
instead of"topicKey": "my_id"
.Context 🔦
No response
The text was updated successfully, but these errors were encountered: