v1
latestOpenAPI 3.1.02026-07-2617501.1 MBFetch a specific document using its ID (v2)
get/v2/documents/{id}
Path parameters
idinteger required
Specify the ID of the document that you want to fetch.
Response
200
Example response
{
"document": {
"id": 13992545,
"category": "notes_only",
"ref_no": "notes",
"doc_date": "2021-01-01",
"doc_fields": {
"notes": "notes"
},
"uploader": {
"id": 1044876,
"first_name": "John",
"last_name": "dOE",
"email": "john@email.com",
"role": "dispatcher"
},
"attachments": [
{
"id": 13992545,
"name": "attach1",
"public_url": "/url/to/the/document",
"doc_type": "jpeg",
"offline_id": "15429baa-abc4-4ed7-afa6-239db2fe01fe"
}
],
"created_at": "2021-10-14T22:22:11Z",
"updated_at": "2021-10-14T22:22:11.763061Z"
}
}