Crego APIs
APIs DocHome Page
Web Apps
  • Jupiter
  • Venus
APIs DocHome Page
Web Apps
  • Jupiter
  • Venus
  1. Design
  • Back to home
  • Flow
  • Design
    • Create Design
      POST
    • List Designs
      GET
    • Update Design
      PUT
    • Get Design
      GET
    • Mark as Current Design
      PUT
    • Duplicate Design
      POST
    • Get Expanded Design
      GET
    • Graph Validation
      GET
  • Runner
    • Create Runner
      POST
    • Execute Runner
      POST
    • Get Runner
      GET
    • List Runners
      GET
    • Runner Callback Handler
      POST
    • Runner activity
      GET
    • Runner Store
      GET
    • Update Runner design
      PUT
    • Update Store
      PUT
    • No Auth Runner Flow info
      GET
    • Parse Template
      POST
    • Get Current Nodes
      GET
    • Create and Execute Runner
      POST
  • Customer Auth
    • Refresh Token
      POST
    • Send OTP
      POST
    • Verify OTP
      POST
    • Auth Ping
      GET
    • Exchange Token
      POST
  • Utility
    • Get Schema
  • Warehouse
  • Store
    • Get Store
    • List Store
    • Create Store
  • Document
    • Create Document
    • Get Storage Document
    • Add files to document
    • Download files
  • CheckList
    • CheckList Template
      • Create Checklist Template
      • Get CheckList Template
      • List CheckList Template
      • Update CheckList Template
      • Delete CheckList Template
    • Workflow CheckList
      • Get checklist at runner stage
      • Update Check List Item
  • Approvals
    • Approval List
    • Pending Approval
    • Create Approvals
    • Get Approval
    • Update Approvals
    • Current user approval list
    • Get approval request by resource
    • Approve approval
    • Reject Approval
  1. Design

List Designs

Developing
preprod
https://preprod.api.crego.io
preprod
https://preprod.api.crego.io
GET
/v1/rego/designs/
Last modified:2024-12-05 11:50:05

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Query Params
page
string 
optional
Example:
1
page_size
string 
optional
Example:
15
search
string 
optional
Search on id, name and ref_id, company_id
flow_id
string 
optional
Filter on flow_id
Example:
fb3da30b-229e-4726-b805-53a2cc6e5a71
ref_id
string 
optional
Filter on ref_id
is_current
boolean 
optional
Filter on is_current
ordering
string 
optional
Order on created_at, updated_at (Asc or Desc)
Example:
-created_at
fields
string 
optional
Provide fields to get

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/v1/rego/designs/?page=1&page_size=15'

Responses

🟢200OK
application/json
Body
array of:
count
integer 
optional
current_page
integer 
optional
page_size
integer 
optional
results
array [object {9}] 
optional
id
string 
required
created_at
string 
required
created_by
string 
required
flow
string 
required
secret
string 
required
is_current
boolean 
required
graph
object 
required
store_schema
object 
required
config
object 
required
Example
[{"count":2,"current_page":1,"page_size":15,"results":[{"id":"2b571d47-60e4-4732-a16d-1297dfc6c9b2","created_at":"2024-12-03T14:16:12.860000","created_by":"0d17a44c-9589-4534-807a-7c9e95002e10","flow":"288a9977-df3d-4a30-a26d-2fe82419a1d6","secret":"47e00a33-b704-4918-884e-7c4c08ed2705","is_current":true,"graph":{"nodes":[{"name":"gst_form","type":"web_form","config":{"schema":{"type":"object","properties":{"gst_no":{"type":"string","title":"GST Number","pattern":"^[0-9]{2}[A-Z]{5}[0-9]{4}[A-Z]{1}[1-9A-Z]{1}Z[0-9A-Z]{1}$","errorMessage":{"pattern":"Please enter a valid GST number in the format: 22AAAAA0000A1Z5"}}},"required":["gst_no"]},"layout":{}}},{"name":"gst_form","type":"web_form","config":{"schema":{"type":"object","properties":{"gst_no":{"type":"string","title":"GST Number","pattern":"^[0-9]{2}[A-Z]{5}[0-9]{4}[A-Z]{1}[1-9A-Z]{1}Z[0-9A-Z]{1}$","errorMessage":{"pattern":"Please enter a valid GST number in the format: 22AAAAA0000A1Z5"}}},"required":["gst_no"]},"layout":{}}},{"name":"gst_form","type":"web_form","config":{"schema":{"type":"object","properties":{"gst_no":{"type":"string","title":"GST Number","pattern":"^[0-9]{2}[A-Z]{5}[0-9]{4}[A-Z]{1}[1-9A-Z]{1}Z[0-9A-Z]{1}$","errorMessage":{"pattern":"Please enter a valid GST number in the format: 22AAAAA0000A1Z5"}}},"required":["gst_no"]},"layout":{}}}],"edges":[],"start_node":"4c4fa4fe-68d4-4d7e-b293-551a99c64be8"},"store_schema":{"type":"object","properties":{"status":{"type":"string","description":"Status","enum":["pending","kyc_submitted","kyc_approved","kyc_rejected","pending_signing","signed"]},"applicant":{"$ref":"#/definitions/Person"},"business":{"$ref":"#/definitions/Business"},"co_applicants":{"type":"array","items":{"$ref":"#/definitions/Person"},"description":"Co-applicants of business"}},"required":["status","applicant","business"],"definitions":{"type":"object","properties":{"Person":{"type":"object","properties":{"type":{"type":"string","default":"object"},"properties":{"type":"object","properties":{"name":{"type":"object","properties":{"type":{"type":"string","default":"string"}},"required":["type"],"x-apidog-ignore-properties":[],"x-apidog-orders":["type"],"additionalProperties":false},"dob":{"type":"object","properties":{"type":{"type":"string","default":"string"},"format":{"type":"string","default":"date","x-apidog-mock":"2024-12-03 04:01:03"},"pattern":{"type":"string","default":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$"}},"required":["type","format","pattern"],"x-apidog-ignore-properties":[],"x-apidog-orders":["type","format","pattern"],"additionalProperties":false},"gender":{"type":"object","properties":{"type":{"type":"string","default":"string"},"enum":{"type":"array","items":{"type":"string","x-apidog-mock":"6"},"default":["male","female"]}},"required":["type","enum"],"x-apidog-ignore-properties":[],"x-apidog-orders":["type","enum"],"additionalProperties":false},"pan_no":{"type":"object","properties":{"type":{"type":"string","default":"string"},"pattern":{"type":"string","default":"[A-Z]{5}[0-9]{4}[A-Z]{1}"}},"required":["type","pattern"],"x-apidog-ignore-properties":[],"x-apidog-orders":["type","pattern"],"additionalProperties":false},"aadhaar_no":{"type":"object","properties":{"type":{"type":"string","default":"string"},"pattern":{"type":"string","default":"^[0-9]{12}$"}},"required":["type","pattern"],"x-apidog-ignore-properties":[],"x-apidog-orders":["type","pattern"],"additionalProperties":false},"mobile":{"type":"object","properties":{"type":{"type":"string","default":"string"},"pattern":{"type":"string","default":"^[0-9]{10}$"}},"required":["type","pattern"],"x-apidog-ignore-properties":[],"x-apidog-orders":["type","pattern"],"additionalProperties":false},"email":{"type":"object","properties":{"type":{"type":"string","default":"string"},"format":{"type":"string","default":"email","x-apidog-mock":"2024-12-03 05:51:06"}},"required":["type","format"],"x-apidog-ignore-properties":[],"x-apidog-orders":["type","format"],"additionalProperties":false},"banks":{"type":"object","properties":{"type":{"type":"string","default":"array"},"items":{"type":"object","properties":{"$ref":{"type":"string","default":"#/definitions/Bank"}},"required":["$ref"],"x-apidog-ignore-properties":[],"x-apidog-orders":["$ref"],"additionalProperties":false},"description":{"type":"string","default":"Banks of person","x-apidog-mock":"Caries carcer vita deduco aro. Demitto tactus conventus. Aetas adipiscor a decretum adicio cerno vero voluptates volutabrum. Ea adfero admitto cubicularis cunctatio ipsa nesciunt pax quod. Balbus libero depulso. Clam curriculum degenero mollitia theatrum attollo bellum spargo. Turbo succedo tibi tredecim. Terra titulus dapifer confero natus doloremque."}},"required":["type","items","description"],"x-apidog-ignore-properties":[],"x-apidog-orders":["type","items","description"],"additionalProperties":false},"addresses":{"type":"object","properties":{"type":{"type":"string","default":"array"},"items":{"type":"object","properties":{"$ref":{"
Modified at 2024-12-05 11:50:05
Previous
Create Design
Next
Update Design
Built with