Add Attachments

POST /esignglobal/v1/envelope/files/addAttachments

Interface Description

Developers can add attachments to an envelope only when its status is DRAFT.

Note:

  1. Before adding attachments, developers should call Upload Documents interface to get the attachment's fileKey.
  2. Attachments do not need to be signed, only as a reference in the envelope, such as recordings, videos, pictures, instructions, etc.

Request Parameters

Parameter

Type

Required

Description

envelopeId

string

true

Envelope ID

attachments

array

true

The information of the attachments.

The display order of the attachments is the order added.

 

fileKey

string

true

Attachment fileKey

Request Example

{
    "envelopeId":"flow1234567890",
    "attachments":[{
    "fileKey":"fileKey12345678901"
  }]
}

Responses

Parameter

Type

Description

code

int

Service Code

0 for success, non-0 for exception.

message

string

Service Message

data

object

Data Details

Response Example

{
    "code": "0",
    "message": "success",
    "data": null
}

 

 

Interface Description
Request Parameters
Request Example
Responses
Response Example