Query

GET https://{{domain}}/api/v5/objects/list-emails?fields=id,name,subject,campaignId,isPaused,isSent,isDeleted,replyToOptions.type,replyToOptions.address,replyToOptions.userId,replyToOptions.prospectCustomFieldId,replyToOptions.accountCustomFieldId,senderOptions.type,senderOptions.address,senderOptions.name,senderOptions.userId,senderOptions.prospectCustomFieldId,senderOptions.accountCustomFieldId,clientType,createdById,updatedById,createdAt,updatedAt,sentAt,operationalEmail,trackerDomainId,emailTemplateId

Request Params

KeyDatatypeRequiredDescription
fieldsstring(required) ListEmail fields to return
deletedbooleanboolean - return deleted records
limitnumberinteger - the number of records to return. This value must be between 1 and 1000, inclusive. Default value is 200.
nextPageTokenstringthe server provided value to retrieve the next page
idnullOptional Integer Filter - filters the result by the id field
idGreaterThannullOptional Integer Filter - filters the result by the id field
idGreaterThanOrEqualTonullOptional Integer Filter - filters the result by the id field
idLessThannullOptional Integer Filter - filters the result by the id field
idLessThanOrEqualTonullOptional Integer Filter - filters the result by the id field
createdAtstringOptional DateTime Filter using createdAt field
createdAtBeforestringOptional DateTime Filter using createdAt field
createdAtBeforeOrEqualTostringOptional DateTime Filter using createdAt field
createdAtAfterstringOptional DateTime Filter using createdAt field
createdAtAfterOrEqualTostringOptional DateTime Filter using createdAt field
updatedAtstringOptional DateTime Filter using updatedAt field
updatedAtBeforestringOptional DateTime Filter using updatedAt field
updatedAtBeforeOrEqualTostringOptional DateTime Filter using updatedAt field
updatedAtAfterstringOptional DateTime Filter using updatedAt field
updatedAtAfterOrEqualTostringOptional DateTime Filter using updatedAt field
sentAtstringOptional DateTime Filter using sentAt field
sentAtBeforestringOptional DateTime Filter using sentAt field
sentAtBeforeOrEqualTostringOptional DateTime Filter using sentAt field
sentAtAfterstringOptional DateTime Filter using sentAt field
sentAtAfterOrEqualTostringOptional DateTime Filter using sentAt field
orderBystringstring - Order Results By: id, createdAt, updatedAt, sentAt

HEADERS

KeyDatatypeRequiredDescription
Pardot-Business-Unit-Idstring
If-Modified-Sincestring