Pre-requisites
Create a list of users
Trigger broadcast
You can trigger broadcast using supr_client.subscriber_lists.broadcast() method.
Add file attachment (for email)
To add one or more attachments to a notification (viz. Email), call add_attachment() on broadcast instance for each attachment file. Ensure that attachment url is valid and public, otherwise error will be raised. Since broadcast instance size can’t be > 100 KB, local file paths can’t be passed in event attachment.
🚧 A single broadcast instance size (including attachment) must not exceed 100KB (100 x 1024 bytes).