Web App Generator
The Inspektlabs Web App Generator API enables the creation of fully customizable web applications for vehicle inspections, which can be delivered to customers via SMS or email. It supports both Photo Web Apps and Video Web Apps, offering flexible configuration options to add or remove sections, forms, questionnaires, or additional photo captures (such as the roof or wheel rims). The API also supports persona IDs to generate different app variations tailored to specific use cases, while white-labeling ensures the app can be branded according to customer requirements.
Please contact the Inspektlabs technical team to obtain your API key.
Base url
https://urlgen.inspektlabs.com/superappTokenClick the button below to download the Postman collection for the API.
Payload
{
"apiKey": "<YOUR_API_KEY>",
"personaId": "<customised_persona_id>"
}The above payload represents the minimal required fields for generating a URL or token. Additional fields, as shown below, are optional and only needed for specific use cases.
{
"apiKey": "<secret_key>",
"clientId": "<client_id>",
"caseId": "<unique_client_identifier>",
"appType": "custom",
"personaId": "<customised_persona_id>",
"userDetails": {
"phone": "<phone_number>",
"email": "<email>"
},
"inputMetaData": {
"licensePlate": "<car_registration_number>",
"infoCarCode": "<Domus_integration_only>",
"vin": "<chassis_or_VIN>",
"agentId": "<agent_id>",
"agentName": "<agent_name>",
"tlId": "<tl_id>",
"tlName": "<tl_name>"
}
}Please note that not all of the fields above may be relevant to you. The minimal fields required to generate a token or URL from this API are:
Parameters
Parameter | Description | Type | Required | Example |
apiKey | Secret key provided for authentication. Unique per clientId. | String | Yes | sk_abc123 |
personaId | Defines flow config provided by Inspektlabs. | Integer | Yes | 1 |
clientId | Account ID of the API consumer. | String | Optional | client_001 |
userDetails.phone | Phone number where the inspection link is sent. Format: +<country_code><number> | String | Optional | +919876543210 |
userDetails.email | Email ID where the inspection link is sent. | String | Optional | test@example.com |
inputMetaData.licensePlate | Vehicle registration number. Used for fraud/mistake validation. | String | Optional | MH12AB1234 |
inputMetaData.infoCarCode | Domus cost estimate integration code (region-specific). | String | Optional | DOMUS123 |
inputMetaData.vin | Vehicle Identification Number (VIN) / Chassis Number. | String | Optional | 1HGCM82633A123456 |
inputMetaData.agentId | Optional. ID of the agent handling inspection. | String | Optional | agent_101 |
inputMetaData.agentName | Optional. Name of the agent. | String | Optional | John Doe |
inputMetaData.tlId | Optional. Team Leader ID. | String | Optional | tl_202 |
inputMetaData.tlName | Optional. Team Leader Name. | String | Optional | Jane Smith |
Notes
- Token validity is limited (configured per client by Inspektlabs).
- Phone number must be in E.164 format:
+<country_code><number>.
Response
{
"token": "Generated_Token",
"status": "true",
"message": "Token added successfully"
}Workflow: Automating Vehicle Inspections
1. Generate Token
- Call the Web App Generator with your credentials.
- On success, the API returns a secure token.
2. Capture Vehicle Media
- Option A: Share via SuperApp
- If
phoneoremailis provided, the system automatically generates and sends the inspection link to the customer. - Option B: Manual Link Creation
- If no phone/email is provided, you can generate the link yourself by appending the token to the SuperApp URL
https://superapp.inspektlabs.com/#<token>3. Inspection & Results
- The customer opens the SuperApp, captures required images/videos, and submits them.
- The inspection is processed and results are made available in the Results Portal for review and further actions.
cURL
curl -X POST "https://urlgen.inspektlabs.com/superappToken" \
-H "Content-Type: application/json" \
-d '{"apiKey":"sk_abc123","personaId":1,"caseId":"test"}'cURL for specific use cases
curl -X POST "https://urlgen.inspektlabs.com/superappToken" \
-H "Content-Type: application/json" \
-d '{
"apiKey": "sk_abc123",
"clientId": "client_001",
"caseId": "case_2025001",
"personaId": 1,
"userDetails": {
"phone": "+919876543210",
"email": "test@example.com"
}
}'←Home
Damage API→
On this page
- Web App Generator
- Base url
- Payload
- Parameters
- Notes
- Response
- Workflow: Automating Vehicle Inspections
- 1. Generate Token
- 2. Capture Vehicle Media
- 3. Inspection & Results
- cURL