Modoboa · Schema

WritableAccount

Add support for aliases and sender addresses.

EmailMail ServerOpen SourceWebmailManagementCompany

Properties

Name Type Description
pk integer
username string
first_name string
last_name string
is_active boolean
mailbox object
role object
language object Prefered language to display pages. * `br` - breton * `cs` - čeština * `de` - deutsch * `en` - english * `el` - ελληνικά * `es` - español * `fi` - Suomalainen * `fr` - français * `it` - italiano * `ja
phone_number stringnull
secondary_email object An alternative e-mail address, can be used for recovery needs.
tfa_enabled boolean
totp_enabled boolean
webauthn_enabled boolean
date_joined string
last_login stringnull
password string
aliases array
View JSON Schema on GitHub

JSON Schema

modoboa-writable-account-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/modoboa/json-schema/modoboa-writable-account-schema.json",
  "title": "WritableAccount",
  "description": "Add support for aliases and sender addresses.",
  "x-generated": "2026-10-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/modoboa-openapi.json#/components/schemas/WritableAccount",
  "type": "object",
  "properties": {
    "pk": {
      "type": "integer",
      "readOnly": true,
      "title": "ID"
    },
    "username": {
      "type": "string",
      "maxLength": 254
    },
    "first_name": {
      "type": "string",
      "maxLength": 150
    },
    "last_name": {
      "type": "string",
      "maxLength": 150
    },
    "is_active": {
      "type": "boolean"
    },
    "mailbox": {
      "$ref": "#/$defs/Mailbox"
    },
    "role": {
      "$ref": "#/$defs/RoleEnum"
    },
    "language": {
      "allOf": [
        {
          "$ref": "#/$defs/LanguageEnum"
        }
      ],
      "description": "Prefered language to display pages.\n\n* `br` - breton\n* `cs` - čeština\n* `de` - deutsch\n* `en` - english\n* `el` - ελληνικά\n* `es` - español\n* `fi` - Suomalainen\n* `fr` - français\n* `it` - italiano\n* `ja` - 日本の\n* `nl` - nederlands\n* `pt` - português\n* `pt-br` - português (BR)\n* `pl` - polski\n* `ro` - Română\n* `ru` - русский\n* `sv` - svenska\n* `tr` - türk\n* `zh-hant` - 中文(台灣)"
    },
    "phone_number": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 128
    },
    "secondary_email": {
      "nullable": true,
      "description": "An alternative e-mail address, can be used for recovery needs.",
      "oneOf": [
        {
          "type": "string",
          "format": "email",
          "maxLength": 254
        },
        {
          "type": "string",
          "maxLength": 0
        }
      ]
    },
    "tfa_enabled": {
      "type": "boolean",
      "readOnly": true
    },
    "totp_enabled": {
      "type": "boolean"
    },
    "webauthn_enabled": {
      "type": "boolean"
    },
    "date_joined": {
      "type": "string",
      "format": "date-time"
    },
    "last_login": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "password": {
      "type": "string",
      "writeOnly": true
    },
    "aliases": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "email"
      }
    }
  },
  "required": [
    "pk",
    "role",
    "tfa_enabled",
    "username"
  ],
  "$defs": {
    "LanguageEnum": {
      "enum": [
        "br",
        "cs",
        "de",
        "en",
        "el",
        "es",
        "fi",
        "fr",
        "it",
        "ja",
        "nl",
        "pt",
        "pt-br",
        "pl",
        "ro",
        "ru",
        "sv",
        "tr",
        "zh-hant"
      ],
      "type": "string",
      "description": "* `br` - breton\n* `cs` - čeština\n* `de` - deutsch\n* `en` - english\n* `el` - ελληνικά\n* `es` - español\n* `fi` - Suomalainen\n* `fr` - français\n* `it` - italiano\n* `ja` - 日本の\n* `nl` - nederlands\n* `pt` - português\n* `pt-br` - português (BR)\n* `pl` - polski\n* `ro` - Română\n* `ru` - русский\n* `sv` - svenska\n* `tr` - türk\n* `zh-hant` - 中文(台灣)"
    },
    "Mailbox": {
      "type": "object",
      "description": "Base mailbox serializer.",
      "properties": {
        "pk": {
          "type": "integer",
          "readOnly": true,
          "title": "ID"
        },
        "full_address": {
          "type": "string",
          "format": "email"
        },
        "use_domain_quota": {
          "type": "boolean"
        },
        "quota": {
          "type": "string"
        },
        "message_limit": {
          "type": [
            "integer",
            "null"
          ],
          "maximum": 9223372036854775807,
          "minimum": 0,
          "format": "int64",
          "title": "Message sending limit",
          "description": "Number of messages this mailbox can send per day"
        },
        "quota_usage": {
          "type": "integer",
          "readOnly": true
        },
        "is_send_only": {
          "type": "boolean"
        },
        "sent_messages_in_percent": {
          "type": [
            "integer",
            "null"
          ],
          "description": "Return number of sent messages as a percentage.",
          "readOnly": true
        }
      },
      "required": [
        "full_address",
        "pk",
        "quota_usage",
        "sent_messages_in_percent"
      ]
    },
    "RoleEnum": {
      "enum": [
        "SimpleUsers",
        "DomainAdmins",
        "Resellers",
        "SuperAdmins"
      ],
      "type": "string",
      "description": "* `SimpleUsers` - Simple user\n* `DomainAdmins` - Domain administrator\n* `Resellers` - Reseller\n* `SuperAdmins` - Super administrator"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/modoboa-writable-account"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.