Get a short-lived token with your Link4Sync login and publish JSON over HTTPS.
Use this flow for backend services that run on behalf of your Link4Sync account. OAuth is documented for HTTPS only, so the token never travels unencrypted.
For a service that should not hold your account password, create a producer
subaccount and get its token with client credentials instead. Accounts
created with Google or Microsoft have no Link4Sync password and must use a subaccount.
The token expires. Request a new one when you get 401.
A service that should not hold your account password can use the topic’s producer credential
instead. See HTTP(S) with SCRAM.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Link4Sync","colors":{"primary":"#077a67","light":"#0ba98f","dark":"#077a67"},"favicon":"https://mintcdn.com/link4-sync/4zESs0lSto9g5C-P/favicon.svg?fit=max\u0026auto=format\u0026n=4zESs0lSto9g5C-P\u0026q=85\u0026s=d6be17dab49ac377659e98ef048af28d","api":{"playground":{"display":"simple"}},"navbar":{"links":[{"href":"mailto:support@link4sync.com","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://www.link4sync.com/dashboard"}},"footer":{"links":[{"header":"Link4Sync","items":[{"label":"Website","href":"https://www.link4sync.com"},{"label":"Pricing","href":"https://www.link4sync.com/pricing"},{"label":"Contact","href":"https://www.link4sync.com/contact"}]}]},"icons":{"library":"lucide"},"styling":{"latex":false},"navigation":{"languages":[{"language":"en","default":true,"href":"en"},{"language":"es","href":"es"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"link4-sync","hasAudioNarration":false,"actualSubdomain":"link4-sync","customDomains":[],"gitSource":{"type":"github","owner":"link4sync","repo":"link4sync-web","deployBranch":"uat","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":"","_id":"6b0c9fb4cdabb22f52ce7e1b"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b0cb30cdc3d787e20c1c491","clientVersion":"0.0.4347","searchFilterCounts":[{"language":"en","tag":"Connect","count":5},{"language":"es","tag":"Conectar","count":5},{"language":"en","tag":"Reference","count":3},{"language":"en","tag":"Get started","count":3},{"language":"en","tag":"Manage topics","count":3},{"language":"en","tag":"API reference","count":3},{"language":"en","tag":"Topics","count":3},{"language":"es","tag":"Referencia","count":3},{"language":"es","tag":"Primeros pasos","count":3},{"language":"es","tag":"Gestionar topics","count":3},{"language":"es","tag":"Referencia de la API","count":3},{"language":"es","tag":"Topics","count":3},{"language":"en","tag":"API","count":1},{"language":"es","tag":"API","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"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":[]}
{"page":{"pagePath":"en/publish/https-oauth","slug":"/en/publish/https-oauth","pageMetadata":{"title":"HTTPS with OAuth","description":"Get a short-lived token with your Link4Sync login and publish JSON over HTTPS.","icon":"key-round","href":"/en/publish/https-oauth"},"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: \"Get a short-lived token with your Link4Sync login and publish JSON over HTTPS.\"\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`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Note,Table,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Use this flow for backend services that run on behalf of your Link4Sync account. OAuth is documented for HTTPS only, so the token never travels unencrypted.`}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`For a service that should not hold your account password, create a producer\n`,_jsx(_components.a,{href:`/en/manage/subaccounts`,children:`subaccount`}),` and get its token with client credentials instead. Accounts\ncreated with Google or Microsoft have no Link4Sync password and must use a subaccount.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`before-you-start`,children:`Before you start`}),`\n`,_jsx(_components.p,{children:`Set these environment variables:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Variable`}),_jsx(_components.th,{children:`Value`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`LINK4SYNC_URL`})}),_jsx(_components.td,{children:`HTTPS URL from the topic card`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`LINK4SYNC_EMAIL`})}),_jsx(_components.td,{children:`Your Link4Sync account email`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`LINK4SYNC_PASSWORD`})}),_jsx(_components.td,{children:`Your Link4Sync account password`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`1-get-an-access-token`,children:`1. Get an access token`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,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:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`TOKEN`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_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:` -s`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://auth.link4sync.com/realms/link4sync/protocol/openid-connect/token`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` grant_type=password`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` client_id=kafka-connect-access`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"username=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$LINK4SYNC_EMAIL`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"password=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$LINK4SYNC_PASSWORD`}),_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:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` jq`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -r`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` .access_token`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`2-publish-an-event`,children:`2. Publish an event`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,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:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -i`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$LINK4SYNC_URL`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$TOKEN`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{\"temperature\": 21.5}'`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`A successful publish returns `,_jsx(_components.strong,{children:_jsx(_components.code,{children:`202 Accepted`})}),`.`]}),`\n`,_jsxs(Note,{children:[`The token expires. Request a new one when you get `,_jsx(_components.code,{children:`401`}),`.`]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`A service that should not hold your account password can use the topic’s producer credential\ninstead. See `,_jsx(_components.a,{href:`/en/publish/http-scram`,children:`HTTP(S) with SCRAM`}),`.`]})})]})}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":"HTTPS with OAuth","description":"Get a short-lived token with your Link4Sync login and publish JSON over HTTPS.","icon":"key-round","href":"/en/publish/https-oauth"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Before you start","slug":"before-you-start","depth":2,"children":[]},{"title":"1. Get an access token","slug":"1-get-an-access-token","depth":2,"children":[]},{"title":"2. Publish an event","slug":"2-publish-an-event","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"link4-sync","siteName":"Link4Sync","title":"HTTPS with OAuth - Link4Sync","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/en/publish/https-oauth","matchLevel":0},"es":{"href":"/es/publish/https-oauth","matchLevel":1}}},"lastModified":"2026-11-29T22:30:23.880Z","originalFileLocation":"en/publish/https-oauth.mdx","locale":"en"},"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=\"Get a short-lived token with your Link4Sync login and publish JSON over HTTPS.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Link4Sync\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/link4-sync/YHydGKntjYmDEkjc/_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/link4-sync/YHydGKntjYmDEkjc/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/link4-sync/YHydGKntjYmDEkjc/_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/link4-sync/YHydGKntjYmDEkjc/_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/link4-sync/YHydGKntjYmDEkjc/_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/link4-sync/YHydGKntjYmDEkjc/_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/link4-sync/YHydGKntjYmDEkjc/_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/link4-sync/YHydGKntjYmDEkjc/_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/link4-sync/YHydGKntjYmDEkjc/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"HTTPS with OAuth - Link4Sync\">\u003cmeta data-mint-head property=\"og:description\" content=\"Get a short-lived token with your Link4Sync login and publish JSON over HTTPS.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Link4Sync\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://link4-sync.mintlify.app/en/publish/https-oauth\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://link4-sync.mintlify.site/_mintlify/api/og/v2?division=Connect\u0026amp;title=HTTPS+with+OAuth\u0026amp;description=Get+a+short-lived+token+with+your+Link4Sync+login+and+publish+JSON+over+HTTPS.\u0026amp;theme=cf93a87194b10f06f52bdf48\u0026amp;signature=474f3749ab6a8ef702b17c459aca105e199662d46a1f6eca2141b9dacc987feb\">\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=\"HTTPS with OAuth - Link4Sync\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Get a short-lived token with your Link4Sync login and publish JSON over HTTPS.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://link4-sync.mintlify.site/_mintlify/api/og/v2?division=Connect\u0026amp;title=HTTPS+with+OAuth\u0026amp;description=Get+a+short-lived+token+with+your+Link4Sync+login+and+publish+JSON+over+HTTPS.\u0026amp;theme=cf93a87194b10f06f52bdf48\u0026amp;signature=474f3749ab6a8ef702b17c459aca105e199662d46a1f6eca2141b9dacc987feb\">\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/link4-sync/YHydGKntjYmDEkjc/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Link4Sync\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#077a67\">\u003clink data-mint-head rel=\"canonical\" href=\"https://link4-sync.mintlify.app/en/publish/https-oauth\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/en/publish/https-oauth.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://link4-sync.mintlify.app/en/publish/https-oauth\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://link4-sync.mintlify.app/es/publish/https-oauth\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://link4-sync.mintlify.app/en/publish/https-oauth\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://link4-sync.mintlify.app/#organization\",\"name\":\"Link4Sync\",\"url\":\"https://link4-sync.mintlify.app\"},{\"@type\":\"WebSite\",\"@id\":\"https://link4-sync.mintlify.app#website\",\"name\":\"Link4Sync\",\"url\":\"https://link4-sync.mintlify.app\",\"publisher\":{\"@id\":\"https://link4-sync.mintlify.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://link4-sync.mintlify.app/en/publish/https-oauth#webpage\",\"url\":\"https://link4-sync.mintlify.app/en/publish/https-oauth\",\"name\":\"HTTPS with OAuth\",\"description\":\"Get a short-lived token with your Link4Sync login and publish JSON over HTTPS.\",\"dateModified\":\"2026-11-29T22:30:23.880Z\",\"isPartOf\":{\"@id\":\"https://link4-sync.mintlify.app#website\"},\"breadcrumb\":{\"@id\":\"https://link4-sync.mintlify.app/en/publish/https-oauth#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://link4-sync.mintlify.app/en/publish/https-oauth#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Connect\",\"item\":\"https://link4-sync.mintlify.app/en/connections\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"HTTPS with OAuth\",\"item\":\"https://link4-sync.mintlify.app/en/publish/https-oauth\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://link4-sync.mintlify.app/en/publish/https-oauth#article\",\"headline\":\"HTTPS with OAuth\",\"name\":\"HTTPS with OAuth\",\"description\":\"Get a short-lived token with your Link4Sync login and publish JSON over HTTPS.\",\"url\":\"https://link4-sync.mintlify.app/en/publish/https-oauth\",\"mainEntityOfPage\":{\"@id\":\"https://link4-sync.mintlify.app/en/publish/https-oauth#webpage\"},\"dateModified\":\"2026-11-29T22:30:23.880Z\",\"publisher\":{\"@id\":\"https://link4-sync.mintlify.app/#organization\"},\"isPartOf\":{\"@id\":\"https://link4-sync.mintlify.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Link4Sync\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Link4Sync\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/en/publish/https-oauth.md","siteName":"Link4Sync","nav":{"global":null,"languages":[{"language":"en","default":true,"groups":[{"group":"Get started","pages":[{"title":"Introduction","icon":"house","href":"/en"},{"title":"Quickstart","icon":"rocket","href":"/en/quickstart"},{"title":"Core concepts","icon":"book-open","href":"/en/concepts"}]},{"group":"Connect","pages":[{"title":"Connections","description":"HTTPS, HTTP, MQTT, and MQTTS: when to use each one, their addresses, and how to authenticate.","icon":"plug","href":"/en/connections"},{"title":"HTTPS with OAuth","icon":"key-round","href":"/en/publish/https-oauth"},{"title":"HTTP(S) with SCRAM","description":"Publish with the topic producer credential using HTTP SCRAM-SHA-256 authentication.","icon":"shield","href":"/en/publish/http-scram"},{"title":"Publish over MQTT","icon":"radio","href":"/en/publish/mqtt"},{"title":"Read messages","icon":"inbox","href":"/en/read-messages"}]},{"group":"Manage topics","pages":[{"title":"Subaccounts","icon":"key-square","href":"/en/manage/subaccounts"},{"title":"Read access","icon":"book-key","href":"/en/manage/read-access"},{"title":"Immutable topics","icon":"lock","href":"/en/manage/immutable-topics"}]},{"group":"API","pages":[{"title":"API overview","icon":"code","href":"/en/api/overview"}]},{"group":"API reference","pages":[{"group":"Topics","pages":[{"title":"List topics","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/topics","href":"/en/api-reference/topics/list-topics"},{"title":"Create a topic","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/topics","href":"/en/api-reference/topics/create-a-topic"},{"title":"Delete a topic","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /v1/topics/{topic}","href":"/en/api-reference/topics/delete-a-topic"}]}]},{"group":"Reference","pages":[{"title":"Plans and limits","icon":"gauge","href":"/en/limits"},{"title":"Troubleshooting","icon":"life-buoy","href":"/en/troubleshooting"},{"title":"AI agents","icon":"bot","href":"/en/ai-agents"}]}]},{"language":"es","pages":[{"title":"es","href":"/es/publish/https-oauth"}]}]},"basePath":"","title":"HTTPS with OAuth - Link4Sync","deploymentId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","buildId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","dynamics":[],"chunks":[]}