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

Applicant Pan , Aadhaar and Mobile

Developing
preprod
https://preprod.api.crego.io
preprod
https://preprod.api.crego.io
POST
/v1/rego/runners/{runner_id}/execute/
Last modified:2025-03-06 06:41:32

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params
runner_id
string 
required
Example:
{{runner_id}}
Body Params application/json
action
string 
required
data
object 
required
mobile
string 
required
pan_file
string 
required
aadhaar_file
string 
required
Example
{
    "action": "submit",
    "data": {
        "mobile": "7752179350",
        "pan_file": "539e20ea-ed8f-4c3e-aa54-6e263ae398d4",
        "aadhaar_file": "a58c2939-b089-42f8-8558-458f8adb7e03"
    }
}

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 POST 'https://preprod.api.crego.io/v1/rego/runners/{{runner_id}}/execute/' \
--header 'Content-Type: application/json' \
--data-raw '{
    "action": "submit",
    "data": {
        "mobile": "7752179350",
        "pan_file": "539e20ea-ed8f-4c3e-aa54-6e263ae398d4",
        "aadhaar_file": "a58c2939-b089-42f8-8558-458f8adb7e03"
    }
}'

Responses

🟢200Success
application/json
Body
id
string 
required
created_at
string 
required
updated_at
string 
required
created_by
string 
required
ref_id
string 
required
flow_id
string 
required
design_id
string 
required
params
object 
required
storage
object 
required
current_node
string 
required
store_id
string 
required
visited_nodes
object 
required
_cls
string 
required
store_info
object 
required
data
object 
required
_status_code
integer 
required
success
boolean 
required
message
string 
required
errors
array[string]
required
data
object 
required
node
object 
required
name
string 
required
type
string 
required
config
object 
required
navigations
array [object {2}] 
required
Example
{
    "id": "c4e312e9-0239-4d4e-ba4a-dd16321a0c21",
    "created_at": "2025-01-31T08:01:22.790000",
    "updated_at": "2025-01-31T08:23:57.017388",
    "created_by": "7880340889",
    "ref_id": "RUNNER-251-392",
    "flow_id": "264500a4-3873-4cb7-baf9-0a4656bff933",
    "design_id": "234ee7a1-6940-49f1-bd7e-d23f1b2625d0",
    "params": {
        "storage": {
            "vendor": "s3",
            "creds_key": "test_storage_s3_creds"
        }
    },
    "current_node": "applicant_extra_info",
    "store_id": "13d033c4-94bb-403b-a3dc-1ffcaabf728b",
    "visited_nodes": {
        "_cls": "Activity"
    },
    "store_info": {},
    "data": {
        "_status_code": 200,
        "success": true,
        "message": "",
        "errors": [],
        "data": {
            "applicationId": "KN_LEAD_IDfa3478650ce",
            "match_score": 0.0,
            "matched_data": {
                "name": [
                    "ashutoshsharma",
                    "No Match Found - 0"
                ],
                "dob": [
                    "2000",
                    "No Match Found - 0"
                ],
                "pob": [
                    "uttarpradesh",
                    "No Match Found - 0"
                ],
                "gender": [
                    "male",
                    "No Match Found - 0"
                ],
                "address": [
                    "35panchwaticolonykamtachinhatlucknowchinhatlucknowlucknowuttarpradesh226028",
                    "No Match Found - 0"
                ],
                "passportNo": [
                    "",
                    "No Match Found - 0"
                ],
                "emailAddress": [
                    "",
                    "No Match Found - 0"
                ],
                "identificationNo": [
                    "ldtps7688p",
                    "No Match Found - 0"
                ]
            }
        }
    },
    "node": {
        "name": "applicant_extra_info",
        "type": "web_form",
        "config": {
            "forms": [
                {
                    "action": "submit",
                    "schema": {
                        "type": "object",
                        "properties": {
                            "kyc": {
                                "type": "object",
                                "title": "KYC Details",
                                "properties": {
                                    "name": {
                                        "type": "string",
                                        "title": "Applicant name",
                                        "default": "Ashutosh Sharma"
                                    },
                                    "aadhaar_number": {
                                        "type": "string",
                                        "title": "Aadhaar Number",
                                        "default": "488791095216"
                                    },
                                    "selfie": {
                                        "type": "string",
                                        "title": "Selfie"
                                    },
                                    "additional_kyc_documents": {
                                        "type": "array",
                                        "title": "Additional KYC Documents",
                                        "items": {
                                            "type": "object",
                                            "properties": {
                                                "document_type": {
                                                    "type": "string",
                                                    "enum": [
                                                        "PAN",
                                                        "Aadhaar",
                                                        "Driving License",
                                                        "Voter ID",
                                                        "Other"
                                                    ],
                                                    "title": "Document Type"
                                                },
                                                "document": {
                                                    "type": "string",
                                                    "format": "document",
                                                    "title": "Document"
                                                }
                                            },
                                            "required": [
                                                "document_type",
                                                "document"
                                            ]
                                        }
                                    },
                                    "email": {
                                        "type": "string",
                                        "title": "Email",
                                        "format": "email",
                                        "default": ""
                                    },
                                    "address_from_aadhar": {
                                        "type": "object",
                                        "title": "Address from Aadhaar",
                                        "properties": {
                                            "address": {
                                                "type": "string",
                                                "title": "Residence Address",
                                                "description": "Address from Aadhaar",
                                                "default": "35,panchwati colony, kamta chinhat, Lucknow, ,, Chinhat, Lucknow, Lucknow, Uttar Pradesh, 226028"
                                            },
                                            "house_no": {
                                                "type": "string",
                                                "title": "House Number",
                                                "default": ""
                                            },
                                            "street": {
                                                "type": "string",
                                                "title": "Street",
                                                "default": ""
                                            },
                                            "postoffice": {
                                                "type": "string",
                                                "title": "Post Office",
                                                "default": ""
                                            },
                                            "state": {
                                                "type": "string",
                                                "title": "State",
                                                "default": "UTTAR PRADESH"
                                            },
                                            "city": {
                                                "type": "string",
                                                "title": "City",
                                                "default": "LUCKNOW"
                                            },
                                            "pincode": {
                                                "type": "string",
                                                "title": "Pincode",
                                                "default": "226028"
                                            }
                                        },
                                        "required": [
                                            "house_no",
                                            "street",
                                            "postoffice",
                                            "state",
                                            "pincode",
                                            "city"
                                        ]
                                    }
                                },
                                "required": [
                                    "email",
                                    "aadhaar_number",
                                    "address_from_aadhar"
                                ]
                            }
                        },
                        "required": [
                            "kyc"
                        ]
                    },
                    "ui": {
                        "kyc": {
                            "name": {
                                "ui:disabled": true
                            },
                            "additional_kyc_documents": {
                                "ui:widget": "list",
                                "items": {
                                    "document": {
                                        "ui:widget": "file"
                                    }
                                }
                            },
                            "address_from_aadhar": {
                                "address": {
                                    "ui:placeholder": "Enter your address here"
                                }
                            }
                        }
                    }
                }
            ]
        },
        "navigations": [
            {
                "action_name": "Applicant Information",
                "target_node": "applicant_pan_and_mobile"
            }
        ]
    }
}
Previous
Get Document
Next
Applicant Extraa Info
Built with