Twilio calls a one-time, non-automated email message delivered to a list or segment of your audience a Single Send. You can send such messages immediately or scheduled for future delivery. Single Sends can deliver promotional offers, engagement campaigns, newsletters, announcements, legal notices, or policy updates. The Single Sends API lets you create, retrieve, update, delete, schedule, and search for Single Sends. Another API endpoint provides campaign statistics.
The SendGrid Knowledge Center explains the latest updates to the Single Sends API.
Operation overview
GET/v3/marketing/singlesends
Base url: https://api.sendgrid.com (The Twilio SendGrid v3 API)
This endpoint allows you to retrieve all your Single Sends.
Returns all of your Single Sends with condensed details about each, including the Single Sends' IDs. For more details about an individual Single Send, pass the Single Send's ID to the /marketing/singlesends/{id} endpoint.
What percentage of your recipient will be included in your A/B testing
durationstring
Optional
How long the A/B Testing will last
winning_template_idstring
Optional
Winner of the A/B Test
winner_selected_atstring or null
Optional
When the winner was selected
expiration_datestring or null
Optional
Last day to select an A/B Test Winner
statusenum<string>
Optional
current status of the Single Send
Possible values:
draftscheduledtriggered
categoriesarray[string]
unique
Optional
categories to associate with this Single Send
Max items: 10
send_atstring<date-time>
Optional
The ISO 8601 time at which to send the Single Send. This must be in future or the string now. SendGrid Mail Send emails can be scheduled up to 72 hours in advance. However, this scheduling constraint does not apply to emails sent via Marketing Campaigns.
is_abtestboolean
Optional
true if the Single Send's AB Test functionality has been toggled on
updated_atstring<date-time>
Optional
the ISO 8601 time at which the Single Send was last updated
created_atstring<date-time>
Optional
the ISO 8601 time at which the Single Send was created