{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"3430b733-393e-48d7-acec-e6058fd26a4c","name":"PUBLIC External API v2.1","description":"# Lookinglass External API\n\nLookinglass is a multi-tenant insurance operating system. We can managed multiple insurance company and for each insurance company a different branch.\n\nThis collection provides endpoints for managing insurance quotations and policies through Lookinglass external API.\n\n## Authentication\n\nAPI access requires two headers:\n\n1. **API Token** (Authorization): Generate your token on your Lookinglass site, like for example [https://lookinglass.ipagency.it/edit-account-info](https://lookinglass.ipagency.it/edit-account-info.) by clicking Generate API Token, then pass it as: \"Authorization\": Bearer {{authToken}}\n    \n2. **Session Token** (ExternalAuthorization) Obtain an access token from Amazon Cognito using \"Login Cognito\" api. The returned AccessToken must be used in subsequent API calls via the ExternalAuthorization header key.  \n    Once the account had been created a password will be sent to the account email. [Password reset](https://appfront-api.auth.eu-west-1.amazoncognito.com/login?client_id=7a2nff1m1ms4m0g438udgdbaka&response_type=token&scope=aws.cognito.signin.user.admin+email+openid+phone+profile&redirect_uri=https://oauth.pstmn.io/v1/browser-callback) is also available.\n    \n\nBoth headers are required on every request. Without the Cognito session token, the API gateway will deny access.\n\n## Select company\n\nTo call the company and the branch you need to have your account activated for that company, a valid API access and an active contract.\n\nTo choose the company you need to use the format:\n\n[https://api.appfront.cloud/lookinglass/dev<b>/{company_code}/{branch}</b>](https://api.appfront.cloud/lookinglass/dev/%7Bcompany)**/**external/api/v2/quotations/skeleton\n\nFor example\n\n[https://api.appfront.cloud/lookinglass/dev/wkm/mtr/external/api/v2/quotations/skeleton](https://api.appfront.cloud/lookinglass/dev/wkm/mtr/external/api/v2/quotations/skeleton)\n\n## Workflow\n\n1. **Get Quotation Skeleton** - Retrieve pre-filled quotation data based on vehicle plate and fiscal code\n    \n2. **Create Quotation** - Create a new quotation with customer and contract details\n    \n3. **Digital Signature (Quotation)** - Start, check status, or cancel digital signature process\n    \n4. **Download Documents** - Retrieve questionnaire, privacy, and policy PDFs\n    \n5. **Upload Documents** - Upload required documents (license plate, ID card, driver's license)\n    \n6. **Issue Policy** - Convert quotation to active policy\n    \n7. **Digital Signature (Policy)** - Sign the issued policy document\n    \n8. **Download Signed Policy** - Retrieve the final signed policy document\n    \n\n## Move to production\n\nTo call production API you need to change API URL /dev/ to /prod/\n\n## Variables\n\n- `baseUrl`: API base URL (default: [https://api.appfront.cloud/lookinglass/dev](https://api.appfront.cloud/lookinglass/dev))\n    \n- `authToken`: Bearer authentication token\n    \n- `quotationId`: ID of created quotation (auto-set after creation)\n    \n- `policyId`: ID of issued policy (auto-set after issuance)\n    \n\n## Base URL\n\n```\nhttps://api.appfront.cloud/lookinglass/dev\n\n ```","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":false,"owner":"15342400","team":3115387,"collectionId":"3430b733-393e-48d7-acec-e6058fd26a4c","publishedId":"2sBXcHhJvm","public":true,"publicUrl":"https://api-documentation.external.appfront.cloud","privateUrl":"https://go.postman.co/documentation/15342400-3430b733-393e-48d7-acec-e6058fd26a4c","customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"documentationLayout":"classic-double-column","customisation":{"metaTags":[{"name":"description","value":""},{"name":"title","value":""}],"appearance":{"default":"light","themes":[{"name":"dark","logo":null,"colors":{"top-bar":"212121","right-sidebar":"303030","highlight":"FF6C37"}},{"name":"light","logo":null,"colors":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"}}]}},"version":"8.10.1","publishDate":"2026-03-04T07:37:19.000Z","activeVersionTag":"latest","documentationTheme":"light","metaTags":{"title":"","description":""},"logos":{"logoLight":null,"logoDark":null}},"statusCode":200},"environments":[{"name":"documentation","id":"706a5b32-11df-45e7-aec7-e40d3a5f7bb5","owner":"38048907","values":[{"key":"quotationId","value":"69a5b0360fc0ebc10a025861","enabled":true,"type":"default"},{"key":"policyId","value":"903WKM00123932","enabled":true,"type":"default"},{"key":"baseUrl","value":"https://api.appfront.cloud/lookinglass/dev","enabled":true,"type":"default"},{"key":"authToken","value":"authtoken","enabled":true,"type":"default"},{"key":"AccessToken","value":"accesstoken","enabled":true,"type":"default"},{"key":"api_user","value":"cognitoUser","enabled":true,"type":"default"},{"key":"api_password","value":"cognitoPassword","enabled":true,"type":"default"}],"published":true}],"user":{"authenticated":false,"permissions":{"publish":false}},"run":{"button":{"js":"https://run.pstmn.io/button.js","css":"https://run.pstmn.io/button.css"}},"web":"https://www.getpostman.com/","team":{"logo":"https://res.cloudinary.com/postman/image/upload/t_team_logo_pubdoc/v1/team/82cda096c0191a9ddb48c3e2d758ee9934a9ef94f50ff219fae46e174614ff39","favicon":"https://appfront.cloud/favicon.ico"},"isEnvFetchError":false,"languages":"[{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"HttpClient\"},{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"RestSharp\"},{\"key\":\"curl\",\"label\":\"cURL\",\"variant\":\"cURL\"},{\"key\":\"dart\",\"label\":\"Dart\",\"variant\":\"http\"},{\"key\":\"go\",\"label\":\"Go\",\"variant\":\"Native\"},{\"key\":\"http\",\"label\":\"HTTP\",\"variant\":\"HTTP\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"OkHttp\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"Unirest\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"Fetch\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"jQuery\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"XHR\"},{\"key\":\"c\",\"label\":\"C\",\"variant\":\"libcurl\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Axios\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Native\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Request\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Unirest\"},{\"key\":\"objective-c\",\"label\":\"Objective-C\",\"variant\":\"NSURLSession\"},{\"key\":\"ocaml\",\"label\":\"OCaml\",\"variant\":\"Cohttp\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"cURL\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"Guzzle\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"HTTP_Request2\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"pecl_http\"},{\"key\":\"powershell\",\"label\":\"PowerShell\",\"variant\":\"RestMethod\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"http.client\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"Requests\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"httr\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"RCurl\"},{\"key\":\"ruby\",\"label\":\"Ruby\",\"variant\":\"Net::HTTP\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"Httpie\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"wget\"},{\"key\":\"swift\",\"label\":\"Swift\",\"variant\":\"URLSession\"}]","languageSettings":[{"key":"csharp","label":"C#","variant":"HttpClient"},{"key":"csharp","label":"C#","variant":"RestSharp"},{"key":"curl","label":"cURL","variant":"cURL"},{"key":"dart","label":"Dart","variant":"http"},{"key":"go","label":"Go","variant":"Native"},{"key":"http","label":"HTTP","variant":"HTTP"},{"key":"java","label":"Java","variant":"OkHttp"},{"key":"java","label":"Java","variant":"Unirest"},{"key":"javascript","label":"JavaScript","variant":"Fetch"},{"key":"javascript","label":"JavaScript","variant":"jQuery"},{"key":"javascript","label":"JavaScript","variant":"XHR"},{"key":"c","label":"C","variant":"libcurl"},{"key":"nodejs","label":"NodeJs","variant":"Axios"},{"key":"nodejs","label":"NodeJs","variant":"Native"},{"key":"nodejs","label":"NodeJs","variant":"Request"},{"key":"nodejs","label":"NodeJs","variant":"Unirest"},{"key":"objective-c","label":"Objective-C","variant":"NSURLSession"},{"key":"ocaml","label":"OCaml","variant":"Cohttp"},{"key":"php","label":"PHP","variant":"cURL"},{"key":"php","label":"PHP","variant":"Guzzle"},{"key":"php","label":"PHP","variant":"HTTP_Request2"},{"key":"php","label":"PHP","variant":"pecl_http"},{"key":"powershell","label":"PowerShell","variant":"RestMethod"},{"key":"python","label":"Python","variant":"http.client"},{"key":"python","label":"Python","variant":"Requests"},{"key":"r","label":"R","variant":"httr"},{"key":"r","label":"R","variant":"RCurl"},{"key":"ruby","label":"Ruby","variant":"Net::HTTP"},{"key":"shell","label":"Shell","variant":"Httpie"},{"key":"shell","label":"Shell","variant":"wget"},{"key":"swift","label":"Swift","variant":"URLSession"}],"languageOptions":[{"label":"C# - HttpClient","value":"csharp - HttpClient - C#"},{"label":"C# - RestSharp","value":"csharp - RestSharp - C#"},{"label":"cURL - cURL","value":"curl - cURL - cURL"},{"label":"Dart - http","value":"dart - http - Dart"},{"label":"Go - Native","value":"go - Native - Go"},{"label":"HTTP - HTTP","value":"http - HTTP - HTTP"},{"label":"Java - OkHttp","value":"java - OkHttp - Java"},{"label":"Java - Unirest","value":"java - Unirest - Java"},{"label":"JavaScript - Fetch","value":"javascript - Fetch - JavaScript"},{"label":"JavaScript - jQuery","value":"javascript - jQuery - JavaScript"},{"label":"JavaScript - XHR","value":"javascript - XHR - JavaScript"},{"label":"C - libcurl","value":"c - libcurl - C"},{"label":"NodeJs - Axios","value":"nodejs - Axios - NodeJs"},{"label":"NodeJs - Native","value":"nodejs - Native - NodeJs"},{"label":"NodeJs - Request","value":"nodejs - Request - NodeJs"},{"label":"NodeJs - Unirest","value":"nodejs - Unirest - NodeJs"},{"label":"Objective-C - NSURLSession","value":"objective-c - NSURLSession - Objective-C"},{"label":"OCaml - Cohttp","value":"ocaml - Cohttp - OCaml"},{"label":"PHP - cURL","value":"php - cURL - PHP"},{"label":"PHP - Guzzle","value":"php - Guzzle - PHP"},{"label":"PHP - HTTP_Request2","value":"php - HTTP_Request2 - PHP"},{"label":"PHP - pecl_http","value":"php - pecl_http - PHP"},{"label":"PowerShell - RestMethod","value":"powershell - RestMethod - PowerShell"},{"label":"Python - http.client","value":"python - http.client - Python"},{"label":"Python - Requests","value":"python - Requests - Python"},{"label":"R - httr","value":"r - httr - R"},{"label":"R - RCurl","value":"r - RCurl - R"},{"label":"Ruby - Net::HTTP","value":"ruby - Net::HTTP - Ruby"},{"label":"Shell - Httpie","value":"shell - Httpie - Shell"},{"label":"Shell - wget","value":"shell - wget - Shell"},{"label":"Swift - URLSession","value":"swift - URLSession - Swift"}],"layoutOptions":[{"value":"classic-single-column","label":"Single Column"},{"value":"classic-double-column","label":"Double Column"}],"versionOptions":[],"environmentOptions":[{"value":"0","label":"No Environment"},{"label":"documentation","value":"38048907-706a5b32-11df-45e7-aec7-e40d3a5f7bb5"}],"canonicalUrl":"https://api-documentation.external.appfront.cloud/view/metadata/2sBXcHhJvm"}