Skip to main content

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, with a public URL or a local file path. If you pass a URL, ensure that it is valid and public, otherwise error will be raised. Local files are base64-encoded into the request, so the total broadcast instance size (including attachments) must stay within the 800 KB limit.
🚧 A single broadcast instance size (including attachment) must not exceed 800KB (800 x 1024 bytes).