EmailAccounts
Search EmailAccounts
Search and list EmailAccount records with filtering, sorting, and pagination.
GET
Search EmailAccounts
An EmailAccount configures an incoming email connection (IMAP) used to receive messages for the help desk or other automated workflows. Each account specifies server connection details, credentials, and message handling policies.
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 EmailAccount-List role.Enums
eEmailServerType — IncomingServerType values
eEmailServerType — IncomingServerType values
| Value | Name |
|---|---|
| 1 | Imap |
eMessageDeletionPolicy — DeleteMessageSettings values
eMessageDeletionPolicy — DeleteMessageSettings values
| Value | Name |
|---|---|
| 1 | DontDelete |
| 2 | DeleteOnReceive |
| 3 | DeleteWhenDeleting |
Query Parameters
Pagination & Sorting
The page number to retrieve.
The number of records per page.
The property name to sort results by (e.g.
Name, CreatedOn).Sort direction.
0 for ascending, 1 for descending.Filters
Filter by iD of the business linked to this record.
Filter by the display name value for this email account.
Filter by the email address value for this email account.
Filter by whether this email account is currently active.
Filter by whether send notification on new messages is enabled.
Filter by the notification email address value for this email account.
Filter by the incoming server value for this email account.
Filter by the incoming server type value for this email account.
Filter by the incoming server port value for this email account.
Filter by whether incoming server ssl is enabled.
Filter by the incoming server username value for this email account.
Filter by the delete message settings value for this email account.
Filter by the outgoing server value for this email account.
Filter by the outgoing server port value for this email account.
Filter by whether outgoing server ssl is enabled.
Filter by the outgoing server username value for this email account.
Filter by the reply to email value for this email account.
Filter by date/time value for last check time.
Filter by iD of the last message associated with this record.
Filter by the error count value for this email account.
Filter by the google access token value for this email account.
Filter by the office365 access token value for this email account.
Range Filters
Filter by the incoming server port value for this email account greater than or equal to this value.
Filter by the incoming server port value for this email account less than or equal to this value.
Filter by the outgoing server port value for this email account greater than or equal to this value.
Filter by the outgoing server port value for this email account less than or equal to this value.
Filter by date/time value for last check time greater than or equal to this value. Format:
YYYY-MM-DDTHH:mm.Filter by date/time value for last check time less than or equal to this value. Format:
YYYY-MM-DDTHH:mm.Filter by iD of the last message associated with this record greater than or equal to this value.
Filter by iD of the last message associated with this record less than or equal to this value.
Filter by the error count value for this email account greater than or equal to this value.
Filter by the error count value for this email account less than or equal to this value.
Filter records created on or after this date. Format:
YYYY-MM-DDTHH:mm.Filter records created on or before this date. Format:
YYYY-MM-DDTHH:mm.Filter records updated on or after this date. Format:
YYYY-MM-DDTHH:mm.Filter records updated on or before this date. Format:
YYYY-MM-DDTHH:mm.Code Examples
Simple listing
Filtering by DisplayName
Range filters
Response
200
The list of EmailAccount records matching the query. See the Get one EmailAccount endpoint for the full list of properties returned for each record.
Current page number.
Number of records per page.
The field used for sorting.
The sort direction (
0 = ascending, 1 = descending).Index of the first item on the current page.
Index of the last item on the current page.
Total number of matching records across all pages.
Total number of pages.
Whether there is a next page of results.
Whether there is a previous page of results.
Example Response
Search EmailAccounts