Get document list by doctype
GET/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
Query Parameters
limit number
Example: 10
skip number
Example: 0
Responses
- 200
- 404
- 405
successful operation
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
]
result
document[]
objectId string
Title string
Note string
Folder string
File string
Owner string
Signers
object[]
Name string
createdAt date
updatedAt date
{
"result": [
{
"objectId": "FGik23bhUJ",
"Title": "sample doc",
"Note": "please sign document",
"Folder": "OpenSign™ Drive",
"File": "https://exampleurl.com",
"Owner": "joe bee",
"Signers": [
{
"Name": "joe"
}
],
"createdAt": "2023-10-07T16:49:56.000Z",
"updatedAt": "2023-10-07T16:49:56.000Z"
}
]
}
Report not available!
- application/json
- Schema
- Example (from schema)
Schema
error string
{
"error": "Report not available!"
}
Invalid API Token!
- application/json
- Schema
- Example (from schema)
Schema
error string
{
"error": "Invalid API token!"
}
Loading...