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

Download contract PDF

||View as Markdown|
GET
https://api.vlenseg.com/api/BusinessRequest/ViewContractPdf
GET
/api/BusinessRequest/ViewContractPdf
$curl -G https://api.vlenseg.com/api/BusinessRequest/ViewContractPdf \
> -H "ApiKey: <apiKey>" \
> -H "Content-Type: application/json" \
> -d RequestId=3fa85f64-5717-4562-b3fc-2c963f66afa6 \
> -d SecurityHash=a1b2c3d4e5f67890abcdef1234567890abcdef12
200Retrieved
1{
2 "data": "https://cdn.vlenseg.com/contracts/3fa85f64-5717-4562-b3fc-2c963f66afa6.pdf",
3 "error_code": null,
4 "error_message": null,
5 "error_descriptions": null
6}

Download the contract PDF for a business request. Requires the SecurityHash from GenerateSignContractLink.

Was this page helpful?
Previous

Generate WebView signing URL

Next

Extract national ID front

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

RequestIdstringRequiredformat: "uuid"
SecurityHashstringRequired

Response

PDF URL or content.
datastring or null
error_codeinteger or null
error_messagestring or null
error_descriptionsany or null