Broadcasts
Broadcasts v3 endpoints
A broadcast is a one-time email blast that can either be sent right away or scheduled for a future time and date.
List broadcasts
Returns a list of the broadcasts for your account.
Endpoint
GET /v3/broadcasts
Parameters
Your API secret key
The page of results being requested. Default value is 1
. Each page of results will contain up to 50 broadcasts.
Sort order for results (asc
or desc
). The default is asc
with the oldest first.
Create a broadcast
Create a draft or scheduled broadcast. You can create a draft broadcast without any attributes. Scheduled broadcasts at a minimum should contain a subject line and your content. Unless otherwise specified, new broadcasts will be sent from your account’s default email address and with your account’s default email template.
Endpoint
POST /v3/broadcasts
Parameters
Your API secret key
The broadcast’s email content - this can contain text and simple HTML markdown (such as h1
, img
or p
tags)
An internal description of this broadcast
Sending email address; leave blank to use your account’s default sending email address
Name of the email template to use; leave blank to use your account’s default email template
Specifies whether or not this is a public post
Specifies the time that this post was published (applicable only to public posts)
Time that this broadcast should be sent; leave blank to create a draft broadcast. If set to a future time, this is the time that the broadcast will be scheduled to send.
The broadcast email’s subject
Specify the ALT attribute of the public thumbnail image (applicable only to public posts)
Specify the URL of the thumbnail image to accompany the broadcast post (applicable only to public posts)
Retrieve a specific broadcast
Retrieve the details of a specific broadcast, including draft, scheduled, and previously-sent broadcasts.
Endpoint
GET /v3/broadcasts/#{broadcast_id}
Parameters
Your API secret key
The ID of the broadcast you want to retrieve
Get stats
Get the statistics (recipient count, open rate, click rate, unsubscribe count, total clicks, status, and send progress) for a specific broadcast.
Endpoint
GET /v3/broadcasts/#{broadcast_id}/stats
Parameters
Your API secret key
The ID of the broadcast you want to retrieve
Update a broadcast
Update the attributes of a specific broadcast. Broadcasts that are currently sending or that have been sent may not be updated.
Endpoint
PUT /v3/broadcasts/#{broadcast_id}
Parameters
Your API secret key
The ID of the broadcast you want to retrieve
The broadcast’s email HTML content
An internal description of this broadcast
Sending email address; leave blank to use your account’s default sending email address
Name of the email template to use; leave blank to use your account’s default email template
Specifies whether or not this is a public post
Specifies the time that this post was published (applicable only to public posts)
Time that this broadcast should be sent; leave blank to create a “draft” broadcast. If set to a future time, this is the time that the broadcast will be scheduled to send.
The broadcast’s email subject
Specify the ALT attribute of the public thumbnail image (applicable only to public posts)
Specify the URL of the thumbnail image to accompany the broadcast post (applicable only to public posts)
Destroy a broadcast
Permanently delete a draft or scheduled broadcast record. Broadcasts that are currently sending or that have been sent may not be deleted.
Endpoint
DELETE /v3/broadcasts/#{broadcast_id}
Parameters
Your API secret key
The ID of the broadcast you want to retrieve