upload a document for did
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.
Type of the document
Binary content of the document.
An array of unique identifies of DIDs the document is uploaded for.
|HTTP Status Code||Error Description||Exception Class|
Bad request. The document cannot be uploaded.
curl -X POST \ --url 'https://api.wavix.com/v1/mydids/papers?appid=your-API-key' \ -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'