Install the V2 to V3 migration skill so your coding agent updates your codebase from V2 to V3.
The ofauth-v2-to-v3-migration skill teaches a coding agent (Claude Code, Codex, Cursor, or any Agent Skills-compatible client) how to move your codebase from OFAuth V2 to V3. It follows the V2 to V3 migration guide and the current V3 API reference.The skill updates your application code only. You still run the organization cutover in the OFAuth dashboard.
What the agent does
Audits V2 usage. Searches for API keys (sk_live_..., sk_sandbox_...), /v2/* routes and the raw access proxy, x-connection-id, Link embed and /v2/link/init, /v2/account*, /v2/vault-plus, V2 SDKs, and webhook receivers reading svix-* headers.
Plans the migration. Maps each V2 call to its V3 operation and required read/write scope, flags removed V2 features, and shows you the plan before making large edits.
Rewrites the integration. Implements OAuth 2.0 + S256 PKCE at https://link.ofauth.com/v3/authorize, token exchange at https://api.ofauth.com/v3/link/token, stable refresh-token storage per linked_account_id, /v3/access/* with x-linked-account-id, /v3/vault-plus/*, /v3/linked-accounts, Standard Webhooks headers (webhook-*), V3 lifecycle events, and SSE Realtime where used.
Builds the account bundle import. Creates an idempotent import script for the post-cutover ofauth.migrated-accounts.v1 JSON bundle.
Verifies. Runs your test suite, checks that no V2 calls remain, and walks you through Test rehearsal and cutover day.
Install the skill
Run the install command from your repository root (on Windows, use Git Bash or WSL):
If your agent does not automatically load .agents/skills/, add this line to AGENTS.md:
When migrating OFAuth from V2 to V3, follow .agents/skills/ofauth-v2-to-v3-migration/SKILL.md and read the reference files it links.
Download the files with the Codex and others command, then add .cursor/rules/ofauth-v2-to-v3-migration.mdc:
---description: Migrating the OFAuth integration from V2 to V3globs:alwaysApply: false---When migrating OFAuth from V2 to V3, follow .agents/skills/ofauth-v2-to-v3-migration/SKILL.md and read the reference files it links.
Start the migration
Open your coding agent in the repository and paste:
Migrate this codebase from OFAuth V2 to V3 using the ofauth-v2-to-v3-migration skill. Start by finding every V2 usage and show me the plan before you edit code. Build the account bundle import too. Do not add real secrets to any file.
Steps only you should run:
Run the organization migration in the OFAuth dashboard, review Live callbacks, and save the Live client secret.
Configure your Sandbox, Test, and Live client IDs, client secrets, and webhook secret in your secret manager.
Run the Test rehearsal and verify Live client credentials.
After cutover, download the one-time account bundle and run the import script yourself.
Safety
The account bundle holds one refresh token for each migrated account. Treat it like your client secret: never commit it, paste it into an agent chat, or share it. Run the import yourself, then delete the file. If you lose it, an owner can regenerate it, which revokes every token from the previous bundle.
Review every diff before merging, especially token storage, the OAuth callback, and webhook verification.
Keep secrets in your secret manager or environment variables — never in code, fixtures, or prompts.
If your app uses a V2 route with no V3 operation, or a raw proxy path, contact support@ofauth.com before scheduling cutover.
Was this page helpful?
{"docsConfig":{"theme":"palm","$schema":"https://mintlify.com/docs.json","name":"OFAuth","description":"Documentation for OFAuth's OnlyFans API, account linking, SDKs, webhooks, and integration guides.","colors":{"primary":"#6366F1","light":"#818CF8","dark":"#4F46E5"},"logo":{"light":"https://mintcdn.com/ofauth/571ugJJGTSdXdJht/logo/light.svg?fit=max\u0026auto=format\u0026n=571ugJJGTSdXdJht\u0026q=85\u0026s=905d539cf2e1a6600a7a918aec6fe4a0","dark":"https://mintcdn.com/ofauth/571ugJJGTSdXdJht/logo/dark.svg?fit=max\u0026auto=format\u0026n=571ugJJGTSdXdJht\u0026q=85\u0026s=986b5b177d06200e8b49c3c32db37d00"},"favicon":"https://mintcdn.com/ofauth/Be9gAND7q7m4dJJj/favicon.ico?fit=max\u0026auto=format\u0026n=Be9gAND7q7m4dJJj\u0026q=85\u0026s=ab1e53351390f1b98a873656df5f7a0f","api":{"playground":{"display":"interactive"},"mdx":{"server":"https://api.ofauth.com"}},"background":{"decoration":"gradient"},"navbar":{"links":[{"href":"mailto:support@ofauth.com","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.ofauth.com"}},"footer":{"socials":{"telegram":"https://t.me/ofauth","github":"https://github.com/ofauth-org"}},"seo":{"indexing":"all"},"icons":{"library":"fontawesome"},"contextual":{"options":["copy","view","mcp","chatgpt","claude"],"display":"header"},"interaction":{"drilldown":true},"metadata":{"timestamp":false},"styling":{"latex":true},"navigation":{"global":{},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"ofauth","hasAudioNarration":false,"actualSubdomain":"ofauth","customDomains":["docs.ofauth.com"],"gitSource":{"type":"github","owner":"ofauth-source","repo":"public-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"edits":false,"thumbs":true,"issues":false},"entitlements":{},"buildId":"6b07dfd405f80256927411ad","clientVersion":"0.0.4336","searchFilterCounts":[{"language":"default","tag":"API Reference","count":492},{"language":"default","tag":"Access API","count":399},{"language":"default","tag":"Users","count":60},{"language":"default","tag":"Promotions","count":59},{"language":"default","tag":"Posts","count":54},{"language":"default","tag":"Analytics","count":52},{"language":"default","tag":"Docs","count":38},{"language":"default","tag":"Chats \u0026 Messages","count":36},{"language":"default","tag":"Media \u0026 Vault","count":34},{"language":"default","tag":"User Lists","count":32}]},"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":"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":"site-roles","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":"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":"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":"turbopuffer-dual-write","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":"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":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".nav-logo{height:32px}"}]}
{"page":{"pagePath":"v3/guides/migrate-with-an-ai-agent","slug":"/v3/guides/migrate-with-an-ai-agent","pageMetadata":{"title":"Migrate with an AI agent","sidebarTitle":"Migrate with an AI agent","description":"Install the V2 to V3 migration skill so your coding agent updates your codebase from V2 to V3.","href":"/v3/guides/migrate-with-an-ai-agent"},"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: \"Install the V2 to V3 migration skill so your coding agent updates your codebase from V2 to V3.\"\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`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Tab,Tabs,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`ofauth-v2-to-v3-migration`}),` skill teaches a coding agent (Claude Code, Codex, Cursor, or any Agent Skills-compatible client) how to move your codebase from OFAuth V2 to V3. It follows the `,_jsx(_components.a,{href:`/v3/guides/migrate-v2-to-v3`,children:`V2 to V3 migration guide`}),` and the current V3 API reference.`]}),`\n`,_jsx(_components.p,{children:`The skill updates your application code only. You still run the organization cutover in the OFAuth dashboard.`}),`\n`,_jsx(Heading,{level:`2`,id:`what-the-agent-does`,children:`What the agent does`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Audits V2 usage.`}),` Searches for API keys (`,_jsx(_components.code,{children:`sk_live_...`}),`, `,_jsx(_components.code,{children:`sk_sandbox_...`}),`), `,_jsx(_components.code,{children:`/v2/*`}),` routes and the raw access proxy, `,_jsx(_components.code,{children:`x-connection-id`}),`, Link embed and `,_jsx(_components.code,{children:`/v2/link/init`}),`, `,_jsx(_components.code,{children:`/v2/account*`}),`, `,_jsx(_components.code,{children:`/v2/vault-plus`}),`, V2 SDKs, and webhook receivers reading `,_jsx(_components.code,{children:`svix-*`}),` headers.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Plans the migration.`}),` Maps each V2 call to its V3 operation and required read/write scope, flags removed V2 features, and shows you the plan before making large edits.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Rewrites the integration.`}),` Implements OAuth 2.0 + S256 PKCE at `,_jsx(_components.code,{children:`https://link.ofauth.com/v3/authorize`}),`, token exchange at `,_jsx(_components.code,{children:`https://api.ofauth.com/v3/link/token`}),`, stable refresh-token storage per `,_jsx(_components.code,{children:`linked_account_id`}),`, `,_jsx(_components.code,{children:`/v3/access/*`}),` with `,_jsx(_components.code,{children:`x-linked-account-id`}),`, `,_jsx(_components.code,{children:`/v3/vault-plus/*`}),`, `,_jsx(_components.code,{children:`/v3/linked-accounts`}),`, Standard Webhooks headers (`,_jsx(_components.code,{children:`webhook-*`}),`), V3 lifecycle events, and SSE Realtime where used.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Builds the account bundle import.`}),` Creates an idempotent import script for the post-cutover `,_jsx(_components.code,{children:`ofauth.migrated-accounts.v1`}),` JSON bundle.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Verifies.`}),` Runs your test suite, checks that no V2 calls remain, and walks you through Test rehearsal and cutover day.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`install-the-skill`,children:`Install the skill`}),`\n`,_jsx(_components.p,{children:`Run the install command from your repository root (on Windows, use Git Bash or WSL):`}),`\n`,_jsxs(Tabs,{children:[_jsxs(Tab,{title:`Claude Code`,id:`claude-code`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,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:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`base`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`https://ofauth.com/skills/ofauth-v2-to-v3-migration`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` dir`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`.claude/skills/ofauth-v2-to-v3-migration`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`; `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -fsSL`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$base`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`/files.txt\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` while`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` read`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -r`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` f`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`; `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`do`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -fsSL`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --create-dirs`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -o`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$dir`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`/`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$base`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`/`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ||`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` exit`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`; `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`done`})]}),`\n`]})})}),_jsxs(_components.p,{children:[`To install globally for every project, set `,_jsx(_components.code,{children:`dir=~/.claude/skills/ofauth-v2-to-v3-migration`}),`.`]})]}),_jsxs(Tab,{title:`Codex and others`,id:`codex-and-others`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,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:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`base`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`https://ofauth.com/skills/ofauth-v2-to-v3-migration`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` dir`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`.agents/skills/ofauth-v2-to-v3-migration`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`; `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -fsSL`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$base`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`/files.txt\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` while`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` read`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -r`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` f`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`; `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`do`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -fsSL`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --create-dirs`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -o`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$dir`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`/`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$base`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`/`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ||`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` exit`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`; `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`done`})]}),`\n`]})})}),_jsxs(_components.p,{children:[`If your agent does not automatically load `,_jsx(_components.code,{children:`.agents/skills/`}),`, add this line to `,_jsx(_components.code,{children:`AGENTS.md`}),`:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`markdown`,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:`markdown`,children:_jsxs(_components.code,{language:`markdown`,numberOfLines:`1`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`When migrating OFAuth from V2 to V3, follow .agents/skills/ofauth-v2-to-v3-migration/SKILL.md and read the reference files it links.`})}),`\n`]})})})]}),_jsxs(Tab,{title:`Cursor`,id:`cursor`,children:[_jsxs(_components.p,{children:[`Download the files with the `,_jsx(_components.strong,{children:`Codex and others`}),` command, then add `,_jsx(_components.code,{children:`.cursor/rules/ofauth-v2-to-v3-migration.mdc`}),`:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`markdown`,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:`markdown`,children:_jsxs(_components.code,{language:`markdown`,numberOfLines:`6`,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\":`#569CD6`},children:`description`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`Migrating the OFAuth integration from V2 to V3`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`globs`}),_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\":`#569CD6`},children:`alwaysApply`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`---`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`When migrating OFAuth from V2 to V3, follow .agents/skills/ofauth-v2-to-v3-migration/SKILL.md and read the reference files it links.`})}),`\n`]})})})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`start-the-migration`,children:`Start the migration`}),`\n`,_jsx(_components.p,{children:`Open your coding agent in the repository and paste:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,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:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Migrate this codebase from OFAuth V2 to V3 using the ofauth-v2-to-v3-migration skill. Start by finding every V2 usage and show me the plan before you edit code. Build the account bundle import too. Do not add real secrets to any file.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`Steps only you should run:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Run the organization migration in the OFAuth dashboard, review Live callbacks, and save the Live client secret.`}),`\n`,_jsx(_components.li,{children:`Configure your Sandbox, Test, and Live client IDs, client secrets, and webhook secret in your secret manager.`}),`\n`,_jsx(_components.li,{children:`Run the Test rehearsal and verify Live client credentials.`}),`\n`,_jsx(_components.li,{children:`After cutover, download the one-time account bundle and run the import script yourself.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`safety`,children:`Safety`}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`The account bundle holds one refresh token for each migrated account. Treat it like your client secret: never commit it, paste it into an agent chat, or share it. Run the import yourself, then delete the file. If you lose it, an owner can regenerate it, which revokes every token from the previous bundle.`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Review every diff before merging, especially token storage, the OAuth callback, and webhook verification.`}),`\n`,_jsx(_components.li,{children:`Keep secrets in your secret manager or environment variables — never in code, fixtures, or prompts.`}),`\n`,_jsxs(_components.li,{children:[`If your app uses a V2 route with no V3 operation, or a raw proxy path, contact `,_jsx(_components.a,{href:`mailto:support@ofauth.com`,children:`support@ofauth.com`}),` before scheduling cutover.`]}),`\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":"Migrate with an AI agent","sidebarTitle":"Migrate with an AI agent","description":"Install the V2 to V3 migration skill so your coding agent updates your codebase from V2 to V3.","href":"/v3/guides/migrate-with-an-ai-agent"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"What the agent does","slug":"what-the-agent-does","depth":2,"children":[]},{"title":"Install the skill","slug":"install-the-skill","depth":2,"children":[]},{"title":"Start the migration","slug":"start-the-migration","depth":2,"children":[]},{"title":"Safety","slug":"safety","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"ofauth","siteName":"OFAuth","title":"Migrate with an AI agent - OFAuth","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{"V2":{"href":"/v3/guides/migrate-with-an-ai-agent","matchLevel":0},"V3 beta":{"href":"/v3/guides/migrate-with-an-ai-agent","matchLevel":0}},"firstHrefInLanguage":{}},"lastModified":"2026-11-26T07:08:17.531Z","originalFileLocation":"v3/guides/migrate-with-an-ai-agent.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=\"Install the V2 to V3 migration skill so your coding agent updates your codebase from V2 to V3.\">\u003cmeta data-mint-head name=\"application-name\" content=\"OFAuth\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/ofauth/NUy-KzQTTXUtPHAt/_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/ofauth/NUy-KzQTTXUtPHAt/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/ofauth/NUy-KzQTTXUtPHAt/_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/ofauth/NUy-KzQTTXUtPHAt/_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/ofauth/NUy-KzQTTXUtPHAt/_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/ofauth/NUy-KzQTTXUtPHAt/_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/ofauth/NUy-KzQTTXUtPHAt/_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/ofauth/NUy-KzQTTXUtPHAt/_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/ofauth/NUy-KzQTTXUtPHAt/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Migrate with an AI agent - OFAuth\">\u003cmeta data-mint-head property=\"og:description\" content=\"Install the V2 to V3 migration skill so your coding agent updates your codebase from V2 to V3.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"OFAuth\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.ofauth.com/v3/guides/migrate-with-an-ai-agent\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://ofauth.mintlify.site/_mintlify/api/og/v2?division=Upgrade+to+V3\u0026amp;title=Migrate+with+an+AI+agent\u0026amp;description=Install+the+V2+to+V3+migration+skill+so+your+coding+agent+updates+your+codebase+from+V2+to+V3.\u0026amp;theme=73705540decc51e846381d73\u0026amp;signature=fd59a7e58bf671e24b844033a832bc8dc46d500b1021b766aa54a4f5cfd841c2\">\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=\"Migrate with an AI agent - OFAuth\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Install the V2 to V3 migration skill so your coding agent updates your codebase from V2 to V3.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://ofauth.mintlify.site/_mintlify/api/og/v2?division=Upgrade+to+V3\u0026amp;title=Migrate+with+an+AI+agent\u0026amp;description=Install+the+V2+to+V3+migration+skill+so+your+coding+agent+updates+your+codebase+from+V2+to+V3.\u0026amp;theme=73705540decc51e846381d73\u0026amp;signature=fd59a7e58bf671e24b844033a832bc8dc46d500b1021b766aa54a4f5cfd841c2\">\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/ofauth/NUy-KzQTTXUtPHAt/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"OFAuth\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6366F1\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.ofauth.com/v3/guides/migrate-with-an-ai-agent\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/v3/guides/migrate-with-an-ai-agent.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.ofauth.com/#organization\",\"name\":\"OFAuth\",\"url\":\"https://docs.ofauth.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/ofauth/571ugJJGTSdXdJht/logo/light.svg?fit=max\u0026auto=format\u0026n=571ugJJGTSdXdJht\u0026q=85\u0026s=905d539cf2e1a6600a7a918aec6fe4a0\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.ofauth.com#website\",\"name\":\"OFAuth\",\"url\":\"https://docs.ofauth.com\",\"publisher\":{\"@id\":\"https://docs.ofauth.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.ofauth.com/v3/guides/migrate-with-an-ai-agent#webpage\",\"url\":\"https://docs.ofauth.com/v3/guides/migrate-with-an-ai-agent\",\"name\":\"Migrate with an AI agent\",\"description\":\"Install the V2 to V3 migration skill so your coding agent updates your codebase from V2 to V3.\",\"dateModified\":\"2026-11-26T07:08:17.531Z\",\"isPartOf\":{\"@id\":\"https://docs.ofauth.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.ofauth.com/v3/guides/migrate-with-an-ai-agent#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.ofauth.com/v3/guides/migrate-with-an-ai-agent#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Upgrade to V3\",\"item\":\"https://docs.ofauth.com/v3/changelog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Migrate with an AI agent\",\"item\":\"https://docs.ofauth.com/v3/guides/migrate-with-an-ai-agent\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.ofauth.com/v3/guides/migrate-with-an-ai-agent#article\",\"headline\":\"Migrate with an AI agent\",\"name\":\"Migrate with an AI agent\",\"description\":\"Install the V2 to V3 migration skill so your coding agent updates your codebase from V2 to V3.\",\"url\":\"https://docs.ofauth.com/v3/guides/migrate-with-an-ai-agent\",\"mainEntityOfPage\":{\"@id\":\"https://docs.ofauth.com/v3/guides/migrate-with-an-ai-agent#webpage\"},\"dateModified\":\"2026-11-26T07:08:17.531Z\",\"publisher\":{\"@id\":\"https://docs.ofauth.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.ofauth.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"OFAuth\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"OFAuth\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/v3/guides/migrate-with-an-ai-agent.md","siteName":"OFAuth","nav":{"global":{},"versions":[{"version":"V2","default":true,"tabs":[{"tab":"Getting Started","icon":"rocket","groups":[{"group":"Introduction","icon":"circle-info","pages":[{"title":"OFAuth","href":""},{"title":"Services Overview","sidebarTitle":"Services Overview","href":"/introduction/services"},{"title":"How OFAuth Works","href":"/introduction/how-it-works"},{"title":"The OnlyFans API","href":"/introduction/onlyfans-api"}]},{"group":"Setup","icon":"wrench","pages":[{"title":"Quickstart","sidebarTitle":"2-Minute Quickstart","href":"/quickstart"},{"title":"Sandbox \u0026 Testing","href":"/setup/sandbox"},{"title":"Integration Checklist","href":"/setup/integration-checklist"}]},{"group":"Reference","icon":"file-lines","pages":[{"title":"Rate Limiting","sidebarTitle":"Rate Limiting","href":"/reference/rate-limiting"},{"title":"Error Handling","href":"/reference/error-handling"},{"title":"Security","sidebarTitle":"Security","href":"/reference/security"}]},{"group":"Advanced","icon":"wand-magic-sparkles","pages":[{"title":"Dynamic Rules","sidebarTitle":"Dynamic Rules","href":"/advanced/dynamic-rules"},{"title":"Enterprise Whitelabel","href":"/advanced/whitelabel"}]},{"group":"Upgrade to V3","icon":"arrow-up-right-from-square","pages":[{"title":"Changelog","sidebarTitle":"Changelog","href":"/v3/changelog"},{"title":"Migrate from V2 to V3","sidebarTitle":"Migrate from V2 to V3","description":"Prepare your app for the organization cutover, import your migrated accounts' V3 tokens, and map V2 routes to V3 operations.","href":"/v3/guides/migrate-v2-to-v3"},{"title":"Migrate with an AI agent","sidebarTitle":"Migrate with an AI agent","href":"/v3/guides/migrate-with-an-ai-agent"}]}]},{"tab":"Guides","icon":"map","pages":[{"title":"Guides","href":"/guides/connections"}]},{"tab":"API Reference","icon":"terminal","pages":[{"title":"API Reference","href":"/api-reference/core/overview"}]},{"tab":"Libraries \u0026 Integrations","icon":"puzzle-piece","pages":[{"title":"Libraries \u0026 Integrations","href":"/sdk"}]}]},{"version":"V3 beta","tabs":[{"tab":"Docs","icon":"book-open","groups":[{"group":"Get started","pages":[{"title":"Build with OFAuth","sidebarTitle":"Introduction","href":"/v3"},{"title":"Create your integration","href":"/v3/setup/create-integration"},{"title":"Quickstart","href":"/v3/setup/quickstart"}]},{"group":"Accounts","icon":"key","pages":[{"title":"Connect an account","href":"/v3/guides/link"},{"title":"Manage linked accounts","href":"/v3/guides/linked-accounts"},{"title":"Operator private apps","href":"/v3/guides/operator-apps"},{"title":"Handle account reconnects","href":"/v3/guides/reconnect"},{"title":"Request more access","href":"/v3/guides/request-access"},{"title":"Customize the authorization page","href":"/v3/guides/authorization-branding"}]},{"group":"Events","icon":"bell","pages":[{"title":"Set up webhooks","href":"/v3/guides/webhook-setup"},{"title":"Test webhooks locally","href":"/v3/guides/webhooks-local"},{"title":"Verify and handle webhooks","href":"/v3/guides/webhook-handler"},{"title":"Realtime OnlyFans events","href":"/v3/guides/realtime-onlyfans-events"},{"title":"Realtime from the browser","href":"/v3/guides/realtime-browser"}]},{"group":"Messaging","icon":"comments","pages":[{"title":"Messaging and chats","href":"/v3/guides/messaging"},{"title":"Send a message","href":"/v3/guides/how-to/send-message"},{"title":"Send a mass message","href":"/v3/guides/how-to/mass-message"}]},{"group":"Content","icon":"file-lines","pages":[{"title":"Posts and stories","href":"/v3/guides/content"},{"title":"Create a post","href":"/v3/guides/how-to/create-post"},{"title":"Post a story","href":"/v3/guides/how-to/create-story"},{"title":"Text formatting","href":"/v3/guides/how-to/text-formatting"}]},{"group":"Media","icon":"photo-film","pages":[{"title":"Media and Vault","href":"/v3/guides/media"},{"title":"Media references","href":"/v3/guides/media-items"},{"title":"Upload media","href":"/v3/guides/how-to/upload-media"},{"title":"Display media","href":"/v3/guides/display-media"},{"title":"Save media with Vault+","href":"/v3/guides/media-storage"},{"title":"Play DRM video","href":"/v3/guides/drm-playback"},{"title":"DRM support","href":"/v3/guides/drm-support"},{"title":"Retain DRM video in Vault+","href":"/v3/guides/vault-plus-drm"}]},{"group":"Management","icon":"chart-line","pages":[{"title":"Fans and user lists","href":"/v3/guides/fans"},{"title":"Earnings and analytics","href":"/v3/guides/earnings"},{"title":"Account management","href":"/v3/guides/account"}]},{"group":"Reliability","icon":"shield","pages":[{"title":"Handle failed requests","href":"/v3/reference/error-handling"}]},{"group":"Test and launch","icon":"rocket","pages":[{"title":"Test your integration","href":"/v3/setup/sandbox"},{"title":"Go live","href":"/v3/setup/integration-checklist"}]},{"group":"Migration \u0026 changelog","icon":"arrows-rotate","pages":[{"title":"Changelog","sidebarTitle":"Changelog","href":"/v3/changelog"},{"title":"Migrate from V2 to V3","sidebarTitle":"Migrate from V2 to V3","description":"Prepare your app for the organization cutover, import your migrated accounts' V3 tokens, and map V2 routes to V3 operations.","href":"/v3/guides/migrate-v2-to-v3"},{"title":"Migrate with an AI agent","sidebarTitle":"Migrate with an AI agent","href":"/v3/guides/migrate-with-an-ai-agent"}]}]},{"tab":"API Reference","icon":"terminal","pages":[{"title":"API Reference","href":"/v3/api-reference"}]},{"tab":"Libraries \u0026 Integrations","icon":"puzzle-piece","pages":[{"title":"Libraries \u0026 Integrations","href":"/v3/sdk/typescript"}]},{"tab":"AI \u0026 agents","icon":"sparkles","pages":[{"title":"AI \u0026 agents","href":"/v3/reference/agents"}]}]}]},"basePath":"","title":"Migrate with an AI agent - OFAuth","deploymentId":"dpl_9bQLTw9nc2h9csDGYcKwWenPcQWn","buildId":"dpl_9bQLTw9nc2h9csDGYcKwWenPcQWn","dynamics":[],"chunks":[]}