{
"error": {
"code": "workflow_limit_reached",
"message": "You have reached the maximum number of workflows for your plan.",
"hint": "<string>"
}
}
{
"error": {
"code": "workflow_limit_reached",
"message": "You have reached the maximum number of workflows for your plan.",
"hint": "<string>"
}
}
Accounts
Connect account
Computes a five-minute browser authorization URL bound to the authenticated profile without connecting or changing an account. Open the returned URL in a separate browser step to authorize the provider; then list accounts to verify connection. Depending on platform, the browser uses provider OAuth or a PostOnce-hosted credential or signer flow. Never enter provider credentials in chat. Partner accounts may send external_user_id and an allowed redirect_url; after consent the end user is redirected to redirect_url with status, account_id, platform and external_user_id (or error).
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"PostOnce Help Center","description":"Help center and developer documentation for PostOnce: connect social accounts, cross-post automatically, schedule posts, fix failed posts, and use the Public API and MCP.","colors":{"primary":"#007BFF","light":"#4EA5FF","dark":"#007BFF"},"logo":{"light":"https://mintcdn.com/postonce-87a0d366/KRR9BBCaLhGoz62D/images/logo.png?fit=max\u0026auto=format\u0026n=KRR9BBCaLhGoz62D\u0026q=85\u0026s=7d4d406a172ad9a12c8dba9b2bb6919b","dark":"https://mintcdn.com/postonce-87a0d366/KRR9BBCaLhGoz62D/images/logo.png?fit=max\u0026auto=format\u0026n=KRR9BBCaLhGoz62D\u0026q=85\u0026s=7d4d406a172ad9a12c8dba9b2bb6919b","href":"https://postonce.to"},"favicon":"https://mintcdn.com/postonce-87a0d366/Co518VUzuPi1jYQi/images/favicon.ico?fit=max\u0026auto=format\u0026n=Co518VUzuPi1jYQi\u0026q=85\u0026s=02cc71e5502e3e356808e0f2a0ba34e7","api":{"playground":{"display":"interactive"},"examples":{"defaults":"all","autogenerate":true},"url":"full"},"appearance":{"default":"light"},"navbar":{"links":[{"href":"https://postonce.featurebase.app/changelog","label":"Changelog"},{"href":"https://postonce.featurebase.app/","label":"Feedback"},{"href":"https://postonce.featurebase.app/roadmap","label":"Roadmap"},{"href":"https://postonce.to/contact","label":"Contact support"}],"primary":{"type":"button","label":"Dashboard","href":"https://postonce.to/dashboard"}},"footer":{"socials":{"x":"https://x.com/PostOnce_to"}},"seo":{"indexing":"navigable"},"contextual":{"options":["copy","view"],"display":"header"},"metadata":{"timestamp":true},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"postonce-87a0d366","hasAudioNarration":false,"actualSubdomain":"postonce-87a0d366","customDomains":["docs.postonce.to"],"gitSource":{"type":"github","owner":"niyonx","repo":"postonce","deployBranch":"main","contentDirectory":"mintlify-docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ad98429f0657218b02bab5f","collectionId":"df989bd0-c673-409b-8c91-10b00bce2128","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ad98429f0657218b02bab5f"},"entitlements":{},"buildId":"6ad98429f0657218b02bab5f","clientVersion":"0.0.3965","searchFilterCounts":[{"language":"default","tag":"Help Center","count":41},{"language":"default","tag":"API Reference","count":36},{"language":"default","tag":"Platform guides","count":11},{"language":"default","tag":"Workflows","count":10},{"language":"default","tag":"Getting started","count":8},{"language":"default","tag":"Posts","count":7},{"language":"default","tag":"Guides","count":5},{"language":"default","tag":"Account and billing","count":5},{"language":"default","tag":"Growth guide","count":5},{"language":"default","tag":"Integrations and analytics","count":4}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"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":"editor-v7-file-tree","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":"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":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","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":"editor-nav-generations","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":"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":"byok-sep-25","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":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","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}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/connect-account","slug":"/api-reference/connect-account","pageMetadata":{"title":"Connect account","description":"Computes a five-minute browser authorization URL bound to the authenticated profile without connecting or changing an account. Open the returned URL in a separate browser step to authorize the provider; then list accounts to verify connection. Depending on platform, the browser uses provider OAuth or a PostOnce-hosted credential or signer flow. Never enter provider credentials in chat. Partner accounts may send `external_user_id` and an allowed `redirect_url`; after consent the end user is redirected to `redirect_url` with `status`, `account_id`, `platform` and `external_user_id` (or `error`).","deprecated":null,"version":null,"openapi":"/openapi/public-api.yaml post /v1/accounts/connect/{platform}","href":"/api-reference/connect-account","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Computes a five-minute browser authorization URL bound to the authenticated profile without connecting or changing an account. Open the returned URL in a separate browser step to authorize the provider; then list accounts to verify connection. Depending on platform, the browser uses provider OAuth or a PostOnce-hosted credential or signer flow. Never enter provider credentials in chat. Partner accounts may send \", _jsx(_components.code, {\n children: \"external_user_id\"\n }), \" and an allowed \", _jsx(_components.code, {\n children: \"redirect_url\"\n }), \"; after consent the end user is redirected to \", _jsx(_components.code, {\n children: \"redirect_url\"\n }), \" with \", _jsx(_components.code, {\n children: \"status\"\n }), \", \", _jsx(_components.code, {\n children: \"account_id\"\n }), \", \", _jsx(_components.code, {\n children: \"platform\"\n }), \" and \", _jsx(_components.code, {\n children: \"external_user_id\"\n }), \" (or \", _jsx(_components.code, {\n children: \"error\"\n }), \").\"]\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":"Connect account","description":"Computes a five-minute browser authorization URL bound to the authenticated profile without connecting or changing an account. Open the returned URL in a separate browser step to authorize the provider; then list accounts to verify connection. Depending on platform, the browser uses provider OAuth or a PostOnce-hosted credential or signer flow. Never enter provider credentials in chat. Partner accounts may send `external_user_id` and an allowed `redirect_url`; after consent the end user is redirected to `redirect_url` with `status`, `account_id`, `platform` and `external_user_id` (or `error`).","deprecated":null,"version":null,"openapi":"/openapi/public-api.yaml post /v1/accounts/connect/{platform}","href":"/api-reference/connect-account","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Connect account","description":"Computes a five-minute browser authorization URL bound to the authenticated profile without connecting or changing an account. Open the returned URL in a separate browser step to authorize the provider; then list accounts to verify connection. Depending on platform, the browser uses provider OAuth or a PostOnce-hosted credential or signer flow. Never enter provider credentials in chat. Partner accounts may send `external_user_id` and an allowed `redirect_url`; after consent the end user is redirected to `redirect_url` with `status`, `account_id`, `platform` and `external_user_id` (or `error`).","parameters":["43540f0f-81b8-4789-a178-5eece56eeaad"],"requestBody":"010edc02-93c1-488e-b06c-9ee2a6802b02","responses":{"201":"b32453e8-2678-4a33-baf1-9807bcd9a802","401":"d3a0919c-be27-4554-8ace-7c4bc43ee38f","403":"9d9ffa2e-4363-4f53-815e-466c8d63b102","404":"9fa4b8a3-fc5d-4a7c-ab9c-ce12a68318c0"},"method":"post","type":"path","servers":["00ee0b21-676d-4230-83bb-42d479e2edc5"],"security":["26ff0839-bc03-4750-9b76-59780ac7ea1a"],"path":"/v1/accounts/connect/{platform}","baseUrlOptions":["https://postonce.to/api/public"],"title":"Connect account","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated","urlDisplay":"full"},"dependencies":{"parameters":{"43540f0f-81b8-4789-a178-5eece56eeaad":{"name":"platform","in":"path","required":true,"schema":{"type":"string","enum":["bluesky","facebook","farcaster","nostr","telegram","instagram","linkedin","pinterest","reddit","snapchat","threads","tiktok","twitter","vimeo","youtube"],"isRequired":true,"description":"Social platform to connect.","uniqueKey":"","typeLabel":"enum\u003cstring>"},"description":"Social platform to connect."}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"external_user_id":{"type":"string","maxLength":200,"description":"Partner accounts only. Your own id for the end user connecting the account.","uniqueKey":"external_user_id","typeLabel":"string"},"redirect_url":{"type":"string","format":"uri","description":"Partner accounts only. Must exactly match one of your allowed redirect URLs.","uniqueKey":"redirect_url","typeLabel":"string\u003curi>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"external_user_id":"\u003cstring>","redirect_url":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"b32453e8-2678-4a33-baf1-9807bcd9a802":{"description":"Account connection URL created successfully.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"hosted_url":{"oneOf":[{"type":"string","example":"https://postonce.to/dashboard/accounts?connect=twitter\u0026source=public_api","uniqueKey":"data.hosted_url.oneOf.0","typeLabel":"string"},{"type":"null","example":"https://postonce.to/dashboard/accounts?connect=twitter\u0026source=public_api","uniqueKey":"data.hosted_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.hosted_url","typeLabel":"string | null"},"authorization_url":{"oneOf":[{"type":"string","description":"Five-minute browser connection URL bound to the API-key profile with signed state. OAuth platforms return a direct provider URL; Bluesky returns a PostOnce-hosted app-password form; Farcaster returns a PostOnce-hosted managed-signer approval flow; Nostr returns a PostOnce-hosted NIP-46 remote-signer flow; Telegram returns a PostOnce-hosted flow that adds @PostOnceBot as a channel admin.","example":"https://www.tiktok.com/v2/auth/authorize/?client_key=...","uniqueKey":"data.authorization_url.oneOf.0","typeLabel":"string"},{"type":"null","description":"Five-minute browser connection URL bound to the API-key profile with signed state. OAuth platforms return a direct provider URL; Bluesky returns a PostOnce-hosted app-password form; Farcaster returns a PostOnce-hosted managed-signer approval flow; Nostr returns a PostOnce-hosted NIP-46 remote-signer flow; Telegram returns a PostOnce-hosted flow that adds @PostOnceBot as a channel admin.","example":"https://www.tiktok.com/v2/auth/authorize/?client_key=...","uniqueKey":"data.authorization_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.authorization_url","typeLabel":"string | null"},"mode":{"type":"string","enum":["credential_form_url","managed_signer","remote_signer","oauth_authorization_url"],"example":"oauth_authorization_url","uniqueKey":"data.mode","typeLabel":"enum\u003cstring>"},"platform":{"type":"string","example":"twitter","uniqueKey":"data.platform","typeLabel":"string"}},"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":{"hosted_url":"https://postonce.to/dashboard/accounts?connect=twitter\u0026source=public_api","authorization_url":"https://www.tiktok.com/v2/auth/authorize/?client_key=...","mode":"oauth_authorization_url","platform":"twitter"}}}},"exampleType":"generated"}},"exampleType":"generated"},"d3a0919c-be27-4554-8ace-7c4bc43ee38f":{"description":"Missing, invalid, revoked, or expired API key.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","example":"invalid_api_key","uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","example":"Invalid API key.","uniqueKey":"error.message","typeLabel":"string"},"hint":{"type":"string","description":"Suggested action to resolve the error.","uniqueKey":"error.hint","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"invalid_api_key","message":"Invalid API key.","hint":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"9d9ffa2e-4363-4f53-815e-466c8d63b102":{"description":"Missing required scope.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","example":"workflow_limit_reached","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","example":"You have reached the maximum number of workflows for your plan.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"hint":{"type":"string","description":"Suggested action to resolve the error.","uniqueKey":"error.hint","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"workflow_limit_reached","message":"You have reached the maximum number of workflows for your plan.","hint":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"9fa4b8a3-fc5d-4a7c-ab9c-ce12a68318c0":{"description":"Unsupported platform.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","example":"workflow_limit_reached","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","example":"You have reached the maximum number of workflows for your plan.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"hint":{"type":"string","description":"Suggested action to resolve the error.","uniqueKey":"error.hint","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"workflow_limit_reached","message":"You have reached the maximum number of workflows for your plan.","hint":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"26ff0839-bc03-4750-9b76-59780ac7ea1a":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"API Key","description":"Scoped API key issued in PostOnce Settings. OAuth authorization grants are not currently supported.","x-scopes":{"accounts:read":"List and read connected accounts.","accounts:write":"Connect and disconnect social accounts.","media:read":"Read uploaded media.","media:write":"Upload media.","posts:read":"Read posts and unpublished drafts.","posts:write":"Create, update, publish, cancel, retry, and delete posts and drafts.","workflows:read":"List and read crossposting workflows.","workflows:write":"Create, update, and delete crossposting workflows."},"scopes":[],"schemeName":"bearerAuth"}}},"servers":{"00ee0b21-676d-4230-83bb-42d479e2edc5":{"url":"https://postonce.to/api/public"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"API Key","description":"Scoped API key issued in PostOnce Settings. OAuth authorization grants are not currently supported.","x-scopes":{"accounts:read":"List and read connected accounts.","accounts:write":"Connect and disconnect social accounts.","media:read":"Read uploaded media.","media:write":"Upload media.","posts:read":"Read posts and unpublished drafts.","posts:write":"Create, update, publish, cancel, retry, and delete posts and drafts.","workflows:read":"List and read crossposting workflows.","workflows:write":"Create, update, and delete crossposting workflows."},"scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Scoped API key issued in PostOnce Settings. OAuth authorization grants are not currently supported.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"openapi/public-api.yaml"},"subdomain":"postonce-87a0d366","siteName":"PostOnce Help Center","title":"Connect account - PostOnce Help Center","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"originalFileLocation":"api-reference/connect-account.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=\"light\"}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=\"Computes a five-minute browser authorization URL bound to the authenticated profile without connecting or changing an account. Open the returned URL in a separate browser step to authorize the provider; then list accounts to verify connection. Depending on platform, the browser uses provider OAuth or a PostOnce-hosted credential or signer flow. Never enter provider credentials in chat. Partner accounts may send external_user_id and an allowed redirect_url; after consent the end user is redirected to redirect_url with status, account_id, platform and external_user_id (or error).\">\u003cmeta data-mint-head name=\"application-name\" content=\"PostOnce Help Center\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/postonce-87a0d366/LQL07TSWdk7PF3mo/_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/postonce-87a0d366/LQL07TSWdk7PF3mo/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/postonce-87a0d366/LQL07TSWdk7PF3mo/_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/postonce-87a0d366/LQL07TSWdk7PF3mo/_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/postonce-87a0d366/LQL07TSWdk7PF3mo/_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/postonce-87a0d366/LQL07TSWdk7PF3mo/_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/postonce-87a0d366/LQL07TSWdk7PF3mo/_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/postonce-87a0d366/LQL07TSWdk7PF3mo/_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/postonce-87a0d366/LQL07TSWdk7PF3mo/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Connect account - PostOnce Help Center\">\u003cmeta data-mint-head property=\"og:description\" content=\"Computes a five-minute browser authorization URL bound to the authenticated profile without connecting or changing an account. Open the returned URL in a separate browser step to authorize the provider; then list accounts to verify connection. Depending on platform, the browser uses provider OAuth or a PostOnce-hosted credential or signer flow. Never enter provider credentials in chat. Partner accounts may send external_user_id and an allowed redirect_url; after consent the end user is redirected to redirect_url with status, account_id, platform and external_user_id (or error).\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"PostOnce Help Center\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.postonce.to/api-reference/connect-account\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://postonce-87a0d366.mintlify.app/_mintlify/api/og/v2?division=Accounts\u0026amp;title=Connect+account\u0026amp;description=Computes+a+five-minute+browser+authorization+URL+bound+to+the+authenticated+profile+without+connecting+or+changing+an+account.+Open+the+returned+URL+in+a+separa\u0026amp;theme=781718fef085352bc2e93d6a\u0026amp;signature=b76e1f67b47294d0ef1daa5a1675bf7f483cde7a384908f20c9d8b60c2d247a4\">\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=\"Connect account - PostOnce Help Center\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Computes a five-minute browser authorization URL bound to the authenticated profile without connecting or changing an account. Open the returned URL in a separate browser step to authorize the provider; then list accounts to verify connection. Depending on platform, the browser uses provider OAuth or a PostOnce-hosted credential or signer flow. Never enter provider credentials in chat. Partner accounts may send external_user_id and an allowed redirect_url; after consent the end user is redirected to redirect_url with status, account_id, platform and external_user_id (or error).\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://postonce-87a0d366.mintlify.app/_mintlify/api/og/v2?division=Accounts\u0026amp;title=Connect+account\u0026amp;description=Computes+a+five-minute+browser+authorization+URL+bound+to+the+authenticated+profile+without+connecting+or+changing+an+account.+Open+the+returned+URL+in+a+separa\u0026amp;theme=781718fef085352bc2e93d6a\u0026amp;signature=b76e1f67b47294d0ef1daa5a1675bf7f483cde7a384908f20c9d8b60c2d247a4\">\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/postonce-87a0d366/LQL07TSWdk7PF3mo/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"PostOnce Help Center\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#007BFF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.postonce.to/api-reference/connect-account\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/connect-account.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.postonce.to/#organization\",\"name\":\"PostOnce Help Center\",\"url\":\"https://docs.postonce.to\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/postonce-87a0d366/KRR9BBCaLhGoz62D/images/logo.png?fit=max\u0026auto=format\u0026n=KRR9BBCaLhGoz62D\u0026q=85\u0026s=7d4d406a172ad9a12c8dba9b2bb6919b\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.postonce.to#website\",\"name\":\"PostOnce Help Center\",\"url\":\"https://docs.postonce.to\",\"publisher\":{\"@id\":\"https://docs.postonce.to/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.postonce.to/api-reference/connect-account#webpage\",\"url\":\"https://docs.postonce.to/api-reference/connect-account\",\"name\":\"Connect account\",\"description\":\"Computes a five-minute browser authorization URL bound to the authenticated profile without connecting or changing an account. Open the returned URL in a separate browser step to authorize the provider; then list accounts to verify connection. Depending on platform, the browser uses provider OAuth or a PostOnce-hosted credential or signer flow. Never enter provider credentials in chat. Partner accounts may send external_user_id and an allowed redirect_url; after consent the end user is redirected to redirect_url with status, account_id, platform and external_user_id (or error).\",\"isPartOf\":{\"@id\":\"https://docs.postonce.to#website\"},\"breadcrumb\":{\"@id\":\"https://docs.postonce.to/api-reference/connect-account#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.postonce.to/api-reference/connect-account#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accounts\",\"item\":\"https://docs.postonce.to/api-reference/list-accounts\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Connect account\",\"item\":\"https://docs.postonce.to/api-reference/connect-account\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.postonce.to/api-reference/connect-account#apireference\",\"headline\":\"Connect account\",\"name\":\"Connect account\",\"description\":\"Computes a five-minute browser authorization URL bound to the authenticated profile without connecting or changing an account. Open the returned URL in a separate browser step to authorize the provider; then list accounts to verify connection. Depending on platform, the browser uses provider OAuth or a PostOnce-hosted credential or signer flow. Never enter provider credentials in chat. Partner accounts may send external_user_id and an allowed redirect_url; after consent the end user is redirected to redirect_url with status, account_id, platform and external_user_id (or error).\",\"url\":\"https://docs.postonce.to/api-reference/connect-account\",\"mainEntityOfPage\":{\"@id\":\"https://docs.postonce.to/api-reference/connect-account#webpage\"},\"publisher\":{\"@id\":\"https://docs.postonce.to/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.postonce.to#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"PostOnce Help Center\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"PostOnce Help Center","nav":{"global":null,"tabs":[{"tab":"Help Center","icon":"life-buoy","pages":[{"title":"Help Center","href":"/help"}]},{"tab":"API Reference","icon":"code","groups":[{"group":"Getting started","pages":[{"title":"Introduction","href":"/introduction"},{"title":"Authentication","href":"/getting-started/authentication"},{"title":"Response format","href":"/getting-started/response-format"},{"title":"Data structures","href":"/getting-started/data-structures"},{"title":"Rate limits","href":"/getting-started/rate-limits"},{"title":"Errors","href":"/getting-started/errors"}]},{"group":"Guides","pages":[{"title":"Create your first post","href":"/guides/create-your-first-post"},{"title":"Schedule a post","href":"/guides/schedule-a-post"},{"title":"Create a workflow","href":"/guides/create-a-workflow"},{"title":"Save RSS updates as drafts","href":"/guides/rss-to-draft"},{"title":"Partner integration","href":"/guides/partner-integration"}]},{"group":"MCP","pages":[{"title":"PostOnce MCP","href":"/mcp/docs"}]},{"group":"Accounts","pages":[{"title":"List accounts","description":"Returns all social accounts owned by the API key profile, including disconnected accounts. Partner accounts also receive `external_user_id` on each account and can filter by it.","deprecated":null,"version":null,"openapi":"/openapi/public-api.yaml get /v1/accounts","href":"/api-reference/list-accounts"},{"title":"Connect account","deprecated":null,"version":null,"openapi":"/openapi/public-api.yaml post /v1/accounts/connect/{platform}","href":"/api-reference/connect-account"},{"title":"Disconnect account","description":"Removes PostOnce access to an owned social account. The account is disconnected with its credentials cleared (the response returns deleted=false and disconnected=true); its posts and history are kept, and reconnecting the same account restores posting. Farcaster, Nostr, and Telegram records are also disabled. Farcaster signer revocation requires a separate provider step; Nostr remote-signer logout is best effort; @PostOnceBot leaves a Telegram channel on a best-effort basis when no other PostOnce account uses it. This does not delete published social content.","deprecated":null,"version":null,"openapi":"/openapi/public-api.yaml delete /v1/accounts/{id}","href":"/api-reference/disconnect-account"}]},{"group":"Media","pages":[{"title":"Create upload URL","deprecated":null,"version":null,"openapi":"/openapi/public-api.yaml post /v1/media/uploads","href":"/api-reference/create-upload-url"},{"title":"Get media","deprecated":null,"version":null,"openapi":"/openapi/public-api.yaml get /v1/media/{id}","href":"/api-reference/get-media"}]},{"group":"Drafts","pages":[{"title":"List drafts","deprecated":null,"version":null,"openapi":"/openapi/public-api.yaml get /v1/drafts","href":"/api-reference/list-drafts"},{"title":"Create draft","deprecated":null,"version":null,"openapi":"/openapi/public-api.yaml post /v1/drafts","href":"/api-reference/create-draft"},{"title":"Get draft","deprecated":null,"version":null,"openapi":"/openapi/public-api.yaml get /v1/drafts/{id}","href":"/api-reference/get-draft"},{"title":"Update draft","deprecated":null,"version":null,"openapi":"/openapi/public-api.yaml patch /v1/drafts/{id}","href":"/api-reference/update-draft"}]},{"group":"Posts","pages":[{"title":"List posts","deprecated":null,"version":null,"openapi":"/openapi/public-api.yaml get /v1/posts","href":"/api-reference/list-posts"},{"title":"Create post","deprecated":null,"version":null,"openapi":"/openapi/public-api.yaml post /v1/posts","href":"/api-reference/create-post"},{"title":"Get post","deprecated":null,"version":null,"openapi":"/openapi/public-api.yaml get /v1/posts/{id}","href":"/api-reference/get-post"},{"title":"Update post","deprecated":null,"version":null,"openapi":"/openapi/public-api.yaml patch /v1/posts/{id}","href":"/api-reference/update-post"},{"title":"Delete post","deprecated":null,"version":null,"openapi":"/openapi/public-api.yaml delete /v1/posts/{id}","href":"/api-reference/delete-post"},{"title":"Publish now","deprecated":null,"version":null,"openapi":"/openapi/public-api.yaml post /v1/posts/{id}/publish","href":"/api-reference/publish-now"},{"title":"Cancel post","deprecated":null,"version":null,"openapi":"/openapi/public-api.yaml post /v1/posts/{id}/cancel","href":"/api-reference/cancel-post"}]},{"group":"Workflows","pages":[{"title":"List workflows","deprecated":null,"version":null,"openapi":"/openapi/public-api.yaml get /v1/workflows","href":"/api-reference/list-workflows"},{"title":"Create a workflow","deprecated":null,"version":null,"openapi":"/openapi/public-api.yaml post /v1/workflows","href":"/api-reference/create-a-workflow"},{"title":"Get workflow","deprecated":null,"version":null,"openapi":"/openapi/public-api.yaml get /v1/workflows/{id}","href":"/api-reference/get-workflow"},{"title":"Update a workflow","deprecated":null,"version":null,"openapi":"/openapi/public-api.yaml put /v1/workflows/{id}","href":"/api-reference/update-a-workflow"},{"title":"Delete a workflow","deprecated":null,"version":null,"openapi":"/openapi/public-api.yaml delete /v1/workflows/{id}","href":"/api-reference/delete-a-workflow"}]},{"group":"Analytics","pages":[{"title":"Get post analytics","deprecated":null,"version":null,"openapi":"/openapi/public-api.yaml get /v1/analytics","href":"/api-reference/get-post-analytics"},{"title":"Get one post's analytics","deprecated":null,"version":null,"openapi":"/openapi/public-api.yaml get /v1/posts/{id}/analytics","href":"/api-reference/get-one-posts-analytics"}]},{"group":"Changelog","pages":[{"title":"v1 changelog","href":"/changelog/v1"}]}]}]},"title":"Connect account - PostOnce Help Center","buildId":"dpl_849ArpqvBiCczQiT1Y1stNGpbqHT","deploymentId":"dpl_849ArpqvBiCczQiT1Y1stNGpbqHT","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-Bbp7I60D.js","utils-C3RIvJha.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DqD-vLt8.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-B31Loprg.js","snippetPresets-DKpk-b8t.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-Cj65AhOR.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BXtn5gcC.js","shallow-RY2b03Cp.js","getApiPlaygroundDisplay-B0jeiPk3.js","CodeSnippet-CYgBjjwn.js","CodeSnippets-DOngDrYB.js","Page-n7I5XbKb.js","getPastedJson-DRQbJx-T.js","icon-CQiQCicY.js","MethodPill-BKTLdNtu.js","DuplicateIcon-B9jpAdat.js","createIcon-DCddRrXv.js","DynamicMarkdown-a8hUKrw6.js","SectionHeading-eECVV2eH.js","axios-vUo_bRtp.js","Markdown--GF7ZIpf.js","clsx-DZLdJUrt.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-2LoAhjKH.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-Zwc0ZncM.js"]}