POST https://api.vflo.app/api/public/case/createCase fields depend on the immigration case type and its questionnaires. Get the accepted payload shape from Settings > API Settings in the target workspace, then persist the returned VisaFlo case ID.
The API validates and normalizes the case data before creation. A successful response includes data for the created case; use its caseId for files, form generation, status changes, tasks, and notes.
caseId is not the human-readable caseNumber shown in the dashboard.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"VisaFlo","colors":{"primary":"#2563EB","light":"#3B82F6","dark":"#60A5FA"},"logo":{"light":"https://mintcdn.com/visa-flo/IWf3JBJldGAtQ3o3/knowledge-base/images/visaflo-wordmark.svg?fit=max\u0026auto=format\u0026n=IWf3JBJldGAtQ3o3\u0026q=85\u0026s=13366d554a4ff387b7b1ce56a22d1adc","dark":"https://mintcdn.com/visa-flo/IWf3JBJldGAtQ3o3/knowledge-base/images/visaflo-wordmark-dark.svg?fit=max\u0026auto=format\u0026n=IWf3JBJldGAtQ3o3\u0026q=85\u0026s=cac96bc02cc129cc648be1812d14a4df","href":"https://visaflo.ca"},"favicon":"https://mintcdn.com/visa-flo/L8Km26v7j8gC4xTj/knowledge-base/images/favicon.png?fit=max\u0026auto=format\u0026n=L8Km26v7j8gC4xTj\u0026q=85\u0026s=92b4bd8d48fc36a25e17711c958906ba","navbar":{"links":[{"href":"https://my.vflo.app","label":"Dashboard"}]},"footer":{"socials":{"website":"https://visaflo.ca"}},"seo":{"metatags":{"canonical":"https://visaflo.ca"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"visa-flo","hasAudioNarration":false,"actualSubdomain":"visa-flo","customDomains":["visaflo.ca"],"gitSource":{"type":"github","owner":"visaflo","repo":"dashboard","deployBranch":"main","contentDirectory":"docs/mintlify","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6afce26374df63670e0e6c5b","clientVersion":"0.0.4344","searchFilterCounts":[{"language":"default","tag":"Guides","count":59},{"language":"default","tag":"Developers","count":30},{"language":"default","tag":"Updates","count":24},{"language":"default","tag":"FAQ","count":17},{"language":"default","tag":"3. Open a case and collect information","count":12},{"language":"default","tag":"2025 archive","count":12},{"language":"default","tag":"4. Prepare, review, and submit","count":10},{"language":"default","tag":"2. Win and engage a client","count":9},{"language":"default","tag":"5. Communicate, close, and improve","count":8},{"language":"default","tag":"Troubleshooting","count":8}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/knowledge-base","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"knowledge-base/developers/endpoints/create-case","slug":"/knowledge-base/developers/endpoints/create-case","pageMetadata":{"title":"Create a case","sidebarTitle":"Create a case","description":"Create a VisaFlo case and its configured forms.","href":"/knowledge-base/developers/endpoints/create-case"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Create a VisaFlo case and its configured forms.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{CodeBlock,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:_jsx(_components.code,{children:`POST https://api.vflo.app/api/public/case/create`})}),`\n`,_jsxs(_components.p,{children:[`Case fields depend on the immigration case type and its questionnaires. Get the accepted payload shape from `,_jsx(_components.strong,{children:`Settings`}),` > `,_jsx(_components.strong,{children:`API Settings`}),` in the target workspace, then persist the returned VisaFlo case ID.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"clientEmail\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"jane@example.com\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"caseType\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"study_permit\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`The API validates and normalizes the case data before creation. A successful response includes `,_jsx(_components.code,{children:`data`}),` for the created case; use its `,_jsx(_components.code,{children:`caseId`}),` for files, form generation, status changes, tasks, and notes.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`caseId`}),` is not the human-readable `,_jsx(_components.code,{children:`caseNumber`}),` shown in the dashboard.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create a case","sidebarTitle":"Create a case","description":"Create a VisaFlo case and its configured forms.","href":"/knowledge-base/developers/endpoints/create-case"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"subdomain":"visa-flo","siteName":"VisaFlo","title":"Create a case - VisaFlo","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-23T21:46:28.711Z","originalFileLocation":"knowledge-base/developers/endpoints/create-case.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Create a VisaFlo case and its configured forms.\">\u003cmeta data-mint-head name=\"application-name\" content=\"VisaFlo\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"https://mintcdn.com/visa-flo/L8Km26v7j8gC4xTj/knowledge-base/images/favicon.png?fit=max\u0026amp;auto=format\u0026amp;n=L8Km26v7j8gC4xTj\u0026amp;q=85\u0026amp;s=92b4bd8d48fc36a25e17711c958906ba\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"https://mintcdn.com/visa-flo/L8Km26v7j8gC4xTj/knowledge-base/images/favicon.png?fit=max\u0026amp;auto=format\u0026amp;n=L8Km26v7j8gC4xTj\u0026amp;q=85\u0026amp;s=92b4bd8d48fc36a25e17711c958906ba\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"https://mintcdn.com/visa-flo/L8Km26v7j8gC4xTj/knowledge-base/images/favicon.png?fit=max\u0026amp;auto=format\u0026amp;n=L8Km26v7j8gC4xTj\u0026amp;q=85\u0026amp;s=92b4bd8d48fc36a25e17711c958906ba\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/png\" href=\"https://mintcdn.com/visa-flo/L8Km26v7j8gC4xTj/knowledge-base/images/favicon.png?fit=max\u0026amp;auto=format\u0026amp;n=L8Km26v7j8gC4xTj\u0026amp;q=85\u0026amp;s=92b4bd8d48fc36a25e17711c958906ba\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create a case - VisaFlo\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create a VisaFlo case and its configured forms.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"VisaFlo\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://visaflo.ca/knowledge-base/developers/endpoints/create-case\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://visa-flo.mintlify.site/_mintlify/api/og/v2?division=Cases\u0026amp;title=Create+a+case\u0026amp;description=Create+a+VisaFlo+case+and+its+configured+forms.\u0026amp;theme=2c6f4546ae316bb1edb0fa22\u0026amp;signature=92c869e7138774fa6a600a4d2649b8b5ccad70a28c1cac62db908e8cc3ff8d1e\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create a case - VisaFlo\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create a VisaFlo case and its configured forms.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://visa-flo.mintlify.site/_mintlify/api/og/v2?division=Cases\u0026amp;title=Create+a+case\u0026amp;description=Create+a+VisaFlo+case+and+its+configured+forms.\u0026amp;theme=2c6f4546ae316bb1edb0fa22\u0026amp;signature=92c869e7138774fa6a600a4d2649b8b5ccad70a28c1cac62db908e8cc3ff8d1e\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"https://mintlify.s3.us-west-1.amazonaws.com/visa-flo/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"VisaFlo\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2563EB\">\u003clink data-mint-head rel=\"canonical\" href=\"https://visaflo.ca/knowledge-base/developers/endpoints/create-case\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/knowledge-base/developers/endpoints/create-case.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://visaflo.ca/#organization\",\"name\":\"VisaFlo\",\"url\":\"https://visaflo.ca\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/visa-flo/IWf3JBJldGAtQ3o3/knowledge-base/images/visaflo-wordmark.svg?fit=max\u0026auto=format\u0026n=IWf3JBJldGAtQ3o3\u0026q=85\u0026s=13366d554a4ff387b7b1ce56a22d1adc\"}},{\"@type\":\"WebSite\",\"@id\":\"https://visaflo.ca#website\",\"name\":\"VisaFlo\",\"url\":\"https://visaflo.ca\",\"publisher\":{\"@id\":\"https://visaflo.ca/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://visaflo.ca/knowledge-base/developers/endpoints/create-case#webpage\",\"url\":\"https://visaflo.ca/knowledge-base/developers/endpoints/create-case\",\"name\":\"Create a case\",\"description\":\"Create a VisaFlo case and its configured forms.\",\"dateModified\":\"2026-09-23T21:46:28.711Z\",\"isPartOf\":{\"@id\":\"https://visaflo.ca#website\"},\"breadcrumb\":{\"@id\":\"https://visaflo.ca/knowledge-base/developers/endpoints/create-case#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://visaflo.ca/knowledge-base/developers/endpoints/create-case#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"VisaFlo\",\"item\":\"https://visaflo.ca\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create a case\",\"item\":\"https://visaflo.ca/knowledge-base/developers/endpoints/create-case\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://visaflo.ca/knowledge-base/developers/endpoints/create-case#article\",\"headline\":\"Create a case\",\"name\":\"Create a case\",\"description\":\"Create a VisaFlo case and its configured forms.\",\"url\":\"https://visaflo.ca/knowledge-base/developers/endpoints/create-case\",\"mainEntityOfPage\":{\"@id\":\"https://visaflo.ca/knowledge-base/developers/endpoints/create-case#webpage\"},\"dateModified\":\"2026-09-23T21:46:28.711Z\",\"publisher\":{\"@id\":\"https://visaflo.ca/#organization\"},\"isPartOf\":{\"@id\":\"https://visaflo.ca#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"VisaFlo\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"VisaFlo\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/knowledge-base/developers/endpoints/create-case.md","siteName":"VisaFlo","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/knowledge-base"}]},{"tab":"FAQ","pages":[{"title":"FAQ","href":"/knowledge-base/faq/which-immigration-programs-and-ircc-portals-does-visaflo-support"}]},{"tab":"Developers","groups":[{"group":"Start here","expanded":true,"pages":[{"title":"VisaFlo API","sidebarTitle":"Overview","href":"/knowledge-base/developers"},{"title":"Integration Capabilities","sidebarTitle":"What you can integrate","href":"/knowledge-base/developers/integrations"},{"title":"Quickstart","sidebarTitle":"Quickstart","href":"/knowledge-base/developers/quickstart"},{"title":"Authentication","sidebarTitle":"Authentication","href":"/knowledge-base/developers/authentication"},{"title":"Errors and Retries","sidebarTitle":"Errors and retries","href":"/knowledge-base/developers/errors"},{"title":"Endpoint Directory","sidebarTitle":"Endpoint directory","href":"/knowledge-base/developers/reference"}]},{"group":"Leads","pages":[{"title":"Create a lead","sidebarTitle":"Create a lead","href":"/knowledge-base/developers/endpoints/create-lead"},{"title":"Agreements API","sidebarTitle":"Agreements","href":"/knowledge-base/developers/agreements-api"},{"title":"Webhooks","sidebarTitle":"Webhooks","href":"/knowledge-base/developers/webhooks"},{"title":"Search leads","sidebarTitle":"Search leads","href":"/knowledge-base/developers/endpoints/search-leads"}]},{"group":"Clients","pages":[{"title":"Create a client","sidebarTitle":"Create a client","href":"/knowledge-base/developers/endpoints/create-client"},{"title":"Search clients","sidebarTitle":"Search clients","description":"Find clients in the API key's VisaFlo workspace.","href":"/knowledge-base/developers/endpoints/search-clients"}]},{"group":"Cases","pages":[{"title":"Create a case","sidebarTitle":"Create a case","href":"/knowledge-base/developers/endpoints/create-case"},{"title":"Search cases","sidebarTitle":"Search cases","description":"Find cases by VisaFlo ID, case number, or client email.","href":"/knowledge-base/developers/endpoints/search-cases"},{"title":"Get a case","sidebarTitle":"Get a case","href":"/knowledge-base/developers/endpoints/get-case"},{"title":"Update a case status","sidebarTitle":"Update a case status","href":"/knowledge-base/developers/endpoints/update-case-status"}]},{"group":"Files and forms","pages":[{"title":"Upload a case file","sidebarTitle":"Upload a case file","href":"/knowledge-base/developers/endpoints/upload-case-file"},{"title":"Download case files","sidebarTitle":"Download case files","href":"/knowledge-base/developers/endpoints/download-case-files"},{"title":"Generate forms","sidebarTitle":"Generate forms","href":"/knowledge-base/developers/endpoints/generate-forms"},{"title":"Get autofill status","sidebarTitle":"Get autofill status","href":"/knowledge-base/developers/endpoints/get-autofill-status"}]},{"group":"Tasks","pages":[{"title":"Create a task","sidebarTitle":"Create a task","href":"/knowledge-base/developers/endpoints/create-task"},{"title":"Create tasks from a workflow","sidebarTitle":"Create tasks from a workflow","href":"/knowledge-base/developers/endpoints/create-tasks-from-workflow"},{"title":"List tasks","sidebarTitle":"List tasks","href":"/knowledge-base/developers/endpoints/list-tasks"},{"title":"Get a task","sidebarTitle":"Get a task","href":"/knowledge-base/developers/endpoints/get-task"},{"title":"Update a task","sidebarTitle":"Update a task","href":"/knowledge-base/developers/endpoints/update-task"}]},{"group":"Notes","pages":[{"title":"Create a note","sidebarTitle":"Create a note","href":"/knowledge-base/developers/endpoints/create-note"},{"title":"List notes","sidebarTitle":"List notes","href":"/knowledge-base/developers/endpoints/list-notes"},{"title":"Get a note","sidebarTitle":"Get a note","href":"/knowledge-base/developers/endpoints/get-note"},{"title":"Update a note","sidebarTitle":"Update a note","href":"/knowledge-base/developers/endpoints/update-note"}]},{"group":"Workflows","pages":[{"title":"List workflows","sidebarTitle":"List workflows","href":"/knowledge-base/developers/endpoints/list-workflows"}]}]},{"tab":"Updates","pages":[{"title":"Updates","href":"/knowledge-base/updates"}]},{"tab":"Troubleshooting","pages":[{"title":"Troubleshooting","href":"/knowledge-base/faq/troubleshooting-page-errors-freezes-slow-loading-and-failed-actions"}]}]},"basePath":"","title":"Create a case - VisaFlo","deploymentId":"dpl_EwfxjeKENdVkfzdag8rM6mKzcTUJ","buildId":"dpl_EwfxjeKENdVkfzdag8rM6mKzcTUJ","dynamics":[],"chunks":[]}