- Send OtpPOST
- Submit OtpPOST
- Create RunnerPOST
- PAN or GSTPOST
- Business InfoPOST
- ShareholdersPOST
- Business Extraa InfoPOST
- Business Assest DetailPOST
- Applicant ListGET
- Submit ApplicationPOST
- Set Current ApplicantPOST
- Document uploadPOST
- Get DocumentGET
- Applicant Pan , Aadhaar and MobilePOST
- Applicant Extraa InfoPOST
- Applicant Bank DetailsPOST
- Signing FormPOST
Applicant Extraa Info
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 07:04:59
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
kyc
object
required
Example
{
"action": "submit",
"data": {
"kyc": {
"name": "Ashutosh Sharma",
"additional_kyc_documents": [
{
"document_type": "Other",
"document": "0662dfff-5cc6-4585-b66c-74c6c98d06ac"
}
],
"email": "Chester_Robel23@gmail.com",
"address_from_aadhar": {
"address": "35 panchwati colony kamta chinhat Lucknow Chinhat Lucknow Lucknow Uttar Pradesh",
"house_no": "35",
"street": "panchwati colony",
"postoffice": "kamta",
"state": "Uttar Pradesh",
"city": "Lucknow",
"pincode": "226028"
}
}
}
}
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": {
"kyc": {
"name": "Ashutosh Sharma",
"additional_kyc_documents": [
{
"document_type": "Other",
"document": "0662dfff-5cc6-4585-b66c-74c6c98d06ac"
}
],
"email": "Chester_Robel23@gmail.com",
"address_from_aadhar": {
"address": "35 panchwati colony kamta chinhat Lucknow Chinhat Lucknow Lucknow Uttar Pradesh",
"house_no": "35",
"street": "panchwati colony",
"postoffice": "kamta",
"state": "Uttar Pradesh",
"city": "Lucknow",
"pincode": "226028"
}
}
}
}'
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
kyc
object
required
node
object
required
name
string
required
type
string
required
config
object
required
navigations
array [object {2}]
required
Example
{
"id": "c296a37d-f11d-4d32-bff8-5824a1af5ed9",
"created_at": "2025-03-05T13:38:23.683000",
"updated_at": "2025-03-06T07:05:40.143324",
"created_by": "7880340889",
"ref_id": "RUNNER-253-647",
"flow_id": "264500a4-3873-4cb7-baf9-0a4656bff933",
"design_id": "234ee7a1-6940-49f1-bd7e-d23f1b2625d0",
"params": {
"storage": {
"vendor": "${SECRET.storage.vendor}",
"creds_key": "test_storage_s3_creds"
}
},
"current_node": "applicant_bank_details",
"store_id": "52bcdaf3-6e98-4647-9eb3-acac6dd1d516",
"visited_nodes": {
"_cls": "Activity"
},
"store_info": {},
"data": {
"kyc": {
"name": "Ashutosh Sharma",
"additional_kyc_documents": [
{
"document_type": "Other",
"document": "0662dfff-5cc6-4585-b66c-74c6c98d06ac"
}
],
"email": "Chester_Robel23@gmail.com",
"address_from_aadhar": {
"address": "35 panchwati colony kamta chinhat Lucknow Chinhat Lucknow Lucknow Uttar Pradesh",
"house_no": "35",
"street": "panchwati colony",
"postoffice": "kamta",
"state": "Uttar Pradesh",
"city": "Lucknow",
"pincode": "226028"
}
}
},
"node": {
"name": "applicant_bank_details",
"type": "web_form",
"config": {
"forms": [
{
"action": "submit",
"form_data": {
"bank_details": ""
},
"schema": {
"type": "object",
"properties": {
"bank_details": {
"type": "array",
"title": "Bank Details",
"items": {
"type": "object",
"properties": {
"account_holder_name": {
"type": "string",
"title": "Account Holder Name"
},
"account_number": {
"type": "string",
"title": "Account Number"
},
"ifsc": {
"type": "string",
"title": "IFSC Code"
},
"bank_name": {
"type": "string",
"title": "Bank Name"
},
"branch_name": {
"type": "string",
"title": "Branch Name"
},
"tags": {
"type": "array",
"title": "Tags",
"items": {
"type": "string",
"enum": [
"mandate",
"disbursement",
"bank analysis"
]
},
"uniqueItems": true
},
"upload": {
"type": "object",
"title": "Upload Document",
"properties": {
"document_type": {
"type": "string",
"enum": [
"Bank Statement",
"Cancelled Cheque"
]
},
"file": {
"type": "string",
"format": "document"
},
"password": {
"type": "string",
"title": "Password",
"description": "if protected"
}
},
"dependencies": {
"document_type": {
"oneOf": [
{
"properties": {
"document_type": {
"const": "Bank Statement"
},
"months": {
"type": "string",
"enum": [
"1",
"3",
"6",
"12"
],
"default": "1"
}
},
"required": [
"months"
]
},
{
"properties": {
"document_type": {
"not": {
"const": "Bank Statement"
}
},
"months": false
}
}
]
}
}
}
},
"required": [
"account_number",
"ifsc",
"bank_name",
"branch_name"
]
}
}
}
},
"ui": {
"bank_details": {
"ui:widget": "list",
"ui:config": {
"can_add": true,
"can_edit": true,
"can_delete": true,
"items": [
{
"type": "tag",
"tag": "h5",
"value": "bank_name"
},
{
"type": "badges",
"value": "tags"
}
]
},
"items": {
"upload": {
"file": {
"ui:widget": "file"
}
},
"tags": {
"ui:widget": "select2"
}
}
}
}
}
]
},
"navigations": [
{
"action_name": "Applicant Bank Details",
"target_node": "applicant_extra_info"
}
]
}
}