Add Documents

POST /esignglobal/v1/envelope/files/addSignFiles

Interface Description

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

Note:

Before adding documents, developers should call Upload Documents interface to get the document's fileKey.

Request Parameters

Parameter

Type

Required

Description

envelopeId

string

true

Envelope ID

signFiles

array

true

The information of the documents that need to be signed.

The display order of the documents is the order added.

 

fileKey

string

true

Document fileKey

Request Example

{   
  "envelopeId": "9fbe6c8190824227bde29136b0145c81",
  "signFiles": [
  {
    "fileKey": "4150a67c-d4f0-45e6-88e9-541ce6d0c73c"
  }
]
}

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