Use this method to upload a document for a DID(s) to the platform. Files must meet the following requirements: (1) File format must be only png, jpg, jpeg, tiff, bmp, or pdf. (2) File size must be 10MB or less. (3) Files cannot be password protected. (4) PDF files cannot have a digital signature.
This endpoint requires authentication.
POST /mydids/papers
Void
HTTP Status Code | Error Description | Exception Class |
---|---|---|
400 | Bad request. The document cannot be uploaded. |
|
curl -X POST \
--url 'https://api.wavix.com/v1/mydids/papers?appid=appid' \
-H 'Content-Type: application/x-www-form-urlencoded'\
-d 'doc_id=1' \
-d 'doc_attachment=%7B%22key1%22%3A%22val1%22%2C%22key2%22%3A%22val2%22%7D' \
-d 'did_ids=did_ids4'