Security guidelines for building with the Mufi API
Follow these practices to keep your integration and your users safe.
API Key Security
Your API key grants full access to your project. Treat it like a password.
Store in environment variables — never hardcode keys in source code or commit them to version control
Server-side only — API keys should only be used on your backend. Never expose them in client-side code, mobile apps, or browser JavaScript
Rotate when compromised — if you suspect a key has been leaked, regenerate it immediately from the Mufi Dashboard
Least privilege — use read-only keys for endpoints that only need to query data
Dashboard Access
Limit access — only grant Mufi Dashboard access to team members who need it
Use strong authentication — set up a time-based one-time password (e.g., Google Authenticator) for your dashboard account
Audit regularly — review who has access to your project and remove inactive team members
Transport Security
Always use HTTPS — all requests to the Mufi API must use HTTPS. Never make API calls over plain HTTP
Validate SSL certificates — ensure your HTTP client verifies SSL certificates to prevent man-in-the-middle attacks
Frontend Security
If your application has a frontend that interacts with your backend (which then calls the Mufi API):
Content Security Policy (CSP)
Enforce a strict CSP to prevent cross-site scripting (XSS) attacks
Limit permissible JavaScript sources and avoid unsafe-inline
Set appropriate frame-src directives if embedding content
CORS Configuration
Specify exact origins — avoid wildcards (*) in production
Be especially strict in your production environment (no localhost origins)
Review CORS settings when deploying to new domains
General
Implement TLS/HTTPS for all requests from your frontend to your backend
Avoid open redirects that could be exploited for phishing
Sanitize all user input before processing
Incident Response
If a team member’s account is compromised:
Immediately regenerate all API keys for affected projects
Review recent activity in the Mufi Dashboard for unauthorized actions
Revoke access for the compromised account
Contact us at connect@mufi.app if you suspect unauthorized API activity
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Mufi","colors":{"primary":"#b7ff02","light":"#b7ff02","dark":"#080408"},"logo":{"light":"https://mintcdn.com/mufi-c3b4e9a4/9yxXrvWpIAZr8_21/logo/mufi-logo-white.svg?fit=max\u0026auto=format\u0026n=9yxXrvWpIAZr8_21\u0026q=85\u0026s=77e9b71ad2759fee018192b0eea1f87f","dark":"https://mintcdn.com/mufi-c3b4e9a4/9yxXrvWpIAZr8_21/logo/mufi-logo-white.svg?fit=max\u0026auto=format\u0026n=9yxXrvWpIAZr8_21\u0026q=85\u0026s=77e9b71ad2759fee018192b0eea1f87f"},"favicon":"/favicon.svg","appearance":{"default":"dark","strict":true},"background":{"decoration":"gradient","color":{"light":"#080408","dark":"#080408"}},"navbar":{"primary":{"type":"button","label":"Get Started","href":"https://my.mufi.app"}},"footer":{"socials":{"website":"https://mufi.app","twitter":"https://x.com/MusicFinance","discord":"https://discord.gg/SASbjT3B","telegram":"https://t.me/mufi_wallet","github":"https://github.com/mufitech","linkedin":"https://www.linkedin.com/company/mufi"}},"search":{"prompt":"Search..."},"fonts":{"heading":{"family":"Space Grotesk"},"body":{"family":"Plus Jakarta Sans"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"mufi-c3b4e9a4","hasAudioNarration":false,"actualSubdomain":"mufi-c3b4e9a4","customDomains":["docs.mufi.app"],"gitSource":{"type":"github","owner":"mufitech","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae92203142dc7511ce6f6f9:success","clientVersion":"0.0.4143","searchFilterCounts":[{"language":"default","tag":"Overview","count":11},{"language":"default","tag":"Users","count":9},{"language":"default","tag":"Products","count":8},{"language":"default","tag":"Events","count":8},{"language":"default","tag":"Products Endpoints","count":7},{"language":"default","tag":"Events Endpoints","count":7},{"language":"default","tag":"Users Endpoints","count":7},{"language":"default","tag":"Getting Started","count":6},{"language":"default","tag":"Security \u0026 Infrastructure","count":4},{"language":"default","tag":"Platform","count":3}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","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":"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":"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":"editor-metadata","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},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[],"page":{"pagePath":"docs/best-practices","slug":"/docs/best-practices","pageMetadata":{"title":"Best Practices","description":"Security guidelines for building with the Mufi API","href":"/docs/best-practices"},"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: \"Security guidelines for building with the Mufi API\"\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={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Warning}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Follow these practices to keep your integration and your users safe.`}),`\n`,_jsx(Heading,{level:`2`,id:`api-key-security`,children:`API Key Security`}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Your API key grants full access to your project. Treat it like a password.`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Store in environment variables`}),` — never hardcode keys in source code or commit them to version control`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Server-side only`}),` — API keys should only be used on your backend. Never expose them in client-side code, mobile apps, or browser JavaScript`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Rotate when compromised`}),` — if you suspect a key has been leaked, regenerate it immediately from the `,_jsx(_components.a,{href:`https://my.mufi.app`,children:`Mufi Dashboard`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Least privilege`}),` — use read-only keys for endpoints that only need to query data`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`dashboard-access`,children:`Dashboard Access`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Limit access`}),` — only grant Mufi Dashboard access to team members who need it`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Use strong authentication`}),` — set up a time-based one-time password (e.g., Google Authenticator) for your dashboard account`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Audit regularly`}),` — review who has access to your project and remove inactive team members`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`transport-security`,children:`Transport Security`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Always use HTTPS`}),` — all requests to the Mufi API must use HTTPS. Never make API calls over plain HTTP`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Validate SSL certificates`}),` — ensure your HTTP client verifies SSL certificates to prevent man-in-the-middle attacks`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`frontend-security`,children:`Frontend Security`}),`\n`,_jsx(_components.p,{children:`If your application has a frontend that interacts with your backend (which then calls the Mufi API):`}),`\n`,_jsx(Heading,{level:`3`,id:`content-security-policy-csp`,children:`Content Security Policy (CSP)`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Enforce a strict CSP to prevent cross-site scripting (XSS) attacks`}),`\n`,_jsxs(_components.li,{children:[`Limit permissible JavaScript sources and avoid `,_jsx(_components.code,{children:`unsafe-inline`})]}),`\n`,_jsxs(_components.li,{children:[`Set appropriate `,_jsx(_components.code,{children:`frame-src`}),` directives if embedding content`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`cors-configuration`,children:`CORS Configuration`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Specify exact origins — avoid wildcards (`,_jsx(_components.code,{children:`*`}),`) in production`]}),`\n`,_jsxs(_components.li,{children:[`Be especially strict in your production environment (no `,_jsx(_components.code,{children:`localhost`}),` origins)`]}),`\n`,_jsx(_components.li,{children:`Review CORS settings when deploying to new domains`}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`general`,children:`General`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Implement TLS/HTTPS for all requests from your frontend to your backend`}),`\n`,_jsx(_components.li,{children:`Avoid open redirects that could be exploited for phishing`}),`\n`,_jsx(_components.li,{children:`Sanitize all user input before processing`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`incident-response`,children:`Incident Response`}),`\n`,_jsx(_components.p,{children:`If a team member’s account is compromised:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Immediately regenerate`}),` all API keys for affected projects`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Review recent activity`}),` in the Mufi Dashboard for unauthorized actions`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Revoke access`}),` for the compromised account`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Contact us`}),` at `,_jsx(_components.a,{href:`mailto:connect@mufi.app`,children:`connect@mufi.app`}),` if you suspect unauthorized API activity`]}),`\n`]})]})}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":"Best Practices","description":"Security guidelines for building with the Mufi API","href":"/docs/best-practices"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"API Key Security","slug":"api-key-security","depth":2,"children":[]},{"title":"Dashboard Access","slug":"dashboard-access","depth":2,"children":[]},{"title":"Transport Security","slug":"transport-security","depth":2,"children":[]},{"title":"Frontend Security","slug":"frontend-security","depth":2,"children":[{"title":"Content Security Policy (CSP)","slug":"content-security-policy-csp","depth":3,"children":[]},{"title":"CORS Configuration","slug":"cors-configuration","depth":3,"children":[]},{"title":"General","slug":"general","depth":3,"children":[]}]},{"title":"Incident Response","slug":"incident-response","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"mufi-c3b4e9a4","siteName":"Mufi","title":"Best Practices - Mufi","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-03-31T18:04:21.838Z","originalFileLocation":"docs/best-practices.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"dark\";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=\"dark\"}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=\"Security guidelines for building with the Mufi API\">\u003cmeta data-mint-head name=\"application-name\" content=\"Mufi\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/mufi-c3b4e9a4/jeKtxkWyBRrXgK-J/_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/mufi-c3b4e9a4/jeKtxkWyBRrXgK-J/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/mufi-c3b4e9a4/jeKtxkWyBRrXgK-J/_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/mufi-c3b4e9a4/jeKtxkWyBRrXgK-J/_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/mufi-c3b4e9a4/jeKtxkWyBRrXgK-J/_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/mufi-c3b4e9a4/jeKtxkWyBRrXgK-J/_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/mufi-c3b4e9a4/jeKtxkWyBRrXgK-J/_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/mufi-c3b4e9a4/jeKtxkWyBRrXgK-J/_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/mufi-c3b4e9a4/jeKtxkWyBRrXgK-J/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Best Practices - Mufi\">\u003cmeta data-mint-head property=\"og:description\" content=\"Security guidelines for building with the Mufi API\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Mufi\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.mufi.app/docs/best-practices\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://mufi-c3b4e9a4.mintlify.site/_mintlify/api/og/v2?division=Getting+Started\u0026amp;title=Best+Practices\u0026amp;description=Security+guidelines+for+building+with+the+Mufi+API\u0026amp;theme=04095e610e7737d5f621f813\u0026amp;signature=aaf2aff459f4c5251ea2d7cda766a4b36a1b0b54e635c51219d9267fadcde561\">\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=\"Best Practices - Mufi\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Security guidelines for building with the Mufi API\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://mufi-c3b4e9a4.mintlify.site/_mintlify/api/og/v2?division=Getting+Started\u0026amp;title=Best+Practices\u0026amp;description=Security+guidelines+for+building+with+the+Mufi+API\u0026amp;theme=04095e610e7737d5f621f813\u0026amp;signature=aaf2aff459f4c5251ea2d7cda766a4b36a1b0b54e635c51219d9267fadcde561\">\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/mufi-c3b4e9a4/jeKtxkWyBRrXgK-J/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Mufi\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#b7ff02\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.mufi.app/docs/best-practices\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/best-practices.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.mufi.app/#organization\",\"name\":\"Mufi\",\"url\":\"https://docs.mufi.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/mufi-c3b4e9a4/9yxXrvWpIAZr8_21/logo/mufi-logo-white.svg?fit=max\u0026auto=format\u0026n=9yxXrvWpIAZr8_21\u0026q=85\u0026s=77e9b71ad2759fee018192b0eea1f87f\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.mufi.app#website\",\"name\":\"Mufi\",\"url\":\"https://docs.mufi.app\",\"publisher\":{\"@id\":\"https://docs.mufi.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.mufi.app/docs/best-practices#webpage\",\"url\":\"https://docs.mufi.app/docs/best-practices\",\"name\":\"Best Practices\",\"description\":\"Security guidelines for building with the Mufi API\",\"dateModified\":\"2026-03-31T18:04:21.838Z\",\"isPartOf\":{\"@id\":\"https://docs.mufi.app#website\"},\"breadcrumb\":{\"@id\":\"https://docs.mufi.app/docs/best-practices#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.mufi.app/docs/best-practices#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Getting Started\",\"item\":\"https://docs.mufi.app/docs/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Best Practices\",\"item\":\"https://docs.mufi.app/docs/best-practices\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.mufi.app/docs/best-practices#article\",\"headline\":\"Best Practices\",\"name\":\"Best Practices\",\"description\":\"Security guidelines for building with the Mufi API\",\"url\":\"https://docs.mufi.app/docs/best-practices\",\"mainEntityOfPage\":{\"@id\":\"https://docs.mufi.app/docs/best-practices#webpage\"},\"dateModified\":\"2026-03-31T18:04:21.838Z\",\"publisher\":{\"@id\":\"https://docs.mufi.app/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.mufi.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Mufi\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Mufi\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/best-practices.md","siteName":"Mufi","nav":{"global":null,"tabs":[{"tab":"Overview","groups":[{"group":"Getting Started","pages":[{"title":"Introduction","href":"/docs/introduction"},{"title":"Quickstart","description":"Go from zero to your first API call in 5 minutes","href":"/docs/quickstart"},{"title":"Best Practices","href":"/docs/best-practices"}]},{"group":"Platform","pages":[{"title":"Wallets API","description":"Custodial and non-custodial wallet management for the Polkadot network","href":"/docs/wallet-api/introduction"},{"title":"Events","href":"/docs/events-overview"},{"title":"Products","href":"/docs/products-overview"}]},{"group":"Security \u0026 Infrastructure","pages":[{"title":"Authentication","href":"/docs/wallet-api/authentication"},{"title":"Security","href":"/docs/wallet-api/security"},{"title":"Custodians","href":"/docs/wallet-api/custodians"},{"title":"Bring Your Own Wallet","href":"/docs/wallet-api/noncustodial"}]},{"group":"API Playground","pages":[{"openapi":"get /v1/version","title":"API Version","href":"/docs/endpoint/version/api-version"}]}]},{"tab":"Users","pages":[{"title":"Users","href":"/docs/users/introduction"}]},{"tab":"Events","pages":[{"title":"Events","href":"/docs/events/introduction"}]},{"tab":"Products","pages":[{"title":"Products","href":"/docs/products/introduction"}]}]},"basePath":"","title":"Best Practices - Mufi","buildId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","deploymentId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","dynamics":[],"chunks":[]}