- Omni
- Document APIs
- Storage
- Category
- Document
- Sharing
Get Document
Developing
preprod
https://preprod.api.crego.io
preprod
https://preprod.api.crego.io
GET
/documents/{document_id}
Last modified:2025-05-30 08:22:31
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Path Params
document_id
stringÂ
required
Example:
01JW85PNEYERXA4TH2PSSKVKPH
Query Params
expand
stringÂ
optional
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://preprod.api.crego.io/documents/01JW85PNEYERXA4TH2PSSKVKPH'
Responses
🟢200Success
application/json
Body
id
stringÂ
required
category
stringÂ
required
tenant_id
stringÂ
required
created_by
stringÂ
required
updated_by
stringÂ
required
created_at
stringÂ
required
updated_at
stringÂ
required
tags
array[string]
required
name
stringÂ
required
path
stringÂ
required
description
stringÂ
required
expiry_date
stringÂ
required
is_encrypted
booleanÂ
required
refs
objectÂ
required
comment
stringÂ
required
storage
stringÂ
required
files
array [object {9}]Â
required
id
stringÂ
required
created_by
stringÂ
required
updated_by
stringÂ
required
created_at
stringÂ
required
updated_at
stringÂ
required
storage_key
stringÂ
required
file_name
stringÂ
required
file_extension
stringÂ
required
size
integerÂ
required
Example
{
"id": "01JPHBXZJ7N7G98MF1J10QC76W",
"category": "Volkman Jared",
"tenant_id": "4985deb5-2094-4bda-9cae-268e111b4a4e",
"created_by": "b415d54c-0105-4ea9-b155-d832f2bc289b",
"updated_by": "",
"created_at": "2025-03-17T11:46:20.822993Z",
"updated_at": "2025-03-17T11:46:20.823087Z",
"tags": [
"Agreement"
],
"name": "Enrique Greenholt",
"path": "boot/",
"description": "Ipsam tepesco textilis vere thalassinus adversus vetus. Decerno ut deinde calamitas desolo tutamen color comprehendo recusandae pecus. Armarium condico civitas. Usque pecco cubitum. Curtus triduana cultellus tolero ago viscus clam placeat fuga. Amplitudo celo vulnero denique distinctio vulgivagus. Tamdiu creator modi conforto utrum cupio. Amplus dolorem uxor voluptatum victus adimpleo aufero arbustum teneo.",
"expiry_date": "2025-12-08",
"is_encrypted": false,
"refs": {},
"comment": "Excepteur",
"storage": "01JPHBX1NWDN2ZZE3KMQKXZZM0",
"files": [
{
"id": "01JPHBYKKPSJEXAYXGDXED3850",
"created_by": "b415d54c-0105-4ea9-b155-d832f2bc289b",
"updated_by": "",
"created_at": "2025-03-17T11:46:41.342475Z",
"updated_at": "2025-03-17T11:46:41.342524Z",
"storage_key": "boot/1_-D6Ids2z9ebtz0_m9qeBBA.webp",
"file_name": "1_-D6Ids2z9ebtz0_m9qeBBA.webp",
"file_extension": ".webp",
"size": 32350
},
{
"id": "01JPHBYKW2BBPC43MNKR2XGD1S",
"created_by": "b415d54c-0105-4ea9-b155-d832f2bc289b",
"updated_by": "",
"created_at": "2025-03-17T11:46:41.602673Z",
"updated_at": "2025-03-17T11:46:41.602691Z",
"storage_key": "boot/Crego_APIs.openapi.json",
"file_name": "Crego_APIs.openapi.json",
"file_extension": ".json",
"size": 31393
},
{
"id": "01JPHBYMANHT9PNY0J0ZDKD0EX",
"created_by": "b415d54c-0105-4ea9-b155-d832f2bc289b",
"updated_by": "",
"created_at": "2025-03-17T11:46:42.069449Z",
"updated_at": "2025-03-17T11:46:42.069471Z",
"storage_key": "boot/EMI_Schedules_for_UI.xlsx",
"file_name": "EMI_Schedules_for_UI.xlsx",
"file_extension": ".xlsx",
"size": 12263
},
{
"id": "01JPHBYN52DY9005ET73DY6MS5",
"created_by": "b415d54c-0105-4ea9-b155-d832f2bc289b",
"updated_by": "",
"created_at": "2025-03-17T11:46:42.915401Z",
"updated_at": "2025-03-17T11:46:42.915428Z",
"storage_key": "boot/eSign_2.1_V_3.0.9+_with+signer+validation_.pdf",
"file_name": "eSign_2.1_V_3.0.9+_with+signer+validation_.pdf",
"file_extension": ".pdf",
"size": 949762
},
{
"id": "01JPHBYN7R7FWZWA200WKGEG3H",
"created_by": "b415d54c-0105-4ea9-b155-d832f2bc289b",
"updated_by": "",
"created_at": "2025-03-17T11:46:43.001278Z",
"updated_at": "2025-03-17T11:46:43.001300Z",
"storage_key": "boot/live-tail-results.csv",
"file_name": "live-tail-results.csv",
"file_extension": ".csv",
"size": 811
},
{
"id": "01JPHBYNHNP6YW06XD1Z1NBG91",
"created_by": "b415d54c-0105-4ea9-b155-d832f2bc289b",
"updated_by": "",
"created_at": "2025-03-17T11:46:43.318221Z",
"updated_at": "2025-03-17T11:46:43.318243Z",
"storage_key": "boot/session-la-gi__1_.jpg",
"file_name": "session-la-gi__1_.jpg",
"file_extension": ".jpg",
"size": 34264
},
{
"id": "01JPHBYNMGMFV2ZSSTBSK95HG4",
"created_by": "b415d54c-0105-4ea9-b155-d832f2bc289b",
"updated_by": "",
"created_at": "2025-03-17T11:46:43.409128Z",
"updated_at": "2025-03-17T11:46:43.409148Z",
"storage_key": "boot/session-la-gi.jpg",
"file_name": "session-la-gi.jpg",
"file_extension": ".jpg",
"size": 34264
},
{
"id": "01JPHBYNQ8G62XM1T40N514M9N",
"created_by": "b415d54c-0105-4ea9-b155-d832f2bc289b",
"updated_by": "",
"created_at": "2025-03-17T11:46:43.496996Z",
"updated_at": "2025-03-17T11:46:43.497010Z",
"storage_key": "boot/snappy-premise-452908-i2-fa0af2245bac.json",
"file_name": "snappy-premise-452908-i2-fa0af2245bac.json",
"file_extension": ".json",
"size": 2392
}
]
}