Skip to Content

Public M2M API — dms

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/dms/documents

Exported methods: GET, POST

GET

  • Resource scopes: dms:read
  • Query parameters: category, folderId, limit, linkedEntityId, linkedEntityType, page, search, status
  • Shared pagination: Yes

POST

  • Resource scopes: dms:write
  • Explicit response statuses: 201, 400, 409, 422
  • Explicit error codes: create_failed, invalid_request, onboarding_incomplete
  • Response keys observed across outcomes: document, envelope

This source snapshot imports CreateEnvelopeSchema / CreateDmsDocumentSchema from a module that does not resolve or does not export it. The request payload and a working operation cannot be verified from this handler until the source contract is repaired; do not infer fields from a similarly named schema.

/api/v1/dms/documents/{id}

Exported methods: GET, PATCH, DELETE

GET

  • Resource scopes: dms:read
  • Path parameters: id
  • Response keys observed across outcomes: document

PATCH

  • Resource scopes: dms:write
  • Path parameters: id
  • Explicit response statuses: 422
  • Explicit error codes: invalid_request
  • Response keys observed across outcomes: document

Validated request fields

FieldTypeOptional/defaultedNullableAllowed literal valuesObserved literal constraints
categorystringYesNo—max(80)
descriptionstringYesYes—max(1000)
folderIdstringYesYes——
linkedEntityIdstringYesYes——
linkedEntityTypestringYesYes——
statusenumYesNodraft, active, archived—
tagsarrayYesNo——
titlestringYesNo—min(1), max(200)

DELETE

  • Resource scopes: dms:write
  • Path parameters: id
  • Response keys observed across outcomes: deleted, id

Request input was not extracted for this operation; consult its specific contract before sending. Do not infer that no body is required.