Get Document
GET/document/:document_id
The Get Document API enables you to retrieve details about a specific document.
Request
Path Parameters
document_id stringrequired
objectId of Document
Responses
- 200
- 400
- 404
- 405
successful operation
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
]
objectId string
file string
title string
note string
folder
object
objectId string
name string
owner string
signers
object[]
role string
name string
email string
phone string
widgets
object[]
type string
Allowed values - signature, stamp.
x number
y number
w number
h number
page number
sendInOrder boolean
createdAt date
updatedAt date
{
"objectId": "FGik23bhUJ",
"file": "https://exampleurl.com",
"title": "sample doc",
"note": "please sign document",
"folder": {
"objectId": "FGik23bhUJ",
"name": "folder name"
},
"owner": "joe bee",
"signers": [
{
"role": "ceo",
"name": "joe bee",
"email": "joebee@example.com",
"phone": "456213871",
"widgets": [
{
"type": "signature",
"x": 244,
"y": 71,
"w": 38,
"h": 46,
"page": 1
}
]
}
],
"sendInOrder": true,
"createdAt": "2023-10-07T16:49:56.000Z",
"updatedAt": "2023-10-07T16:49:56.000Z"
}
Something went wrong, please try again later!
- application/json
- Schema
- Example (from schema)
Schema
error string
{
"error": "Something went wrong, please try again later!"
}
Document not found!
- application/json
- Schema
- Example (from schema)
Schema
error string
{
"error": "Document not found!"
}
Invalid API Token!
- application/json
- Schema
- Example (from schema)
Schema
error string
{
"error": "Invalid API token!"
}
Loading...