Skip to Content

Public M2M API — mail

Review the operation, its input and access requirements. Parameter names and enum values are protocol identifiers and must retain the exact spelling shown. Optional/defaulted input is marked as such; required fields nested beneath an optional object apply when that object is supplied. Only statically recognized literal constraints are shown; additional validation, conditional requirements and provider rules may apply.

Authentication and permissions · Requests, results and recovery

/api/v1/mail

Exported methods: GET, POST

GET

  • Resource scopes: domains:read
  • Response keys observed across outcomes: data, domains, migrations

POST

  • Resource scopes: domains:write
  • Explicit response statuses: 201, 422
  • Explicit error codes: invalid_request
  • Response keys observed across outcomes: action, id, ok, targetMailbox, tenantId, updatedAt

Validated request fields

FieldTypeOptional/defaultedNullableAllowed literal valuesObserved literal constraints
actionenumYesNocreate_migration, start_migration, cancel_migrationdefault("create_migration")
idstringYesNo——
sourceHoststringYesNo——
sourceUserstringYesNo——
targetMailboxstringYesNo—email()