{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"82d32b10-bebb-4481-9ec6-694bf76948b5","name":"API Documentation","description":"This API documentation is for Enterprise users of VICA, the Chatbot for the Singapore Government. To sign up with us, do go to [https://vica.gov.sg](https://vica.gov.sg).\n\n# 📄 Get started here\n\nVICA provides many API products, tools, and resources that enable you to query your knowledge base stored in [https://adm.vica.gov.sg.](https://adm.vica.gov.sg.) We are still releasing these APIs in stages so do let us know what you would want next and we will include it.\n\nRight now the APIs you need as a start would be:\n\n- Sessions\n    \n    - For creating sessions with the chatbot\n        \n    - Maintains history of chat into a single session for retreival and also improves answers.\n        \n- Chat\n    \n    - For interacting with the chatbot\n        \n\n## **Getting started guide**\n\nTo start using the Chat API, you need to -\n\n- First start a session with the Create Session API.\n    \n- The API has a rate limit of 100 requests per minute.\n    \n- The API only responds to HTTPS-secured communications. Any requests sent via HTTP return an HTTP 301 redirect to the corresponding HTTPS resources.\n    \n- The API returns request responses in JSON format. When an API request returns an error, it is sent in the JSON response as an error key.\n    \n\n## Authentication\n\nVICA API uses `clientId` and `clientSecret` in Body for authentication. VICA team would have to generate this for you.\n\n### Authentication error response\n\nIf an API key is missing, malformed, or invalid, you will receive an HTTP 401 Unauthorized response code.\n\n## Rate and usage limits\n\nAPI access rate limits apply at a per-API key basis in unit time. The limit is 100 requests per minute. Also, depending on your plan, you may have usage limits. If you exceed either limit, your request will return an HTTP 429 Too Many Requests code.\n\n### **Need some help?**\n\nIn case you have questions, visit our FAQ page [https://support.vica.gov.sg/hc/en-us,](https://support.vica.gov.sg/hc/en-us,) or contact VICA team members.\n","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":false,"owner":"38161861","team":1169579,"collectionId":"82d32b10-bebb-4481-9ec6-694bf76948b5","publishedId":"2sAYQgionF","public":true,"publicUrl":"https://api.docs.vica.gov.sg","privateUrl":"https://go.postman.co/documentation/38161861-82d32b10-bebb-4481-9ec6-694bf76948b5","customColor":{"top-bar":"fffFFF","right-sidebar":"313443","highlight":"1F73b7"},"documentationLayout":"classic-double-column","customisation":{"metaTags":[{"name":"description","value":"Developer APIs to query Database"},{"name":"title","value":"VICA Developer APIs"}],"appearance":{"default":"system_default","themes":[{"name":"dark","logo":"https://content.pstmn.io/2bba5788-4742-4500-9969-10d6818bcbf2/VklDQV9Mb2dvX1dISVRFLnBuZw==","colors":{"top-bar":"000","right-sidebar":"303030","highlight":"FF6C37"}},{"name":"light","logo":"https://content.pstmn.io/ffa15623-9255-4986-af21-e85b778f627b/dmljYV9sb2dvLnBuZw==","colors":{"top-bar":"fffFFF","right-sidebar":"313443","highlight":"1F73b7"}}]}},"version":"8.12.12","publishDate":"2026-06-05T06:12:27.000Z","activeVersionTag":"latest","documentationTheme":"light","metaTags":{"title":"VICA Developer APIs","description":"Developer APIs to query Database"},"logos":{"logoLight":"https://content.pstmn.io/ffa15623-9255-4986-af21-e85b778f627b/dmljYV9sb2dvLnBuZw==","logoDark":"https://content.pstmn.io/2bba5788-4742-4500-9969-10d6818bcbf2/VklDQV9Mb2dvX1dISVRFLnBuZw=="}},"statusCode":200},"environments":[{"name":"API Doc Production","id":"b0ce0f72-4b8d-4b55-9415-0c2a59ee767b","owner":"38161861","values":[{"key":"","value":"","enabled":false},{"key":"chatUri","value":"https://chat.vica.gov.sg/api/v1","enabled":true},{"key":"chatSessionToken","value":"eyJhbGciOiJSUzUxMiIsInR5cCI6IkpXVCJ9.eyJhcHAtaWQiOiJ2aWNhLWRlbW8iLCJpc3MiOiJodHRwczovL2NoYXQudmljYS5nb3Yuc2ciLCJzdWIiOiI4OGViNDg4Yi0zMjYxLTRhNjctYjNkZC01ZmVkY2Y3MTM0NGIiLCJhdWQiOiJodHRwczovL2NoYXQudmljYS5nb3Yuc2ciLCJleHAiOjE2MDUyNTMyNjEsImlhdCI6MTYwNTI1MTQ2MX0.TfRuHe9vsWrGcB65l_nEtSWrfO738gnejl3NkAc2aGKV796aV9CR_gLZnqb5K5wFVn3djsVn5snD64VfXt-U6Vp4PUWw2MzuN6PvaL4FNmro-ZxQmDcncNbO1Is9KAPoLL8jqmNg_ZAl-ZHirLPLuFcsDCRqs2bB7eSfvi0GJFnRzMHTv6mQNC1_bVXVGmte1L8WrXx_K7iz5ijUdnUEdIVOPV4AU5PLG7IQea3T8vzeE0maJXwOCfiEtuYNMqh5Q7g35d2Fk4BOoUBKN7p_qg0xFufkU__n__FHxZ1NQUXt837tB5Fk5vh_Cp3UtYPLhHuovoCjw2Cq5m3zDMK_Yzxujg8xQ69qS84IMMn-CkZSaj0tKn-n88uTGerkmSEisHXDtuotbRAE71k_AS314lP7JEQJTLKkc5rgI45P8M3-3t8g5k2Pm80B_s8tpx86LeCNiBsSpFWBZW8H04yqKvWoOWgAO7aKR8tXGPXioR1UiHKbG02iB_56IgtUVMqaPOUtW6wi0vGH0NcugkDqSz0hALw3UQ4vJH9pVEUjPPWPNswBb05FzdQIZcd8SY1k4q8krq8dBNlwSDBQDrz0DTHbBmGON1vQ7Et1lQ75YcexR0bKU660OZGLD5p_t69wYVW1y8dvbF9uoVKOLx_05OyzhDRNf8EpFuibokEfR14","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://postman-image-service.postman.com/api/cloudinary-proxy/postman/image/upload/t_team_logo_pubdoc/v1/team/1c88f58d7f921195d1108b675a13314228940943340e3a90f54ac8fa0e7a1789","favicon":"https://vica.gov.sg/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":"API Doc Production","value":"38161861-b0ce0f72-4b8d-4b55-9415-0c2a59ee767b"}],"canonicalUrl":"https://api.docs.vica.gov.sg/view/metadata/2sAYQgionF"}