Upload attachment or external documents

URL

Method

POST

Request URL

/api/v1/envelope/attachment

Headers

authorization(require)

Bearer “token” – token, which get after Authorization

Mailbox(require)

mailboxUuid: mailbox id

Content-Type

application/json

REQUEST

file

string($binary)

For add file to document, customer should upload this file in binary format to our system by request above. In response on this request customer got data which he should use in envelope for add this file in document in the appropriate field.

RESPONSE

{
  "attachmentId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "filename": "string",
  "filesize": 0
}