Management API endpoint for uploading public files to local storage. This endpoint requires authentication. File metadata is provided via headers (X-File-Type, X-File-Name, X-Environment-ID, X-Signature, X-UUID, X-Timestamp) and the file is provided as a multipart/form-data file field named “file”. The “Content-Type” header must be set to a valid MIME type.
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Documentation - Feedbackflow","colors":{"primary":"#3145ea","light":"#3145ea","dark":"#3145ea"},"favicon":"/images/favicon.svg","logo":{"light":"https://mintcdn.com/fiscalo/M-oZ6DwX5VooHCX2/images/logo-dark.svg?fit=max\u0026auto=format\u0026n=M-oZ6DwX5VooHCX2\u0026q=85\u0026s=8cdc2574604ecc3e50eaf232fdaf8653","dark":"https://mintcdn.com/fiscalo/M-oZ6DwX5VooHCX2/images/logo-light.svg?fit=max\u0026auto=format\u0026n=M-oZ6DwX5VooHCX2\u0026q=85\u0026s=b7fd18285b2da084fb7123402e10adf4"},"navbar":{"links":[{"label":"Support","href":"support@feedbackflowhq.com"}],"primary":{"type":"button","label":"Go to app","href":"https://app.feedbackflowhq.com"}},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"fiscalo","hasAudioNarration":false,"actualSubdomain":"fiscalo","customDomains":["docs.feedbackflowhq.com"],"gitSource":{"type":"github","owner":"ezehuche","repo":"fiscalo-latest","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a20c5574d01e0d38c5e780e","collectionId":"650bdf31-1fb5-4555-a55e-516f59bdc88f","schemaVersion":"v2"},"feedback":{"thumbs":true,"edits":true,"issues":true},"entitlements":{},"buildId":"6ae9212f516b29d951a197bb:success","clientVersion":"0.0.4067","searchFilterCounts":[{"language":"default","tag":"XM \u0026 Surveys","count":50},{"language":"default","tag":"Surveys","count":49},{"language":"default","tag":"API v1 Reference","count":46},{"language":"default","tag":"Question Types","count":15},{"language":"default","tag":"General Features","count":14},{"language":"default","tag":"Features","count":12},{"language":"default","tag":"Link Surveys","count":8},{"language":"default","tag":"Website \u0026 App Surveys","count":7},{"language":"default","tag":"Management API > Survey","count":6},{"language":"default","tag":"Integrations","count":5}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/management-api->-storage/upload-public-file-to-local-storage","slug":"/api-reference/management-api->-storage/upload-public-file-to-local-storage","pageMetadata":{"title":"Upload Public File to Local Storage","description":"Management API endpoint for uploading public files to local storage. This endpoint requires authentication. File metadata is provided via headers (X-File-Type, X-File-Name, X-Environment-ID, X-Signature, X-UUID, X-Timestamp) and the file is provided as a multipart/form-data file field named \"file\". The \"Content-Type\" header must be set to a valid MIME type.","deprecated":null,"version":null,"openapi":"api-reference/openapi.json post /api/v1/management/storage/local","href":"/api-reference/management-api->-storage/upload-public-file-to-local-storage","autogeneratedByOpenApi":true},"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: \"Management API endpoint for uploading public files to local storage. This endpoint requires authentication. File metadata is provided via headers (X-File-Type, X-File-Name, X-Environment-ID, X-Signature, X-UUID, X-Timestamp) and the file is provided as a multipart/form-data file field named “file”. The “Content-Type” header must be set to a valid MIME type.\"\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Upload Public File to Local Storage","description":"Management API endpoint for uploading public files to local storage. This endpoint requires authentication. File metadata is provided via headers (X-File-Type, X-File-Name, X-Environment-ID, X-Signature, X-UUID, X-Timestamp) and the file is provided as a multipart/form-data file field named \"file\". The \"Content-Type\" header must be set to a valid MIME type.","deprecated":null,"version":null,"openapi":"api-reference/openapi.json post /api/v1/management/storage/local","href":"/api-reference/management-api->-storage/upload-public-file-to-local-storage","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"description":"Management API endpoint for uploading public files to local storage. This endpoint requires authentication. File metadata is provided via headers (X-File-Type, X-File-Name, X-Environment-ID, X-Signature, X-UUID, X-Timestamp) and the file is provided as a multipart/form-data file field named \"file\". The \"Content-Type\" header must be set to a valid MIME type.","parameters":["55714fab-ced9-46f7-b6b5-838f6b6e4a1a","e3adb71d-3684-44bb-8303-1043100e73d2","0e47e049-7a6b-4517-83e8-e2a00308a1f0","74a0163d-80f1-47a8-9651-6b5ffe62fb3c","cb10466a-1e95-409d-b497-6a8d2759d839","0ad25afe-54a1-4025-aa20-fb78d3fbc3ef","99437626-8d67-4cfb-98a5-74e08c6c56e2"],"requestBody":"aa750627-399c-4d58-b092-783558d6374d","responses":{"200":"d357672b-7a09-4398-a13d-e37dac7a9cb3","400":"89563e3b-7c48-431f-9608-d84f68c172e0","401":"35f66fd1-91ef-4bf4-ba48-63c7d7fc6010","500":"6a770bc7-715c-4c40-b638-c84599a968f3"},"servers":["a75f64bd-c842-455b-9c1d-d1269fd7915c"],"summary":"Upload Public File to Local Storage","tags":["Management API > Storage"],"method":"post","type":"path","security":[],"path":"/api/v1/management/storage/local","baseUrlOptions":["https://app.feedbackflowhq.com/api/v1"],"title":"Upload Public File to Local Storage","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"55714fab-ced9-46f7-b6b5-838f6b6e4a1a":{"example":"{{apiKey}}","in":"header","name":"x-api-key","required":true,"schema":{"type":"string","isRequired":true,"uniqueKey":"","typeLabel":"string"}},"e3adb71d-3684-44bb-8303-1043100e73d2":{"description":"MIME type of the file. Must be a valid MIME type.","in":"header","name":"X-File-Type","required":true,"schema":{"type":"string","isRequired":true,"description":"MIME type of the file. Must be a valid MIME type.","uniqueKey":"","typeLabel":"string"}},"0e47e049-7a6b-4517-83e8-e2a00308a1f0":{"description":"URI encoded file name.","in":"header","name":"X-File-Name","required":true,"schema":{"type":"string","isRequired":true,"description":"URI encoded file name.","uniqueKey":"","typeLabel":"string"}},"74a0163d-80f1-47a8-9651-6b5ffe62fb3c":{"description":"ID of the environment.","in":"header","name":"X-Environment-ID","required":true,"schema":{"type":"string","isRequired":true,"description":"ID of the environment.","uniqueKey":"","typeLabel":"string"}},"cb10466a-1e95-409d-b497-6a8d2759d839":{"description":"Signature for verifying the request.","in":"header","name":"X-Signature","required":true,"schema":{"type":"string","isRequired":true,"description":"Signature for verifying the request.","uniqueKey":"","typeLabel":"string"}},"0ad25afe-54a1-4025-aa20-fb78d3fbc3ef":{"description":"Unique identifier for the signed upload.","in":"header","name":"X-UUID","required":true,"schema":{"type":"string","isRequired":true,"description":"Unique identifier for the signed upload.","uniqueKey":"","typeLabel":"string"}},"99437626-8d67-4cfb-98a5-74e08c6c56e2":{"description":"Timestamp used for the signature.","in":"header","name":"X-Timestamp","required":true,"schema":{"type":"string","isRequired":true,"description":"Timestamp used for the signature.","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"content":{"multipart/form-data":{"schema":{"properties":{"file":{"description":"The file to be uploaded as a valid file object (buffer).","format":"binary","type":"string","isRequired":true,"uniqueKey":"file","typeLabel":"file"}},"required":["file"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"file":"\u003cstring>"}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"d357672b-7a09-4398-a13d-e37dac7a9cb3":{"content":{"application/json":{"example":{"data":{"message":"File uploaded successfully"}},"schema":{"properties":{"data":{"properties":{"message":{"description":"Success message.","type":"string","uniqueKey":"data.message","typeLabel":"string"}},"type":"object","uniqueKey":"data","typeLabel":"object"}},"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":{"message":"File uploaded successfully"}}}},"exampleType":"examples"}},"description":"OK - File uploaded successfully.","exampleType":"examples"},"89563e3b-7c48-431f-9608-d84f68c172e0":{"content":{"application/json":{"example":{"error":"fileType is required"},"schema":{"properties":{"error":{"description":"Detailed error message.","type":"string","uniqueKey":"error","typeLabel":"string"}},"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"fileType is required"}}},"exampleType":"examples"}},"description":"Bad Request - Missing required fields, invalid header values, or file issues.","exampleType":"examples"},"35f66fd1-91ef-4bf4-ba48-63c7d7fc6010":{"content":{"application/json":{"example":{"error":"Not authenticated"},"schema":{"properties":{"error":{"description":"Detailed error message.","type":"string","uniqueKey":"error","typeLabel":"string"}},"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"Not authenticated"}}},"exampleType":"examples"}},"description":"Unauthorized - Authentication failed, invalid signature, or user not authorized.","exampleType":"examples"},"6a770bc7-715c-4c40-b638-c84599a968f3":{"content":{"application/json":{"example":{"error":"File upload failed"},"schema":{"properties":{"error":{"description":"Detailed error message.","type":"string","uniqueKey":"error","typeLabel":"string"}},"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"File upload failed"}}},"exampleType":"examples"}},"description":"Internal Server Error - File upload failed due to server error.","exampleType":"examples"}},"security":{},"servers":{"a75f64bd-c842-455b-9c1d-d1269fd7915c":{"description":"Formbricks API Server","url":"https://app.feedbackflowhq.com/api/v1"}}},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"fiscalo","siteName":"Documentation - Feedbackflow","title":"Upload Public File to Local Storage - Documentation - Feedbackflow","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-07T02:47:51.146Z","originalFileLocation":"api-reference/management-api->-storage/upload-public-file-to-local-storage.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=\"Management API endpoint for uploading public files to local storage. This endpoint requires authentication. File metadata is provided via headers (X-File-Type, X-File-Name, X-Environment-ID, X-Signature, X-UUID, X-Timestamp) and the file is provided as a multipart/form-data file field named \u0026quot;file\u0026quot;. The \u0026quot;Content-Type\u0026quot; header must be set to a valid MIME type.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Documentation - Feedbackflow\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/fiscalo/ewbFilOtFfOcG9VI/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/fiscalo/ewbFilOtFfOcG9VI/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/fiscalo/ewbFilOtFfOcG9VI/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/fiscalo/ewbFilOtFfOcG9VI/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/fiscalo/ewbFilOtFfOcG9VI/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/fiscalo/ewbFilOtFfOcG9VI/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/fiscalo/ewbFilOtFfOcG9VI/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/fiscalo/ewbFilOtFfOcG9VI/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/fiscalo/ewbFilOtFfOcG9VI/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Upload Public File to Local Storage - Documentation - Feedbackflow\">\u003cmeta data-mint-head property=\"og:description\" content=\"Management API endpoint for uploading public files to local storage. This endpoint requires authentication. File metadata is provided via headers (X-File-Type, X-File-Name, X-Environment-ID, X-Signature, X-UUID, X-Timestamp) and the file is provided as a multipart/form-data file field named \u0026quot;file\u0026quot;. The \u0026quot;Content-Type\u0026quot; header must be set to a valid MIME type.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Documentation - Feedbackflow\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.feedbackflowhq.com/api-reference/management-api-\u0026gt;-storage/upload-public-file-to-local-storage\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://fiscalo.mintlify.app/_mintlify/api/og/v2?division=Management+API+%3E+Storage\u0026amp;title=Upload+Public+File+to+Local+Storage\u0026amp;description=Management+API+endpoint+for+uploading+public+files+to+local+storage.+This+endpoint+requires+authentication.+File+metadata+is+provided+via+headers+%28X-File-Type%2C+\u0026amp;theme=f9998d6030a495191786d41b\u0026amp;signature=302539dc15b69672594145fef3bcd97ee2d5c2946692a872a832a88ebe0fba61\">\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=\"Upload Public File to Local Storage - Documentation - Feedbackflow\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Management API endpoint for uploading public files to local storage. This endpoint requires authentication. File metadata is provided via headers (X-File-Type, X-File-Name, X-Environment-ID, X-Signature, X-UUID, X-Timestamp) and the file is provided as a multipart/form-data file field named \u0026quot;file\u0026quot;. The \u0026quot;Content-Type\u0026quot; header must be set to a valid MIME type.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://fiscalo.mintlify.app/_mintlify/api/og/v2?division=Management+API+%3E+Storage\u0026amp;title=Upload+Public+File+to+Local+Storage\u0026amp;description=Management+API+endpoint+for+uploading+public+files+to+local+storage.+This+endpoint+requires+authentication.+File+metadata+is+provided+via+headers+%28X-File-Type%2C+\u0026amp;theme=f9998d6030a495191786d41b\u0026amp;signature=302539dc15b69672594145fef3bcd97ee2d5c2946692a872a832a88ebe0fba61\">\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=\"/mintlify-assets/_mintlify/favicons/fiscalo/ewbFilOtFfOcG9VI/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Documentation - Feedbackflow\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3145ea\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.feedbackflowhq.com/api-reference/management-api-\u0026gt;-storage/upload-public-file-to-local-storage\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/management-api-%3E-storage/upload-public-file-to-local-storage.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.feedbackflowhq.com/#organization\",\"name\":\"Documentation - Feedbackflow\",\"url\":\"https://docs.feedbackflowhq.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/fiscalo/M-oZ6DwX5VooHCX2/images/logo-dark.svg?fit=max\u0026auto=format\u0026n=M-oZ6DwX5VooHCX2\u0026q=85\u0026s=8cdc2574604ecc3e50eaf232fdaf8653\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.feedbackflowhq.com#website\",\"name\":\"Documentation - Feedbackflow\",\"url\":\"https://docs.feedbackflowhq.com\",\"publisher\":{\"@id\":\"https://docs.feedbackflowhq.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.feedbackflowhq.com/api-reference/management-api-%3E-storage/upload-public-file-to-local-storage#webpage\",\"url\":\"https://docs.feedbackflowhq.com/api-reference/management-api-%3E-storage/upload-public-file-to-local-storage\",\"name\":\"Upload Public File to Local Storage\",\"description\":\"Management API endpoint for uploading public files to local storage. This endpoint requires authentication. File metadata is provided via headers (X-File-Type, X-File-Name, X-Environment-ID, X-Signature, X-UUID, X-Timestamp) and the file is provided as a multipart/form-data file field named \\\"file\\\". The \\\"Content-Type\\\" header must be set to a valid MIME type.\",\"dateModified\":\"2026-01-07T02:47:51.146Z\",\"isPartOf\":{\"@id\":\"https://docs.feedbackflowhq.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.feedbackflowhq.com/api-reference/management-api-%3E-storage/upload-public-file-to-local-storage#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.feedbackflowhq.com/api-reference/management-api-%3E-storage/upload-public-file-to-local-storage#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Management API > Storage\",\"item\":\"https://docs.feedbackflowhq.com/api-reference/management-api-%3E-storage/upload-public-file\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Upload Public File to Local Storage\",\"item\":\"https://docs.feedbackflowhq.com/api-reference/management-api-%3E-storage/upload-public-file-to-local-storage\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.feedbackflowhq.com/api-reference/management-api-%3E-storage/upload-public-file-to-local-storage#apireference\",\"headline\":\"Upload Public File to Local Storage\",\"name\":\"Upload Public File to Local Storage\",\"description\":\"Management API endpoint for uploading public files to local storage. This endpoint requires authentication. File metadata is provided via headers (X-File-Type, X-File-Name, X-Environment-ID, X-Signature, X-UUID, X-Timestamp) and the file is provided as a multipart/form-data file field named \\\"file\\\". The \\\"Content-Type\\\" header must be set to a valid MIME type.\",\"url\":\"https://docs.feedbackflowhq.com/api-reference/management-api-%3E-storage/upload-public-file-to-local-storage\",\"mainEntityOfPage\":{\"@id\":\"https://docs.feedbackflowhq.com/api-reference/management-api-%3E-storage/upload-public-file-to-local-storage#webpage\"},\"dateModified\":\"2026-01-07T02:47:51.146Z\",\"publisher\":{\"@id\":\"https://docs.feedbackflowhq.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.feedbackflowhq.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Documentation - Feedbackflow\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Documentation - Feedbackflow","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/overview/introduction"}]},{"tab":"XM \u0026 Surveys","pages":[{"title":"XM \u0026 Surveys","href":"/xm-and-surveys/overview"}]},{"tab":"API v1 Reference","groups":[{"group":"API v1 Documentation","pages":[{"title":"REST API","icon":"code","href":"/api-reference/rest-api"},{"title":"Generate API Key","icon":"key","href":"/api-reference/generate-key"},{"title":"Test API Key","icon":"message-check","href":"/api-reference/test-key"}]},{"group":"Client API > Response","pages":[{"title":"Update Response","deprecated":null,"version":null,"openapi":"api-reference/openapi.json put /api/v1/client/responses/{responseId}","href":"/api-reference/client-api->-response/update-response"},{"title":"Create Response","deprecated":null,"version":null,"openapi":"api-reference/openapi.json post /api/v1/client/{environmentId}/responses","href":"/api-reference/client-api->-response/create-response"}]},{"group":"Client API > Contacts","pages":[{"title":"Update Contact (Attributes)","deprecated":null,"version":null,"openapi":"api-reference/openapi.json put /api/v1/client/{environmentId}/contacts/{userId}/attributes","href":"/api-reference/client-api->-contacts/update-contact-attributes"},{"title":"Get Contact State","deprecated":null,"version":null,"openapi":"api-reference/openapi.json get /api/v1/client/{environmentId}/identify/contacts/{userId}","href":"/api-reference/client-api->-contacts/get-contact-state"}]},{"group":"Client API > Display","pages":[{"title":"Create Display","deprecated":null,"version":null,"openapi":"api-reference/openapi.json post /api/v1/client/{environmentId}/displays","href":"/api-reference/client-api->-display/create-display"},{"title":"Update Display","deprecated":null,"version":null,"openapi":"api-reference/openapi.json put /api/v1/client/{environmentId}/displays/{displayId}","href":"/api-reference/client-api->-display/update-display"}]},{"group":"Client API > Environment","pages":[{"title":"Get Environment State","deprecated":null,"version":null,"openapi":"api-reference/openapi.json get /api/v1/client/{environmentId}/environment","href":"/api-reference/client-api->-environment/get-environment-state"}]},{"group":"Client API > User","pages":[{"title":"Create or Identify User","deprecated":null,"version":null,"openapi":"api-reference/openapi.json post /api/v1/client/{environmentId}/user","href":"/api-reference/client-api->-user/create-or-identify-user"}]},{"group":"Management API > Action Class","pages":[{"title":"Get All Action Classes","deprecated":null,"version":null,"openapi":"api-reference/openapi.json get /api/v1/management/action-classes","href":"/api-reference/management-api->-action-class/get-all-action-classes"},{"title":"Create Action Class","deprecated":null,"version":null,"openapi":"api-reference/openapi.json post /api/v1/management/action-classes","href":"/api-reference/management-api->-action-class/create-action-class"},{"title":"Get Action Class by ID","deprecated":null,"version":null,"openapi":"api-reference/openapi.json get /api/v1/management/action-classes/{actionClassId}","href":"/api-reference/management-api->-action-class/get-action-class-by-id"},{"title":"Delete Action Class","deprecated":null,"version":null,"openapi":"api-reference/openapi.json delete /api/v1/management/action-classes/{actionClassId}","href":"/api-reference/management-api->-action-class/delete-action-class"}]},{"group":"Management API > Attribute Class","pages":[{"title":"Get All Attribute Classes","deprecated":null,"version":null,"openapi":"api-reference/openapi.json get /api/v1/management/attribute-classes","href":"/api-reference/management-api->-attribute-class/get-all-attribute-classes"},{"title":"Create Attribute Class","deprecated":null,"version":null,"openapi":"api-reference/openapi.json post /api/v1/management/attribute-classes","href":"/api-reference/management-api->-attribute-class/create-attribute-class"},{"title":"Get Attribute Class by ID","deprecated":null,"version":null,"openapi":"api-reference/openapi.json get /api/v1/management/attribute-classes/{attributeClassId}","href":"/api-reference/management-api->-attribute-class/get-attribute-class-by-id"},{"title":"Delete Attribute Class","deprecated":null,"version":null,"openapi":"api-reference/openapi.json delete /api/v1/management/attribute-classes/{attributeClassId}","href":"/api-reference/management-api->-attribute-class/delete-attribute-class"}]},{"group":"Management API > Contact Attribute Keys","pages":[{"title":"Get All Contact Attribute Keys","deprecated":null,"version":null,"openapi":"api-reference/openapi.json get /api/v1/management/contact-attribute-keys","href":"/api-reference/management-api->-contact-attribute-keys/get-all-contact-attribute-keys"},{"title":"Get Contact Attribute Key by ID","deprecated":null,"version":null,"openapi":"api-reference/openapi.json get /api/v1/management/contact-attribute-keys/{contactAttributeKeyId}","href":"/api-reference/management-api->-contact-attribute-keys/get-contact-attribute-key-by-id"}]},{"group":"Management API > Contact Attributes","pages":[{"title":"Get All Contact Attributes","deprecated":null,"version":null,"openapi":"api-reference/openapi.json get /api/v1/management/contact-attributes","href":"/api-reference/management-api->-contact-attributes/get-all-contact-attributes"}]},{"group":"Management API > Contacts","pages":[{"title":"Get All Contacts","deprecated":null,"version":null,"openapi":"api-reference/openapi.json get /api/v1/management/contacts","href":"/api-reference/management-api->-contacts/get-all-contacts"},{"title":"Get Contact by ID","deprecated":null,"version":null,"openapi":"api-reference/openapi.json get /api/v1/management/contacts/{contactId}","href":"/api-reference/management-api->-contacts/get-contact-by-id"}]},{"group":"Management API > Me","pages":[{"title":"Me","deprecated":null,"version":null,"openapi":"api-reference/openapi.json get /api/v1/management/me","href":"/api-reference/management-api->-me/me"}]},{"group":"Management API > People","pages":[{"title":"Get All Persons","deprecated":null,"version":null,"openapi":"api-reference/openapi.json get /api/v1/management/people","href":"/api-reference/management-api->-people/get-all-persons"},{"title":"Get Person by ID","deprecated":null,"version":null,"openapi":"api-reference/openapi.json get /api/v1/management/people/{personId}","href":"/api-reference/management-api->-people/get-person-by-id"},{"title":"Delete Person","deprecated":null,"version":null,"openapi":"api-reference/openapi.json delete /api/v1/management/people/{personId}","href":"/api-reference/management-api->-people/delete-person"}]},{"group":"Management API > Response","pages":[{"title":"Get Survey Responses","deprecated":null,"version":null,"openapi":"api-reference/openapi.json get /api/v1/management/responses","href":"/api-reference/management-api->-response/get-survey-responses"},{"title":"Create Response","deprecated":null,"version":null,"openapi":"api-reference/openapi.json post /api/v1/management/responses","href":"/api-reference/management-api->-response/create-response"},{"title":"Get Response by ID","deprecated":null,"version":null,"openapi":"api-reference/openapi.json get /api/v1/management/responses/{responseId}","href":"/api-reference/management-api->-response/get-response-by-id"},{"title":"Update Response","deprecated":null,"version":null,"openapi":"api-reference/openapi.json put /api/v1/management/responses/{responseId}","href":"/api-reference/management-api->-response/update-response"},{"title":"Delete Response","deprecated":null,"version":null,"openapi":"api-reference/openapi.json delete /api/v1/management/responses/{responseId}","href":"/api-reference/management-api->-response/delete-response"}]},{"group":"Management API > Storage","pages":[{"title":"Upload Public File","description":"API endpoint for uploading public files. Uploaded files are public and accessible by anyone. This endpoint requires authentication. It accepts a JSON body with fileName, fileType, environmentId, and optionally allowedFileExtensions to restrict file types. On success, it returns a signed URL for uploading the file to S3 along with a local upload URL.","deprecated":null,"version":null,"openapi":"api-reference/openapi.json post /api/v1/management/storage","href":"/api-reference/management-api->-storage/upload-public-file"},{"title":"Upload Public File to Local Storage","deprecated":null,"version":null,"openapi":"api-reference/openapi.json post /api/v1/management/storage/local","href":"/api-reference/management-api->-storage/upload-public-file-to-local-storage"}]},{"group":"Management API > Survey","pages":[{"title":"Get All Surveys","description":"Fetches all existing surveys","deprecated":null,"version":null,"openapi":"api-reference/openapi.json get /api/v1/management/surveys","href":"/api-reference/management-api->-survey/get-all-surveys"},{"title":"Create Survey","deprecated":null,"version":null,"openapi":"api-reference/openapi.json post /api/v1/management/surveys","href":"/api-reference/management-api->-survey/create-survey"},{"title":"Get Survey by ID","deprecated":null,"version":null,"openapi":"api-reference/openapi.json get /api/v1/management/surveys/{surveyId}","href":"/api-reference/management-api->-survey/get-survey-by-id"},{"title":"Update Survey","deprecated":null,"version":null,"openapi":"api-reference/openapi.json put /api/v1/management/surveys/{surveyId}","href":"/api-reference/management-api->-survey/update-survey"},{"title":"Delete Survey","deprecated":null,"version":null,"openapi":"api-reference/openapi.json delete /api/v1/management/surveys/{surveyId}","href":"/api-reference/management-api->-survey/delete-survey"},{"title":"Get SingleUse Links","deprecated":null,"version":null,"openapi":"api-reference/openapi.json get /api/v1/management/surveys/{surveyId}/singleUseIds","href":"/api-reference/management-api->-survey/get-singleuse-links"}]},{"group":"Management API > Webhook","pages":[{"title":"Get All Webhooks","deprecated":null,"version":null,"openapi":"api-reference/openapi.json get /api/v1/webhooks","href":"/api-reference/management-api->-webhook/get-all-webhooks"},{"title":"Create Webhook","deprecated":null,"version":null,"openapi":"api-reference/openapi.json post /api/v1/webhooks","href":"/api-reference/management-api->-webhook/create-webhook"},{"title":"Get Webhook","deprecated":null,"version":null,"openapi":"api-reference/openapi.json get /api/v1/webhooks/{webhookId}","href":"/api-reference/management-api->-webhook/get-webhook"},{"title":"Delete Webhook","deprecated":null,"version":null,"openapi":"api-reference/openapi.json delete /api/v1/webhooks/{webhookId}","href":"/api-reference/management-api->-webhook/delete-webhook"}]},{"group":"Health","pages":[{"openapi":"get /health","title":"Health Check","href":"/api-reference/health/health-check"}]}]}]},"basePath":"","title":"Upload Public File to Local Storage - Documentation - Feedbackflow","buildId":"dpl_9VVk5y1P8k1ATeJguVngy9Q3cmbD","deploymentId":"dpl_9VVk5y1P8k1ATeJguVngy9Q3cmbD","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DX1Meug0.js","utils-B_OMIQVC.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-ChxhRPMa.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-CuKvD8Iv.js","snippetPresets-C5d7p2hp.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CfHcE8m4.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C1zZV314.js","shallow-CmQhqCJn.js","getApiPlaygroundDisplay-YRo9s1O7.js","CodeSnippet-RN1MTdfk.js","CodeSnippets-DKLPHxJA.js","Page-BAvA99GL.js","getPastedJson-bz0M41mU.js","icon-CsmhpPrv.js","MethodPill-CNGsVE77.js","DuplicateIcon-DilfU_Z2.js","createIcon-BdsYzQck.js","DynamicMarkdown-CbqEDjbV.js","SectionHeading-O6hXpFCN.js","axios-vUo_bRtp.js","Markdown-nKm-uidQ.js","clsx-ClVdStUn.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CIQkMg3R.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-ImrFS4Fy.js"]}