Get document list by doctype
POST/documentlist/:doctype
Document Types:
Retrieve a list of documents based on type
-
Draft Documents:
- Documents that are currently in draft status.
-
Signature Requests:
- Documents that require the your signature.
-
In-Progress Documents:
- Documents that are currently in progress.
-
Completed Documents:
- Documents that have been successfully completed with all required signatures.
-
Expired Documents:
- Documents that have expired and are no longer accessible.
-
Declined Documents:
- Documents that have been declined by the user.
Request
Path Parameters
doctype stringrequired
Possible values: [draftdocuments, signaturerequest, inprogressdocuments, completedocuments, expiredocuments, declinedocuments]
The type of documents to retrieve
Header Parameters
x-api-token stringrequired
Example: opensign.xxxx
- application/json
Body
limit number
skip number
Responses
- 200
- 404
- 405
successful operation
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
]
objectId string
Title string
Note string
Folder string
File string
Owner string
Signers
object[]
Name string
[
{
"objectId": "FGik23bhUJ",
"Title": "sample doc",
"Note": "please sign document",
"Folder": "OpenSign™ Drive",
"File": "https://exampleurl.com",
"Owner": "joe bee",
"Signers": [
{
"Name": "joe"
}
]
}
]
Report not available!
- application/json
- Schema
- Example (from schema)
Schema
code number
message string
{
"code": 404,
"message": "Report not available!"
}
Invalid API Token!
- application/json
- Schema
- Example (from schema)
Schema
code number
message string
{
"code": 405,
"message": "Invalid API token!"
}
Loading...