I’m building my own notification preference settings. I’d like to know how to override sending to a specific channel ignoring the “send to best of” configured in the designer.
I’ll only be using the “routing” object when the user has a preference, otherwise I’d like it continue using the Courier designer channels order shown in the screenshot.
Hi Alex, The routing strategy in the UI for best of would translate as single for the API invocation. Always send = all. The way best of routing works is Courier will send to the first configured channel in your notification and waterfall down to each channel if the profile information in the request is incomplete. You can override the strategy via the API, otherwise if you pass the template_id, Courier will respect the strategy you set in the UI.