Skip to main content
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

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 business linked to this record.
string
Filter by the display name value for this email account.
string
Filter by the email address value for this email account.
boolean
Filter by whether this email account is currently active.
boolean
Filter by whether send notification on new messages is enabled.
string
Filter by the notification email address value for this email account.
string
Filter by the incoming server value for this email account.
integer
Filter by the incoming server type value for this email account.
integer
Filter by the incoming server port value for this email account.
boolean
Filter by whether incoming server ssl is enabled.
string
Filter by the incoming server username value for this email account.
integer
Filter by the delete message settings value for this email account.
string
Filter by the outgoing server value for this email account.
integer
Filter by the outgoing server port value for this email account.
boolean
Filter by whether outgoing server ssl is enabled.
string
Filter by the outgoing server username value for this email account.
string
Filter by the reply to email value for this email account.
string
Filter by date/time value for last check time.
integer
Filter by iD of the last message associated with this record.
integer
Filter by the error count value for this email account.
string
Filter by the google access token value for this email account.
string
Filter by the office365 access token value for this email account.

Range Filters

integer
Filter by the incoming server port value for this email account greater than or equal to this value.
integer
Filter by the incoming server port value for this email account less than or equal to this value.
integer
Filter by the outgoing server port value for this email account greater than or equal to this value.
integer
Filter by the outgoing server port value for this email account less than or equal to this value.
string
Filter by date/time value for last check time greater than or equal to this value. Format: YYYY-MM-DDTHH:mm.
string
Filter by date/time value for last check time less than or equal to this value. Format: YYYY-MM-DDTHH:mm.
integer
Filter by iD of the last message associated with this record greater than or equal to this value.
integer
Filter by iD of the last message associated with this record less than or equal to this value.
integer
Filter by the error count value for this email account greater than or equal to this value.
integer
Filter by the error count value for this email account less than or equal to this value.
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 DisplayName

Range filters

Response

200

EmailAccount[]
The list of EmailAccount records matching the query. See the Get one EmailAccount endpoint for the full list of properties returned for each record.
Partial records — The listing endpoint returns a summary representation of each EmailAccount. The following fields are not populated in the Records[] response: SendNotificationOnNewMessages, NotificationEmailAddress, IncomingServer, IncomingServerType, IncomingServerPort, IncomingServerSSL, IncomingServerUsername, DeleteMessageSettings, OutgoingServer, OutgoingServerPort, OutgoingServerSSL, OutgoingServerUsername, ReplyToEmail, LastCheckTime, LastMessageId.To get all fields, fetch the full record using the Get one EmailAccount endpoint.Important for updates: When updating a record via PUT, always retrieve the full record with a GET request first, apply your changes to that complete data, and then send the updated record. Do not use data from a listing response as the base for a PUT request, as missing fields may be unintentionally cleared.
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