For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Dashboard
HomeAPI Reference
HomeAPI Reference
  • Overview
    • API Overview
  • Vlens API
      • GETList available product types
      • GETGet form fields for a product type
      • GETCheck user eligibility
      • POSTCreate a business request
      • GETGet current business request
      • GETList user's business requests
      • GETList business request IDs and statuses
      • GETGet business request by ID
      • POSTRequest contract activation OTP
      • POSTRe-validate liveness after location change
      • POSTValidate contract activation OTP
      • POSTConfirm payment and activate contract
      • POSTGenerate WebView signing URL
      • GETDownload contract PDF
Dashboard
LogoLogo
Vlens APIBusiness Request

List available product types

||View as Markdown|
GET
https://api.vlenseg.com/api/BusinessRequest/GetAllRequestTypes
GET
/api/BusinessRequest/GetAllRequestTypes
$curl https://api.vlenseg.com/api/BusinessRequest/GetAllRequestTypes \
> -H "ApiKey: <apiKey>"
200Business Request_getAllRequestTypes_example
1{
2 "data": [
3 {
4 "id": 414,
5 "name": "Personal Loan",
6 "type": 0,
7 "typeName": "Direct"
8 }
9 ],
10 "totalCount": 1,
11 "returnedCount": 1,
12 "error_code": null
13}

Fetch all active business request types (financial products) configured for your tenant. Use the returned id to fetch fields and create requests.

Was this page helpful?
Previous

Link user to existing OCR transaction

Next

Get form fields for a product type

Built with

Authentication

ApiKeystring
Static API key issued to your tenant. Obtain from the Vlens dashboard.
AuthorizationBearer

Short-lived JWT. Obtain via:

  • /api/credentials/Login for admin / service tokens
  • /api/DigitalIdentity/Register or login for end-user tokens

Query parameters

getSubContractbooleanOptionalDefaults to false

Include sub-contract types in the response.

skipCountintegerOptional

Number of records to skip (pagination offset).

MaxResultCountintegerOptional
Maximum records to return.

Response

Paginated list of request types.
datalist of objects or null
totalCountinteger
returnedCountinteger
error_codeinteger or null
error_messagestring or null
error_descriptionsany or null