Add document attachment
Changed onReuse an existing file and its bytes. Validate the complete resulting set, including inaccessible and quote mappings. Exclusive owners permit one mapping per file; ORDER/LOAD/SERVICE sharing requires one canonical shipment. Incompatible sets return 409 DOCUMENT_ATTACHMENT_COMBINATION_INVALID before relationship or signing writes. A separately requested duplicate target/file pair returns 409 DOCUMENT_ATTACHMENT_EXISTS. Additions to one file run one at a time; a concurrent addition returns 409 DOCUMENT_ATTACHMENT_BUSY. Retry it with backoff. Retry an unchanged request with the same Idempotency-Key to resume individually committed writes. A new LOAD/SERVICE RATE_CON mapping gets its own UPLOAD signing request, recorded SIGNED at creation.
Request
- Base URL: https://api.mvmnt.io/v1
- URL: https://api.mvmnt.io/v1/documents/{id}/attachments
- Auth: HTTP bearer
Path parameters
Resource ID (UUID) or client key
Query parameters
Specify lookup type for faster retrieval. If omitted, defaults to looking up by ID first, then falls back to client key if not found. Use by=key when you know you're providing a client key for best performance.
Request body
Response
Successful response
Changes
- info
endpoint added
- info