Document AI — DMS

Create document type

Create account document type. POST /documents/document-types-create with name, source_locale, optional retention_years and retention_mode.

post/documents/document-types-create

Request

  • Base URL: https://api.paperoffice.ai/latest
  • URL: https://api.paperoffice.ai/latest/documents/document-types-create
  • Auth: HTTP bearer

Request body

namestring required

Display name of the document type.

source_localestring required

Source locale for type labels (e.g. de-DE).

retention_yearsinteger

Retention period in years (GoBD/compliance workflows).

retention_mode'none' | 'compliance'

Retention policy: none or compliance (WORM-style).

Response

Success

status'success' required
_billingobject

Changes

No recorded changes to this operation across all 1 revision of this API.