Crego APIs
APIs DocHome Page
Web Apps
  • Jupiter
  • Venus
APIs DocHome Page
Web Apps
  • Jupiter
  • Venus
  1. APIs Doc
  • Back to home
  • Sample Flow
  • Send Otp
    POST
  • Submit Otp
    POST
  • Create Runner
    POST
  • PAN or GST
    POST
  • Business Info
    POST
  • Shareholders
    POST
  • Business Extraa Info
    POST
  • Business Assest Detail
    POST
  • Applicant List
    GET
  • Submit Application
    POST
  • Set Current Applicant
    POST
  • Document upload
    POST
  • Get Document
    GET
  • Applicant Pan , Aadhaar and Mobile
    POST
  • Applicant Extraa Info
    POST
  • Applicant Bank Details
    POST
  • Signing Form
    POST
  1. APIs Doc

Get Document

Developing
preprod
https://preprod.api.crego.io
preprod
https://preprod.api.crego.io
GET
/v1/rego/documents/{document_id}/
Last modified:2025-03-06 06:39:07

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:
{{storage:document_id}}

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 -g --request GET 'https://preprod.api.crego.io/v1/rego/documents/{{storage:document_id}}/'

Responses

🟢200Success
application/json
Body
id
string 
required
created_at
string 
required
created_by
string 
required
vendor
string 
required
secret
string 
required
identifier
string 
required
files
array [object {4}] 
required
id
string 
optional
file_name
string 
optional
mime_type
string 
optional
uploaded_at
integer 
optional
is_public
boolean 
required
path
null 
required
Example
{
    "id": "a58c2939-b089-42f8-8558-458f8adb7e03",
    "created_at": "2025-03-06T06:38:05.897000",
    "created_by": "b415d54c-0105-4ea9-b155-d832f2bc289b",
    "vendor": "s3",
    "secret": "2b7dcd29-3b17-4669-9b41-e04b69c3dff8",
    "identifier": "610c903e-3d02-473f-b9a7-6c647718e30d",
    "files": [
        {
            "id": "7e691884-e4a4-4b21-b8d9-3791c1aeeaaa",
            "file_name": "image-22dd48f9-ec73-412d-8036-9779c33aa02e(1)_a0725e34-f57c-4ac8-a8c2-99f51d44dedd.jpg",
            "mime_type": "image/jpeg",
            "uploaded_at": 1741243085
        }
    ],
    "is_public": false,
    "path": null
}
Previous
Document upload
Next
Applicant Pan , Aadhaar and Mobile
Built with