You must purchase additional email activity history to gain access to the Email Activity Feed API.
The Email Activity API allows you to query all of your stored messages, query individual messages, and download a CSV with data about the stored messages.
Once retrieved, you can inspect the data associated with your messages to better understand your mail send. For example, you may retrieve all bounced messages or all messages with the same subject line and search for commonalities among them.
See "Getting Started with the Email Activity Feed API" for help building queries and working with the API.
You can also work with email activity in the Activity section of the Twilio SendGrid App.
This is BETA functionality. You may not have access, and we reserve the right to change functionality without notice.
Filter all messages to search your Email Activity. All queries need to be URL encoded, and have this format:
encoded, this would look like this:
Filter by a specific email -
Filter by subject line -
Full list of basic query types and examples:
|Filter query||Unencoded Example (put this one into the try it out query - it'll automatically encode it for you)||Encoded Example (use this one in your code)|
|subject||subject="This is a subject test"||subject%22This%20is%20a%20subject%20test%22|
For information about building compound queries, and for the full query language functionality, see the query language reference.
Coming soon, example compound queries: limit + to email + date
- API Key
Use the query syntax to filter your email activity.default: None
The number of results to return.default: None
The 'From' email address used to deliver the message. This address should be a verified sender in your Twilio SendGrid account.default: format: email
A unique ID assigned to the message. This ID can be used to retrieve activity data for the specific message.
The email's subject line.
The intended recipient's email address.format: email
The message's status.Allowed Values: processed, delivered, not delivered
The number of times the message was opened.
The number of times links in the message were clicked.
A timestamp of the last event received for the specific message.