Upload image attachment
Upload an image attachment
POST
https://api.complycube.com/v1/documents/:id/upload/:documentSide
Associates an image attachment to an existing document. The images must be either in JPG, PNG, or PDF format. Each side of the document must be between 34 KB and 4 MB.
Path Parameters
Name | Type | Description |
---|---|---|
documentSide | string | The side of document being attached. Valid values include:
1. |
id | string | The ID of the document. |
Headers
Name | Type | Description |
---|---|---|
Content-Type | string | The content-type must always be set to |
Authorization | string | The API |
Request Body
Name | Type | Description |
---|---|---|
fileName | string | The file name. It must end with |
data | string | The |
Example request
Last updated