EmailQueueItems
Search EmailQueueItems
Search and list EmailQueueItem records with filtering, sorting, and pagination.
GET
Search EmailQueueItems
An EmailQueueItem is a read-only outgoing email delivery record for a location, tracking its recipients, content, sender, attempts, and delivery result.
Authentication
This endpoint requires OAuth2 authentication. Include a valid bearer token in the
Authorization header.
The authenticated user must be a full unrestricted administrator or have the EmailQueueItem-List role.Query Parameters
Pagination & Sorting
integer
default:"1"
The page number to retrieve.
integer
default:"25"
The number of records per page.
string
The property name to sort results by (e.g.
Name, CreatedOn).integer
Sort direction.
0 for ascending, 1 for descending.Filters
integer
Filter by iD of the location that owns this queued email..
integer
Filter by optional ID of the email account whose outgoing server and sender details are used instead of the location’s default email settings..
integer
Filter by optional ID of the staff user recorded as the sender of this email..
string
Filter by email subject line, limited to 1,024 characters..
string
Filter by localized HTML content sent as the email body..
string
Filter by optional reply-to email address; when empty, the selected email account or location email settings provide it..
string
Filter by required recipient email addresses, separated with semicolons..
string
Filter by optional carbon-copy recipient email addresses, separated with semicolons..
string
Filter by optional blind-carbon-copy recipient email addresses, separated with semicolons..
boolean
Filter by whether the system has completed a send attempt; this can be true even when Delivered is false..
integer
Filter by number of send attempts made by the email delivery process; retrying through the queue command resets it to zero..
boolean
Filter by whether the most recent send attempt was accepted successfully by the email delivery process..
string
Filter by most recently recorded delivery error, including provider-reported bounces; empty when no error is currently recorded..
string
Filter by uTC date and time when the system last completed a send attempt; empty until an attempt is made..
boolean
Filter by internal queue-processing flag managed by the email delivery system and retry command..
string
Filter by optional sender display name that overrides the selected email account or location email settings..
Range Filters
integer
Filter by number of send attempts made by the email delivery process; retrying through the queue command resets it to zero. greater than or equal to this value.
integer
Filter by number of send attempts made by the email delivery process; retrying through the queue command resets it to zero. less than or equal to this value.
string
Filter by uTC date and time when the system last completed a send attempt; empty until an attempt is made. greater than or equal to this value. Format:
YYYY-MM-DDTHH:mm.string
Filter by uTC date and time when the system last completed a send attempt; empty until an attempt is made. less than or equal to this value. Format:
YYYY-MM-DDTHH:mm.string
Filter records created on or after this date. Format:
YYYY-MM-DDTHH:mm.string
Filter records created on or before this date. Format:
YYYY-MM-DDTHH:mm.string
Filter records updated on or after this date. Format:
YYYY-MM-DDTHH:mm.string
Filter records updated on or before this date. Format:
YYYY-MM-DDTHH:mm.Code Examples
Simple listing
Filtering by ToEmails
Range filters
Response
200
EmailQueueItem[]
The list of EmailQueueItem records matching the query. See the Get one EmailQueueItem endpoint for the full list of properties returned for each record.
integer
Current page number.
integer
Number of records per page.
string
The field used for sorting.
integer
The sort direction (
0 = ascending, 1 = descending).integer
Index of the first item on the current page.
integer
Index of the last item on the current page.
integer
Total number of matching records across all pages.
integer
Total number of pages.
boolean
Whether there is a next page of results.
boolean
Whether there is a previous page of results.
Example Response