getEmailAccounts

This call is deprecated. Using Erply as an email client is no longer supported.

Returns the list of configured email accounts and the access credentials for each account.

Input parameters

Parameter name Description Possible value Required
userID Get email accounts for a specific user. integer
emailAccountID Get a specific email account by ID. integer
changedSince Retrieve only items that have been added or modified since the specified timestamp. Use it to keep a local database in sync with Erply. Integer (Unix timestamp)
recordsOnPage Number of records API should return. By default 20, at most 100. integer
pageNo API returns at most recordsOnPage items at a time. To retrieve the next recordsOnPage items, send a new request with pageNo incremented by one. By default, API returns "page 1". integer

Response

Field name Type Description
emailAccountID integer
userID integer
server string
port integer
username string
password string
useSSL Integer (0 or 1)
active Integer (0 or 1)
smtpServer string
smtpPort integer
smtpUsername string
smtpPassword string
smtpUseSSL Integer (0 or 1)
downloadEmailsSinceDate Date (yyyy-mm-dd)
added integer Unix timestamp. Creation time.
lastModified integer Unix timestamp. Last modification time.