Jakob
Jakob
NNovu
Created by Jakob on 10/18/2024 in #💬│support
Triggering events on topics
No description
9 replies
NNovu
Created by Jakob on 10/18/2024 in #💬│support
Triggering events on topics
ok yes that will work from the Api docs themselves it was not clear that "to" can be a topic as the samples are all about subscriberId
9 replies
NNovu
Created by Jakob on 10/18/2024 in #💬│support
Triggering events on topics
how does this look like for when sending a event to a topic rather than the subscriber ID payload = { 'name' => 'Trigger1', 'payload' => { # optional 'first-name' => 'Adam' # optional }, 'to' => { 'subscriberId' => '7789' }, 'transactionId' => '89kjfke9893' #optional } client.trigger_event(payload)
9 replies