sending schedule to multiple emails with API

  • 27 October 2021
  • 1 reply

Hi there,

I am trying to create a schedule that sends a dashboard to more than one email address. But I receive an error when I give two email addresses to the “address” param. here is my code:

does anyone know how I can pass multiple recipients to the schedule in python?

This topic has been closed for comments

1 reply

Hey Mehrnaz,


I did that using requests, not the SDK, but I guess that it’ll be the same. You need to duplicate all the destination plan configuration changing the email:

"scheduled_plan_destination":[{"format":"'+FORMAT+'","apply_formatting":"true","address":"","message":"'+MESSAGE+'","type": "email"},{"format":"'+FORMAT+'","apply_formatting":"true","address":"","message":"'+MESSAGE+'","type": "email"}]