Crego APIs
APIs DocHome Page
Web Apps
  • Jupiter
  • Venus
APIs DocHome Page
Web Apps
  • Jupiter
  • Venus
  1. Document
  • Omni
  • Document APIs
  • Storage
    • Create Storage
      POST
    • Update Storage
      PATCH
    • List Storage
      GET
    • Get Storage
      GET
    • Test Credential
      GET
  • Category
    • Create Category
      POST
    • Update Category
      PATCH
    • List Category
      GET
    • Get Category
      GET
  • Document
    • Create Document
      POST
    • Update Document
      PATCH
    • List Document
      GET
    • Delete Document
      DELETE
    • Get Document
      GET
    • Upload Files
      POST
    • Downlaod Files
      GET
    • Delete File
      DELETE
    • Get all tags
      GET
    • Inactive
      PUT
    • Reject
      PUT
    • Approve
      PUT
  • Sharing
    • Share Document
      POST
    • Preview Shared Document
      GET
    • List Shared Documents
      GET
    • Get Shared Document
      GET
    • Update Shared Document
      PATCH
    • Delete Document Share
      DELETE
  1. Document

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
    }
  ]
}
Previous
Delete Document
Next
Upload Files
Built with