Get document by ID
GET/document/:document_id
Get a document
Request
Path Parameters
document_id stringrequired
objectId of contact
Header Parameters
x-api-token stringrequired
Example: opensign.xxxx
Responses
- 200
- 404
- 405
successful operation
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
code number
result
document
objectId string
Title string
Note string
Folder string
File string
Owner string
Signers
object[]
Name string
{
"code": 200,
"result": {
"objectId": "FGik23bhUJ",
"Title": "sample doc",
"Note": "please sign document",
"Folder": "OpenSign™ Drive",
"File": "https://exampleurl.com",
"Owner": "joe bee",
"Signers": [
{
"Name": "joe"
}
]
}
}
Document not found!
- application/json
- Schema
- Example (from schema)
Schema
code number
message string
{
"code": 404,
"message": "Document not found!"
}
Invalid API Token!
- application/json
- Schema
- Example (from schema)
Schema
code number
message string
{
"code": 405,
"message": "Invalid API token!"
}
Loading...