post
https://api.ext-sandbox.fourthline.com/v2/workflows//clients//data
Use this endpoint to upload or update a document for a client within a workflow. In this API, a document can be an identity document image, document video, selfie, selfie video, proof of residence, document to sign, or signed document. Supported file formats include images, videos, and PDF files.
Send a multipart/form-data request containing:
metadata: A JSON string containing document metadata. See the request body schema for details.file: The document file. The MIME type must match the file content and thetypespecified inmetadata.
Note:
-
You can upload only one file per request. The maximum supported file size is 200 MB.
-
For error responses, inspect the response body for additional details:
400Bad Request returns avalidationProblemDetailsobject, including an errors property that maps request fields to validation error messages.- All other error responses return a
problemDetailsobject containing type, title, status, and detail.