v51

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-01960201.2 KB
App Passwords

Create App Password

Using this endpoint you can create a new app password for a specific mailbox.

post/api/v1/add/app-passwd

Request body

activeboolean

is alias active or not

usernamestring

mailbox for which the app password should be created

app_namestring

name of your app password

app_passwdstring

your app password

app_passwd2string

your app password

Example request

{
  "active": "1",
  "username": "info@domain.tld",
  "app_name": "wordpress",
  "app_passwd": "keyleudecticidechothistishownsan31",
  "app_passwd2": "keyleudecticidechothistishownsan31",
  "protocols": [
    "imap_access",
    "dav_access",
    "smtp_access",
    "eas_access",
    "pop3_access",
    "sieve_access"
  ]
}

Response

OK

type'success' | 'danger' | 'error'