API query - Get a list of all emails (EMail Object Query) - Ideas - Salesforce Trailblazer Community
Trailblazer Community

All Ideas

Idea Details

Post an Idea
150  Points
Open
Idea has been posted. Give it an upvote or downvote.

API query - Get a list of all emails (EMail Object Query)

Connectors & API

We're looking for a feature to read all the emails through the api, so we will be able to create a report from Pardot emails using Pardot api. The problem is the "Email" object does not support "query" operator, thus we cannot access the emails and get the stat. We need to get all email ids (or add criteria such as created at sometime), so we would be able to use the email stats.
Example: By sending a Post (or GET) request to the below URL, we can the list of all the campaigns and their ids:
https://pi.pardot.com/api/campaign/version/3/do/query?user_key=<user_key>&api_key=<api_key>
But below would return "Invalid Action" error.
https://pi.pardot.com/api/email/version/3/do/query?user_key=<user_key>&api_key=<api_key>

Merge Idea · Flag

  • Upvotes
  • Downvotes

Ideas

Apps

from AppExchange

Help us to keep IdeaExchange clean by pointing out overlapping ideas. We'll investigate your suggestion and merge the ideas if it makes sense.



 

 

Thanks for your merge suggestion. We will review it shortly and merge the ideas if applicable.

Salesforce takes abuse situations very seriously. Examples of abuse include but are not limited to posting of offensive language or fraudulent statements. To help us process your request as quickly as possible, please fill out the form below describing the situation. For privacy and security reasons, the final outcome of an abuse case may not be revealed to the person who reported it.


 

Thank you for your feedback. We take abuse seriously and will investigate this issue and take appropriate action.