Generate a single-use link and hand it to your user. They connect their account on app.linkupapi.com (LinkedIn sign-in and 2FA, WhatsApp QR or pairing code, Google / Microsoft consent or SMTP settings), and you only receive the resulting account_id. Your app never sees or handles the credentials.
The link itself is free. A LinkedIn login through it costs 1 credit, like Connect Account; WhatsApp and email are free. Ignore this if you’re on per-seat pricing.
Flow
Your backend calls this endpoint and gets a url.
Your app sends the user to that url (full redirect or new tab, never an iframe).
The user picks a channel (if you offered several) and connects it on our page, verification included.
We POST the outcome to your notify_url and send the user to your success_url. You can also poll Get Connection Link or List Accounts.
Links are single-use: generate a new one each time a user starts a connection.
Header Parameters
string
required
Your API key
Body Parameters
string | string[]
default:"*"
Channels the page offers: linkedin, whatsapp, email, or * for all. With a single value the page skips the chooser. platform works as a shorthand for one value.
string
Your own reference for this user (max 200 characters), echoed in the notify_url payload so you can match the new account to your user.
string
Your product or company name (max 60 characters). The page then reads “Connect LinkedIn to ”, in the heading and the tab title. Omit for a neutral page.
string
HTTPS URL of your logo, shown above the heading.
string[]
default:"[\"google\", \"microsoft\", \"smtp\"]"
Choices on the email step: google and microsoft are one-click OAuth buttons (the user picks the mailbox on the provider’s consent screen), smtp opens the IMAP/SMTP form. Pass ["google"] for a single “Continue with Google” button.
integer
default:"3600"
Link lifetime in seconds, from 60 to 604800 (7 days).
string
LinkedIn and WhatsApp: lock the proxy country (same codes as Connect Account). Omit to let the user pick it on the page.
string
Reconnect an existing account instead of creating one. The page only offers that account’s channel and pre-fills its email; the account keeps its id, its country and its webhooks.
string
Display name of the account once connected. Defaults to the email.
string
Where to send the user once the account is connected. Omit to show our confirmation screen.
string
Where to send the user if they open the link after it expired or was used.
string
HTTPS endpoint we POST to once the account is connected. See Callback.
string[]
LinkedIn: classic, sales_navigator, recruiter. The page then asks the user what to connect, and which contract if there are several. Omit for classic only.
string
One of your active custom domains. The link opens there instead of app.linkupapi.com.
When the account is connected we POST this JSON to notify_url, with a X-Linkup-Link-Id header. We retry twice (after 5 s and 30 s) if your endpoint doesn’t answer 2xx.
status is RECONNECTED when the link was created with an account_id. The callback is not signed: confirm it with Get Account before trusting it.
Custom domain
To open the page on your own domain (for example connect.yourapp.com), add the domain under Access → Custom domain in the dashboard, or with POST /v2/hosted/domains and {"domain": "connect.yourapp.com"}. Then create a CNAME record from that hostname to hosted.linkupapi.com. The domain turns active once we’ve checked the record and issued its certificate, usually within a few minutes. GET /v2/hosted/domains shows the status. After that, pass domain when you create a link.
Get Connection Link
GET /v2/accounts/connect-link/{link_id} returns the link’s status (pending, checkpoint while the user is completing a verification, used, expired), the platform chosen, its account_id once connected, and notified when a notify_url was set.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"LinkUp API","colors":{"primary":"#0D9373","light":"#07C983","dark":"#0D9373"},"logo":{"light":"https://mintcdn.com/linkup/ZlfbWzmoiFddAPIP/logo/light.svg?fit=max\u0026auto=format\u0026n=ZlfbWzmoiFddAPIP\u0026q=85\u0026s=910520051bbdecf6c5ba291bc05e176c","dark":"https://mintcdn.com/linkup/ZlfbWzmoiFddAPIP/logo/dark.svg?fit=max\u0026auto=format\u0026n=ZlfbWzmoiFddAPIP\u0026q=85\u0026s=5ec6ea859b567d1cae384801ba8051eb"},"favicon":"https://mintcdn.com/linkup/ZlfbWzmoiFddAPIP/favicon.svg?fit=max\u0026auto=format\u0026n=ZlfbWzmoiFddAPIP\u0026q=85\u0026s=a9239e0f360c22cd2876d0186db14f72","api":{"playground":{"display":"interactive"},"mdx":{"server":"https://api.linkupapi.com"}},"search":{"prompt":"Search the docs..."},"contextual":{"options":["copy","chatgpt","claude"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"linkup","hasAudioNarration":false,"actualSubdomain":"linkup","customDomains":["docs.linkupapi.com"],"gitSource":{"type":"github","owner":"titouanprx","repo":"mintlify-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"edits":true},"entitlements":{},"buildId":"6b0ae27b7a193201692f7a57","clientVersion":"0.0.4344","searchFilterCounts":[{"language":"default","tag":"Documentation","count":160},{"language":"default","tag":"LinkedIn Engagement API","count":37},{"language":"default","tag":"Profiles","count":19},{"language":"default","tag":"Data API","count":15},{"language":"default","tag":"Recruiting","count":14},{"language":"default","tag":"Network","count":13},{"language":"default","tag":"Messaging","count":12},{"language":"default","tag":"Content \u0026 Posts","count":11},{"language":"default","tag":"Content","count":11},{"language":"default","tag":"Accounts","count":9}]},"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":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"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":"api-reference/v2/accounts/connect-link","slug":"/api-reference/v2/accounts/connect-link","pageMetadata":{"title":"Hosted Connection Link","api":"POST /v2/accounts/connect-link","description":"Let your users connect their LinkedIn, WhatsApp or email account on a page hosted by LinkupAPI, so their credentials never reach your servers","href":"/api-reference/v2/accounts/connect-link"},"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: \"Let your users connect their LinkedIn, WhatsApp or email account on a page hosted by LinkupAPI, so their credentials never reach your servers\"\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`,..._provideComponents(),...props.components},{CodeBlock,Heading,Note,ParamField,ResponseField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Generate a single-use link and hand it to your user. They connect their account on `,_jsx(_components.code,{children:`app.linkupapi.com`}),` (LinkedIn sign-in and 2FA, WhatsApp QR or pairing code, Google / Microsoft consent or SMTP settings), and you only receive the resulting `,_jsx(_components.code,{children:`account_id`}),`. Your app never sees or handles the credentials.`]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`The link itself is free. A LinkedIn login through it costs `,_jsx(_components.strong,{children:`1 credit`}),`, like `,_jsx(_components.a,{href:`/api-reference/v2/accounts/login`,children:`Connect Account`}),`; WhatsApp and email are free. Ignore this if you’re on per-seat pricing.`]})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Flow`})}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Your backend calls this endpoint and gets a `,_jsx(_components.code,{children:`url`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Your app sends the user to that `,_jsx(_components.code,{children:`url`}),` (full redirect or new tab, never an iframe).`]}),`\n`,_jsx(_components.li,{children:`The user picks a channel (if you offered several) and connects it on our page, verification included.`}),`\n`,_jsxs(_components.li,{children:[`We POST the outcome to your `,_jsx(_components.code,{children:`notify_url`}),` and send the user to your `,_jsx(_components.code,{children:`success_url`}),`. You can also poll `,_jsx(_components.a,{href:`#get-connection-link`,children:`Get Connection Link`}),` or `,_jsx(_components.a,{href:`/api-reference/v2/accounts/list-accounts`,children:`List Accounts`}),`.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`Links are single-use: generate a new one each time a user starts a connection.`}),`\n`,_jsx(Heading,{level:`3`,id:`header-parameters`,children:`Header Parameters`}),`\n`,_jsx(ParamField,{header:`x-api-key`,type:`string`,required:true,id:`param-x-api-key`,children:_jsx(_components.p,{children:`Your API key`})}),`\n`,_jsx(Heading,{level:`3`,id:`body-parameters`,children:`Body Parameters`}),`\n`,_jsx(ParamField,{body:`platforms`,type:`string | string[]`,default:`*`,id:`param-platforms`,children:_jsxs(_components.p,{children:[`Channels the page offers: `,_jsx(_components.code,{children:`linkedin`}),`, `,_jsx(_components.code,{children:`whatsapp`}),`, `,_jsx(_components.code,{children:`email`}),`, or `,_jsx(_components.code,{children:`*`}),` for all. With a single value the page skips the chooser. `,_jsx(_components.code,{children:`platform`}),` works as a shorthand for one value.`]})}),`\n`,_jsx(ParamField,{body:`name`,type:`string`,id:`param-name`,children:_jsxs(_components.p,{children:[`Your own reference for this user (max 200 characters), echoed in the `,_jsx(_components.code,{children:`notify_url`}),` payload so you can match the new account to your user.`]})}),`\n`,_jsx(ParamField,{body:`brand_name`,type:`string`,id:`param-brand-name`,children:_jsxs(_components.p,{children:[`Your product or company name (max 60 characters). The page then reads “Connect LinkedIn to `,`”, in the heading and the tab title. Omit for a neutral page.`]})}),`\n`,_jsx(ParamField,{body:`logo_url`,type:`string`,id:`param-logo-url`,children:_jsx(_components.p,{children:`HTTPS URL of your logo, shown above the heading.`})}),`\n`,_jsx(ParamField,{body:`email_providers`,type:`string[]`,default:`[\"google\", \"microsoft\", \"smtp\"]`,id:`param-email-providers`,children:_jsxs(_components.p,{children:[`Choices on the email step: `,_jsx(_components.code,{children:`google`}),` and `,_jsx(_components.code,{children:`microsoft`}),` are one-click OAuth buttons (the user picks the mailbox on the provider’s consent screen), `,_jsx(_components.code,{children:`smtp`}),` opens the IMAP/SMTP form. Pass `,_jsx(_components.code,{children:`[\"google\"]`}),` for a single “Continue with Google” button.`]})}),`\n`,_jsx(ParamField,{body:`expires_in`,type:`integer`,default:`3600`,id:`param-expires-in`,children:_jsx(_components.p,{children:`Link lifetime in seconds, from 60 to 604800 (7 days).`})}),`\n`,_jsx(ParamField,{body:`country`,type:`string`,id:`param-country`,children:_jsxs(_components.p,{children:[`LinkedIn and WhatsApp: lock the proxy country (same codes as `,_jsx(_components.a,{href:`/api-reference/v2/accounts/login`,children:`Connect Account`}),`). Omit to let the user pick it on the page.`]})}),`\n`,_jsx(ParamField,{body:`account_id`,type:`string`,id:`param-account-id`,children:_jsx(_components.p,{children:`Reconnect an existing account instead of creating one. The page only offers that account’s channel and pre-fills its email; the account keeps its id, its country and its webhooks.`})}),`\n`,_jsx(ParamField,{body:`account_name`,type:`string`,id:`param-account-name`,children:_jsx(_components.p,{children:`Display name of the account once connected. Defaults to the email.`})}),`\n`,_jsx(ParamField,{body:`success_url`,type:`string`,id:`param-success-url`,children:_jsx(_components.p,{children:`Where to send the user once the account is connected. Omit to show our confirmation screen.`})}),`\n`,_jsx(ParamField,{body:`failure_url`,type:`string`,id:`param-failure-url`,children:_jsx(_components.p,{children:`Where to send the user if they open the link after it expired or was used.`})}),`\n`,_jsx(ParamField,{body:`notify_url`,type:`string`,id:`param-notify-url`,children:_jsxs(_components.p,{children:[`HTTPS endpoint we POST to once the account is connected. See `,_jsx(_components.a,{href:`#callback`,children:`Callback`}),`.`]})}),`\n`,_jsx(ParamField,{body:`products`,type:`string[]`,id:`param-products`,children:_jsxs(_components.p,{children:[`LinkedIn: `,_jsx(_components.code,{children:`classic`}),`, `,_jsx(_components.code,{children:`sales_navigator`}),`, `,_jsx(_components.code,{children:`recruiter`}),`. The page then asks the user what to connect, and which contract if there are several. Omit for classic only.`]})}),`\n`,_jsx(ParamField,{body:`domain`,type:`string`,id:`param-domain`,children:_jsxs(_components.p,{children:[`One of your active `,_jsx(_components.a,{href:`#custom-domain`,children:`custom domains`}),`. The link opens there instead of app.linkupapi.com.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`data.link_id`,type:`string`,id:`param-data-link-id`,children:_jsxs(_components.p,{children:[`Id of the link, for `,_jsx(_components.a,{href:`#get-connection-link`,children:`Get Connection Link`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`data.url`,type:`string`,id:`param-data-url`,children:_jsx(_components.p,{children:`The page to send your user to.`})}),`\n`,_jsx(ResponseField,{name:`data.expires_at`,type:`string`,id:`param-data-expires-at`,children:_jsx(_components.p,{children:`ISO 8601 UTC expiry of the link.`})}),`\n`,_jsx(Heading,{level:`3`,id:`callback`,children:`Callback`}),`\n`,_jsxs(_components.p,{children:[`When the account is connected we POST this JSON to `,_jsx(_components.code,{children:`notify_url`}),`, with a `,_jsx(_components.code,{children:`X-Linkup-Link-Id`}),` header. We retry twice (after 5 s and 30 s) if your endpoint doesn’t answer 2xx.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`json`,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:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,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\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"CREATION_SUCCESS\"`}),_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\":`#9CDCFE`},children:` \"account_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"6acf60d12e999f4a3534cfcb\"`}),_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\":`#9CDCFE`},children:` \"platform\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"linkedin\"`}),_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\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"user_12345\"`}),_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\":`#9CDCFE`},children:` \"link_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"6ad01a9b2e999f4a3534d001\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`status`}),` is `,_jsx(_components.code,{children:`RECONNECTED`}),` when the link was created with an `,_jsx(_components.code,{children:`account_id`}),`. The callback is not signed: confirm it with `,_jsx(_components.a,{href:`/api-reference/v2/accounts/get-account`,children:`Get Account`}),` before trusting it.`]}),`\n`,_jsx(Heading,{level:`3`,id:`custom-domain`,children:`Custom domain`}),`\n`,_jsxs(_components.p,{children:[`To open the page on your own domain (for example `,_jsx(_components.code,{children:`connect.yourapp.com`}),`), add the domain under `,_jsx(_components.strong,{children:`Access → Custom domain`}),` in the dashboard, or with `,_jsx(_components.code,{children:`POST /v2/hosted/domains`}),` and `,_jsx(_components.code,{children:`{\"domain\": \"connect.yourapp.com\"}`}),`. Then create a `,_jsx(_components.code,{children:`CNAME`}),` record from that hostname to `,_jsx(_components.code,{children:`hosted.linkupapi.com`}),`. The domain turns `,_jsx(_components.code,{children:`active`}),` once we’ve checked the record and issued its certificate, usually within a few minutes. `,_jsx(_components.code,{children:`GET /v2/hosted/domains`}),` shows the status. After that, pass `,_jsx(_components.code,{children:`domain`}),` when you create a link.`]}),`\n`,_jsx(Heading,{level:`3`,id:`get-connection-link`,children:`Get Connection Link`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`GET /v2/accounts/connect-link/{link_id}`}),` returns the link’s `,_jsx(_components.code,{children:`status`}),` (`,_jsx(_components.code,{children:`pending`}),`, `,_jsx(_components.code,{children:`checkpoint`}),` while the user is completing a verification, `,_jsx(_components.code,{children:`used`}),`, `,_jsx(_components.code,{children:`expired`}),`), the `,_jsx(_components.code,{children:`platform`}),` chosen, its `,_jsx(_components.code,{children:`account_id`}),` once connected, and `,_jsx(_components.code,{children:`notified`}),` when a `,_jsx(_components.code,{children:`notify_url`}),` was set.`]})]})}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":"Hosted Connection Link","api":"POST /v2/accounts/connect-link","description":"Let your users connect their LinkedIn, WhatsApp or email account on a page hosted by LinkupAPI, so their credentials never reach your servers","href":"/api-reference/v2/accounts/connect-link"}}},"mdxSourceWithNoJs":{"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`,..._provideComponents(),...props.components},{CodeBlock,Heading,Note,ParamField,RequestExample,ResponseExample,ResponseField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Generate a single-use link and hand it to your user. They connect their account on `,_jsx(_components.code,{children:`app.linkupapi.com`}),` (LinkedIn sign-in and 2FA, WhatsApp QR or pairing code, Google / Microsoft consent or SMTP settings), and you only receive the resulting `,_jsx(_components.code,{children:`account_id`}),`. Your app never sees or handles the credentials.`]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`The link itself is free. A LinkedIn login through it costs `,_jsx(_components.strong,{children:`1 credit`}),`, like `,_jsx(_components.a,{href:`/api-reference/v2/accounts/login`,children:`Connect Account`}),`; WhatsApp and email are free. Ignore this if you’re on per-seat pricing.`]})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Flow`})}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Your backend calls this endpoint and gets a `,_jsx(_components.code,{children:`url`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Your app sends the user to that `,_jsx(_components.code,{children:`url`}),` (full redirect or new tab, never an iframe).`]}),`\n`,_jsx(_components.li,{children:`The user picks a channel (if you offered several) and connects it on our page, verification included.`}),`\n`,_jsxs(_components.li,{children:[`We POST the outcome to your `,_jsx(_components.code,{children:`notify_url`}),` and send the user to your `,_jsx(_components.code,{children:`success_url`}),`. You can also poll `,_jsx(_components.a,{href:`#get-connection-link`,children:`Get Connection Link`}),` or `,_jsx(_components.a,{href:`/api-reference/v2/accounts/list-accounts`,children:`List Accounts`}),`.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`Links are single-use: generate a new one each time a user starts a connection.`}),`\n`,_jsx(Heading,{level:`3`,id:`header-parameters`,children:`Header Parameters`}),`\n`,_jsx(ParamField,{header:`x-api-key`,type:`string`,required:true,id:`param-x-api-key`,children:_jsx(_components.p,{children:`Your API key`})}),`\n`,_jsx(Heading,{level:`3`,id:`body-parameters`,children:`Body Parameters`}),`\n`,_jsx(ParamField,{body:`platforms`,type:`string | string[]`,default:`*`,id:`param-platforms`,children:_jsxs(_components.p,{children:[`Channels the page offers: `,_jsx(_components.code,{children:`linkedin`}),`, `,_jsx(_components.code,{children:`whatsapp`}),`, `,_jsx(_components.code,{children:`email`}),`, or `,_jsx(_components.code,{children:`*`}),` for all. With a single value the page skips the chooser. `,_jsx(_components.code,{children:`platform`}),` works as a shorthand for one value.`]})}),`\n`,_jsx(ParamField,{body:`name`,type:`string`,id:`param-name`,children:_jsxs(_components.p,{children:[`Your own reference for this user (max 200 characters), echoed in the `,_jsx(_components.code,{children:`notify_url`}),` payload so you can match the new account to your user.`]})}),`\n`,_jsx(ParamField,{body:`brand_name`,type:`string`,id:`param-brand-name`,children:_jsxs(_components.p,{children:[`Your product or company name (max 60 characters). The page then reads “Connect LinkedIn to `,`”, in the heading and the tab title. Omit for a neutral page.`]})}),`\n`,_jsx(ParamField,{body:`logo_url`,type:`string`,id:`param-logo-url`,children:_jsx(_components.p,{children:`HTTPS URL of your logo, shown above the heading.`})}),`\n`,_jsx(ParamField,{body:`email_providers`,type:`string[]`,default:`[\"google\", \"microsoft\", \"smtp\"]`,id:`param-email-providers`,children:_jsxs(_components.p,{children:[`Choices on the email step: `,_jsx(_components.code,{children:`google`}),` and `,_jsx(_components.code,{children:`microsoft`}),` are one-click OAuth buttons (the user picks the mailbox on the provider’s consent screen), `,_jsx(_components.code,{children:`smtp`}),` opens the IMAP/SMTP form. Pass `,_jsx(_components.code,{children:`[\"google\"]`}),` for a single “Continue with Google” button.`]})}),`\n`,_jsx(ParamField,{body:`expires_in`,type:`integer`,default:`3600`,id:`param-expires-in`,children:_jsx(_components.p,{children:`Link lifetime in seconds, from 60 to 604800 (7 days).`})}),`\n`,_jsx(ParamField,{body:`country`,type:`string`,id:`param-country`,children:_jsxs(_components.p,{children:[`LinkedIn and WhatsApp: lock the proxy country (same codes as `,_jsx(_components.a,{href:`/api-reference/v2/accounts/login`,children:`Connect Account`}),`). Omit to let the user pick it on the page.`]})}),`\n`,_jsx(ParamField,{body:`account_id`,type:`string`,id:`param-account-id`,children:_jsx(_components.p,{children:`Reconnect an existing account instead of creating one. The page only offers that account’s channel and pre-fills its email; the account keeps its id, its country and its webhooks.`})}),`\n`,_jsx(ParamField,{body:`account_name`,type:`string`,id:`param-account-name`,children:_jsx(_components.p,{children:`Display name of the account once connected. Defaults to the email.`})}),`\n`,_jsx(ParamField,{body:`success_url`,type:`string`,id:`param-success-url`,children:_jsx(_components.p,{children:`Where to send the user once the account is connected. Omit to show our confirmation screen.`})}),`\n`,_jsx(ParamField,{body:`failure_url`,type:`string`,id:`param-failure-url`,children:_jsx(_components.p,{children:`Where to send the user if they open the link after it expired or was used.`})}),`\n`,_jsx(ParamField,{body:`notify_url`,type:`string`,id:`param-notify-url`,children:_jsxs(_components.p,{children:[`HTTPS endpoint we POST to once the account is connected. See `,_jsx(_components.a,{href:`#callback`,children:`Callback`}),`.`]})}),`\n`,_jsx(ParamField,{body:`products`,type:`string[]`,id:`param-products`,children:_jsxs(_components.p,{children:[`LinkedIn: `,_jsx(_components.code,{children:`classic`}),`, `,_jsx(_components.code,{children:`sales_navigator`}),`, `,_jsx(_components.code,{children:`recruiter`}),`. The page then asks the user what to connect, and which contract if there are several. Omit for classic only.`]})}),`\n`,_jsx(ParamField,{body:`domain`,type:`string`,id:`param-domain`,children:_jsxs(_components.p,{children:[`One of your active `,_jsx(_components.a,{href:`#custom-domain`,children:`custom domains`}),`. The link opens there instead of app.linkupapi.com.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`data.link_id`,type:`string`,id:`param-data-link-id`,children:_jsxs(_components.p,{children:[`Id of the link, for `,_jsx(_components.a,{href:`#get-connection-link`,children:`Get Connection Link`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`data.url`,type:`string`,id:`param-data-url`,children:_jsx(_components.p,{children:`The page to send your user to.`})}),`\n`,_jsx(ResponseField,{name:`data.expires_at`,type:`string`,id:`param-data-expires-at`,children:_jsx(_components.p,{children:`ISO 8601 UTC expiry of the link.`})}),`\n`,_jsx(Heading,{level:`3`,id:`callback`,children:`Callback`}),`\n`,_jsxs(_components.p,{children:[`When the account is connected we POST this JSON to `,_jsx(_components.code,{children:`notify_url`}),`, with a `,_jsx(_components.code,{children:`X-Linkup-Link-Id`}),` header. We retry twice (after 5 s and 30 s) if your endpoint doesn’t answer 2xx.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`json`,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:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,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\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"CREATION_SUCCESS\"`}),_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\":`#9CDCFE`},children:` \"account_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"6acf60d12e999f4a3534cfcb\"`}),_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\":`#9CDCFE`},children:` \"platform\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"linkedin\"`}),_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\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"user_12345\"`}),_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\":`#9CDCFE`},children:` \"link_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"6ad01a9b2e999f4a3534d001\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`status`}),` is `,_jsx(_components.code,{children:`RECONNECTED`}),` when the link was created with an `,_jsx(_components.code,{children:`account_id`}),`. The callback is not signed: confirm it with `,_jsx(_components.a,{href:`/api-reference/v2/accounts/get-account`,children:`Get Account`}),` before trusting it.`]}),`\n`,_jsx(Heading,{level:`3`,id:`custom-domain`,children:`Custom domain`}),`\n`,_jsxs(_components.p,{children:[`To open the page on your own domain (for example `,_jsx(_components.code,{children:`connect.yourapp.com`}),`), add the domain under `,_jsx(_components.strong,{children:`Access → Custom domain`}),` in the dashboard, or with `,_jsx(_components.code,{children:`POST /v2/hosted/domains`}),` and `,_jsx(_components.code,{children:`{\"domain\": \"connect.yourapp.com\"}`}),`. Then create a `,_jsx(_components.code,{children:`CNAME`}),` record from that hostname to `,_jsx(_components.code,{children:`hosted.linkupapi.com`}),`. The domain turns `,_jsx(_components.code,{children:`active`}),` once we’ve checked the record and issued its certificate, usually within a few minutes. `,_jsx(_components.code,{children:`GET /v2/hosted/domains`}),` shows the status. After that, pass `,_jsx(_components.code,{children:`domain`}),` when you create a link.`]}),`\n`,_jsx(Heading,{level:`3`,id:`get-connection-link`,children:`Get Connection Link`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`GET /v2/accounts/connect-link/{link_id}`}),` returns the link’s `,_jsx(_components.code,{children:`status`}),` (`,_jsx(_components.code,{children:`pending`}),`, `,_jsx(_components.code,{children:`checkpoint`}),` while the user is completing a verification, `,_jsx(_components.code,{children:`used`}),`, `,_jsx(_components.code,{children:`expired`}),`), the `,_jsx(_components.code,{children:`platform`}),` chosen, its `,_jsx(_components.code,{children:`account_id`}),` once connected, and `,_jsx(_components.code,{children:`notified`}),` when a `,_jsx(_components.code,{children:`notify_url`}),` was set.`]}),`\n`,_jsxs(RequestExample,{children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`12`,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:`12`,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:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.linkupapi.com/v2/accounts/connect-link`}),_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:` \"x-api-key: YOUR_API_KEY\"`}),_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:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"platforms\": [\"linkedin\", \"email\"],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"name\": \"user_12345\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"brand_name\": \"Acme\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"logo_url\": \"https://acme.com/logo.svg\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"country\": \"FR\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"success_url\": \"https://yourapp.com/linkedin/connected\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"notify_url\": \"https://yourapp.com/webhooks/linkup\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python`,numberOfLines:`16`,language:`python`,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:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`16`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`r `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests.post(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.linkupapi.com/v2/accounts/connect-link\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` headers`}),_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:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"x-api-key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` json`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"platforms\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"linkedin\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"email\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"user_12345\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"brand_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Acme\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"logo_url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://acme.com/logo.svg\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"country\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"FR\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"success_url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://yourapp.com/linkedin/connected\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"notify_url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://yourapp.com/webhooks/linkup\"`}),_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:` },`})}),`\n`,_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:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(r.json()[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`][`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`])`})]}),`\n`]})})})]}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`Response`,numberOfLines:`17`,language:`json`,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:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`17`,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\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_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\":`#9CDCFE`},children:` \"data\"`}),_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\":`#9CDCFE`},children:` \"link_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"6ad01a9b2e999f4a3534d001\"`}),_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\":`#9CDCFE`},children:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://app.linkupapi.com/connect/K3sX9...\"`}),_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\":`#9CDCFE`},children:` \"expires_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-10-14T16:00:00Z\"`}),_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\":`#9CDCFE`},children:` \"platforms\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"linkedin\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"email\"`}),_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\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"user_12345\"`}),_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\":`#9CDCFE`},children:` \"brand_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Acme\"`}),_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\":`#9CDCFE`},children:` \"logo_url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://acme.com/logo.svg\"`}),_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\":`#9CDCFE`},children:` \"reconnect\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})]}),`\n`,_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\":`#9CDCFE`},children:` \"metadata\"`}),_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\":`#9CDCFE`},children:` \"action\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"connect_link\"`}),_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\":`#9CDCFE`},children:` \"credits_consumed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`})]}),`\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:`}`})}),`\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":"Hosted Connection Link","api":"POST /v2/accounts/connect-link","description":"Let your users connect their LinkedIn, WhatsApp or email account on a page hosted by LinkupAPI, so their credentials never reach your servers","href":"/api-reference/v2/accounts/connect-link"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Header Parameters","slug":"header-parameters","depth":3,"children":[]},{"title":"Body Parameters","slug":"body-parameters","depth":3,"children":[]},{"title":"Response","slug":"response","depth":3,"children":[]},{"title":"Callback","slug":"callback","depth":3,"children":[]},{"title":"Custom domain","slug":"custom-domain","depth":3,"children":[]},{"title":"Get Connection Link","slug":"get-connection-link","depth":3,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"cURL","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"12\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -X\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> POST\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> https://api.linkupapi.com/v2/accounts/connect-link\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"x-api-key: YOUR_API_KEY\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Content-Type: application/json\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -d\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"platforms\": [\"linkedin\", \"email\"],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"name\": \"user_12345\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"brand_name\": \"Acme\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"logo_url\": \"https://acme.com/logo.svg\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"country\": \"FR\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"success_url\": \"https://yourapp.com/linkedin/connected\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"notify_url\": \"https://yourapp.com/webhooks/linkup\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Python","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"python\">\u003ccode language=\"python\" numberOfLines=\"16\">\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">import\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> requests\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">r \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> requests.post(\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"https://api.linkupapi.com/v2/accounts/connect-link\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> headers\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"x-api-key\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"YOUR_API_KEY\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">},\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> json\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"platforms\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"linkedin\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"email\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"user_12345\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"brand_name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Acme\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"logo_url\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"https://acme.com/logo.svg\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"country\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"FR\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"success_url\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"https://yourapp.com/linkedin/connected\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"notify_url\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"https://yourapp.com/webhooks/linkup\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\">print\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(r.json()[\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">][\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"url\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">])\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"Response","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"17\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"success\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"link_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"6ad01a9b2e999f4a3534d001\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"url\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"https://app.linkupapi.com/connect/K3sX9...\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"expires_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-10-14T16:00:00Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"platforms\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"linkedin\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"email\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"user_12345\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"brand_name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Acme\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"logo_url\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"https://acme.com/logo.svg\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"reconnect\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"metadata\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"action\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"connect_link\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"credits_consumed\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">0\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Hosted Connection Link","path":"/v2/accounts/connect-link","servers":[{"url":"https://api.linkupapi.com"}],"method":"post","request":{"security":[],"parameters":{"query":{},"header":{"x-api-key":{"schema":[{"type":"string","description":"Your API key","required":true}]}},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"platforms":[{"type":"array","items":[{"type":"string"}],"description":"Channels the page offers: `linkedin` , `whatsapp` , `email` , or `*` for all. With a single value the page skips the chooser. `platform` works as a shorthand for one value."}],"name":[{"type":"string","description":"Your own reference for this user (max 200 characters), echoed in the `notify_url` payload so you can match the new account to your user."}],"brand_name":[{"type":"string","description":"Your product or company name (max 60 characters). The page then reads “Connect LinkedIn to ”, in the heading and the tab title. Omit for a neutral page."}],"logo_url":[{"type":"string","description":"HTTPS URL of your logo, shown above the heading."}],"email_providers":[{"type":"array","items":[{"type":"string"}],"description":"Choices on the email step: `google` and `microsoft` are one-click OAuth buttons (the user picks the mailbox on the provider’s consent screen), `smtp` opens the IMAP/SMTP form. Pass `[\"google\"]` for a single “Continue with Google” button."}],"expires_in":[{"type":"integer","description":"Link lifetime in seconds, from 60 to 604800 (7 days)."}],"country":[{"type":"string","description":"LinkedIn and WhatsApp: lock the proxy country (same codes as Connect Account ). Omit to let the user pick it on the page."}],"account_id":[{"type":"string","description":"Reconnect an existing account instead of creating one. The page only offers that account’s channel and pre-fills its email; the account keeps its id, its country and its webhooks."}],"account_name":[{"type":"string","description":"Display name of the account once connected. Defaults to the email."}],"success_url":[{"type":"string","description":"Where to send the user once the account is connected. Omit to show our confirmation screen."}],"failure_url":[{"type":"string","description":"Where to send the user if they open the link after it expired or was used."}],"notify_url":[{"type":"string","description":"HTTPS endpoint we POST to once the account is connected. See Callback ."}],"products":[{"type":"array","items":[{"type":"string"}],"description":"LinkedIn: `classic` , `sales_navigator` , `recruiter` . The page then asks the user what to connect, and which contract if there are several. Omit for classic only."}],"domain":[{"type":"string","description":"One of your active custom domains . The link opens there instead of app.linkupapi.com."}]}}],"examples":{"example":{"value":{"platforms":["\u003cstring>"],"name":"\u003cstring>","brand_name":"\u003cstring>","logo_url":"\u003cstring>","email_providers":["\u003cstring>"],"expires_in":123,"country":"\u003cstring>","account_id":"\u003cstring>","account_name":"\u003cstring>","success_url":"\u003cstring>","failure_url":"\u003cstring>","notify_url":"\u003cstring>","products":["\u003cstring>"],"domain":"\u003cstring>"}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"data.link_id":[{"type":"string","description":"Id of the link, for Get Connection Link ."}],"data.url":[{"type":"string","description":"The page to send your user to."}],"data.expires_at":[{"type":"string","description":"ISO 8601 UTC expiry of the link."}]}}],"examples":{"example":{"value":{"data.link_id":"\u003cstring>","data.url":"\u003cstring>","data.expires_at":"\u003cstring>"}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"linkup","siteName":"LinkUp API","title":"Hosted Connection Link - LinkUp API","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{"v2.0":{"href":"/api-reference/v2/accounts/connect-link","matchLevel":0},"v1.5":{"href":"/api-reference/introduction","matchLevel":4},"v1.0":{"href":"/api-reference/introduction","matchLevel":4}},"firstHrefInLanguage":{}},"lastModified":"2026-10-31T21:51:27.645Z","originalFileLocation":"api-reference/v2/accounts/connect-link.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=\"Let your users connect their LinkedIn, WhatsApp or email account on a page hosted by LinkupAPI, so their credentials never reach your servers\">\u003cmeta data-mint-head name=\"application-name\" content=\"LinkUp API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/linkup/Pwp8bAx04X-d5qDo/_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/linkup/Pwp8bAx04X-d5qDo/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/linkup/Pwp8bAx04X-d5qDo/_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/linkup/Pwp8bAx04X-d5qDo/_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/linkup/Pwp8bAx04X-d5qDo/_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/linkup/Pwp8bAx04X-d5qDo/_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/linkup/Pwp8bAx04X-d5qDo/_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/linkup/Pwp8bAx04X-d5qDo/_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/linkup/Pwp8bAx04X-d5qDo/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Hosted Connection Link - LinkUp API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Let your users connect their LinkedIn, WhatsApp or email account on a page hosted by LinkupAPI, so their credentials never reach your servers\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"LinkUp API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.linkupapi.com/api-reference/v2/accounts/connect-link\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://linkup.mintlify.site/_mintlify/api/og/v2?division=Accounts\u0026amp;title=Hosted+Connection+Link\u0026amp;description=Let+your+users+connect+their+LinkedIn%2C+WhatsApp+or+email+account+on+a+page+hosted+by+LinkupAPI%2C+so+their+credentials+never+reach+your+servers\u0026amp;theme=b0aaf15cbe23d1d94ca6fd79\u0026amp;signature=e48797dccbdd373ca5ece50c21724baabc8c5900967e2e9e13661e5ac0ba5ba5\">\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=\"Hosted Connection Link - LinkUp API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Let your users connect their LinkedIn, WhatsApp or email account on a page hosted by LinkupAPI, so their credentials never reach your servers\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://linkup.mintlify.site/_mintlify/api/og/v2?division=Accounts\u0026amp;title=Hosted+Connection+Link\u0026amp;description=Let+your+users+connect+their+LinkedIn%2C+WhatsApp+or+email+account+on+a+page+hosted+by+LinkupAPI%2C+so+their+credentials+never+reach+your+servers\u0026amp;theme=b0aaf15cbe23d1d94ca6fd79\u0026amp;signature=e48797dccbdd373ca5ece50c21724baabc8c5900967e2e9e13661e5ac0ba5ba5\">\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/linkup/Pwp8bAx04X-d5qDo/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"LinkUp API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0D9373\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.linkupapi.com/api-reference/v2/accounts/connect-link\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/v2/accounts/connect-link.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.linkupapi.com/#organization\",\"name\":\"LinkUp API\",\"url\":\"https://docs.linkupapi.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/linkup/ZlfbWzmoiFddAPIP/logo/light.svg?fit=max\u0026auto=format\u0026n=ZlfbWzmoiFddAPIP\u0026q=85\u0026s=910520051bbdecf6c5ba291bc05e176c\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.linkupapi.com#website\",\"name\":\"LinkUp API\",\"url\":\"https://docs.linkupapi.com\",\"publisher\":{\"@id\":\"https://docs.linkupapi.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.linkupapi.com/api-reference/v2/accounts/connect-link#webpage\",\"url\":\"https://docs.linkupapi.com/api-reference/v2/accounts/connect-link\",\"name\":\"Hosted Connection Link\",\"description\":\"Let your users connect their LinkedIn, WhatsApp or email account on a page hosted by LinkupAPI, so their credentials never reach your servers\",\"dateModified\":\"2026-10-31T21:51:27.645Z\",\"isPartOf\":{\"@id\":\"https://docs.linkupapi.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.linkupapi.com/api-reference/v2/accounts/connect-link#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.linkupapi.com/api-reference/v2/accounts/connect-link#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accounts\",\"item\":\"https://docs.linkupapi.com/api-reference/v2/accounts/login\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Hosted Connection Link\",\"item\":\"https://docs.linkupapi.com/api-reference/v2/accounts/connect-link\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.linkupapi.com/api-reference/v2/accounts/connect-link#apireference\",\"headline\":\"Hosted Connection Link\",\"name\":\"Hosted Connection Link\",\"description\":\"Let your users connect their LinkedIn, WhatsApp or email account on a page hosted by LinkupAPI, so their credentials never reach your servers\",\"url\":\"https://docs.linkupapi.com/api-reference/v2/accounts/connect-link\",\"mainEntityOfPage\":{\"@id\":\"https://docs.linkupapi.com/api-reference/v2/accounts/connect-link#webpage\"},\"dateModified\":\"2026-10-31T21:51:27.645Z\",\"publisher\":{\"@id\":\"https://docs.linkupapi.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.linkupapi.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"LinkUp API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"LinkUp API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/v2/accounts/connect-link.md","siteName":"LinkUp API","nav":{"global":null,"versions":[{"version":"v2.0","default":true,"tag":"Latest","tabs":[{"tab":"Documentation","icon":"book","groups":[{"group":"Getting Started","pages":[{"title":"Introduction","href":"/api-reference/v2/introduction"},{"title":"MCP Setup","href":"/api-reference/v2/mcp-setup"},{"title":"Platform Best Practices","href":"/api-reference/v2/best-practices"},{"title":"Migration from V1 to V2","href":"/api-reference/v2/migration"},{"title":"Error Codes","href":"/api-reference/v2/error-codes"}]},{"group":"Accounts","pages":[{"title":"Connect Account","api":"POST /v2/login","href":"/api-reference/v2/accounts/login"},{"title":"Verify Checkpoint (2FA)","api":"POST /v2/checkpoint","description":"Submit a verification code to complete account connection","href":"/api-reference/v2/accounts/checkpoint"},{"title":"Hosted Connection Link","api":"POST /v2/accounts/connect-link","href":"/api-reference/v2/accounts/connect-link"},{"title":"Autoconfig Provider","api":"GET /v2/email/autoconfig","description":"Detect the provider and IMAP/SMTP settings for an email address","href":"/api-reference/v2/email/autoconfig"},{"title":"List Accounts","api":"GET /v2/accounts","href":"/api-reference/v2/accounts/list-accounts"},{"title":"Get Account Details","api":"GET /v2/accounts/{account_id}","href":"/api-reference/v2/accounts/get-account"},{"title":"Set Proxy Country","api":"POST /v2/accounts/{account_id}/country","href":"/api-reference/v2/accounts/set-country"},{"title":"Sync Inbox","api":"POST /v2/accounts/{account_id}/sync","href":"/api-reference/v2/accounts/sync-inbox"},{"title":"Delete Account","api":"DELETE /v2/accounts/{account_id}","href":"/api-reference/v2/accounts/delete-account"}]},{"group":"Profiles","pages":[{"title":"Get My Profile","api":"POST /v2/profiles","href":"/api-reference/v2/profiles/get-me"},{"title":"Update Profile","api":"POST /v2/profiles","href":"/api-reference/v2/profiles/update-profile"},{"title":"Get Profile Info","api":"POST /v2/profiles","href":"/api-reference/v2/profiles/get-profile"},{"title":"Get Contact Info","api":"POST /v2/profiles","href":"/api-reference/v2/profiles/get-contact"},{"title":"Visit Profile","api":"POST /v2/profiles","href":"/api-reference/v2/profiles/visit"},{"title":"Search People","api":"POST /v2/profiles","href":"/api-reference/v2/profiles/search-people"},{"title":"Search People Nav","sidebarTitle":"Search People Nav","api":"POST /v2/profiles","href":"/api-reference/v2/profiles/search-people-nav"},{"title":"Search Companies Nav","sidebarTitle":"Search Companies Nav","api":"POST /v2/profiles","href":"/api-reference/v2/profiles/search-companies-nav"},{"title":"Search People Recruiter","sidebarTitle":"Search People Recruiter","api":"POST /v2/profiles","href":"/api-reference/v2/profiles/search-people-recruiter"},{"title":"Check InMail","sidebarTitle":"Check InMail","api":"POST /v2/profiles","href":"/api-reference/v2/profiles/check-inmail"},{"title":"Check InMail Seat","sidebarTitle":"Check InMail Seat","api":"POST /v2/profiles","href":"/api-reference/v2/profiles/check-inmail-seat"},{"title":"Unlock Profile","api":"POST /v2/profiles","href":"/api-reference/v2/profiles/unlock"},{"title":"Typeahead (Filter Suggestions)","api":"POST /v2/typeahead","href":"/api-reference/v2/profiles/typeahead"},{"title":"Search Companies","api":"POST /v2/profiles","href":"/api-reference/v2/profiles/search-companies"},{"title":"Get Company Info","api":"POST /v2/profiles","href":"/api-reference/v2/profiles/get-company"},{"title":"Get Profile Viewers","api":"POST /v2/profiles","href":"/api-reference/v2/profiles/get-viewers"},{"title":"Get Profile Reactions","api":"POST /v2/profiles","href":"/api-reference/v2/profiles/get-reactions"},{"title":"Get Profile Comments","api":"POST /v2/profiles","href":"/api-reference/v2/profiles/get-comments"},{"title":"Get Profile Posts","api":"POST /v2/profiles","href":"/api-reference/v2/profiles/get-posts"}]},{"group":"Messaging","pages":[{"title":"Send Message or Email","api":"POST /v2/messages","href":"/api-reference/v2/messages/send"},{"title":"List Inbox","api":"POST /v2/messages","href":"/api-reference/v2/messages/list-inbox"},{"title":"Get Conversation","api":"POST /v2/messages","href":"/api-reference/v2/messages/get-conversation"},{"title":"Download Attachment","api":"GET /v2/messages/attachment","href":"/api-reference/v2/messages/download-attachment"},{"title":"Balance","api":"POST /v2/balance","href":"/api-reference/v2/messages/balance"},{"title":"Check Numbers","api":"POST /v2/messages","href":"/api-reference/v2/messages/check-numbers"},{"title":"Manage LinkedIn Messaging","href":"/api-reference/v2/messages/build-inbox"},{"title":"Manage Email Messaging","href":"/api-reference/v2/messages/manage-emails"},{"title":"Manage WhatsApp Messaging","href":"/api-reference/v2/messages/manage-whatsapp"}]},{"group":"Network","pages":[{"title":"Send Connection Request","api":"POST /v2/network","href":"/api-reference/v2/network/invite"},{"title":"Accept Invitation","api":"POST /v2/network","href":"/api-reference/v2/network/accept"},{"title":"Decline Invitation","api":"POST /v2/network","href":"/api-reference/v2/network/decline"},{"title":"List Connections","api":"POST /v2/network","href":"/api-reference/v2/network/list-connections"},{"title":"List Invitations","api":"POST /v2/network","href":"/api-reference/v2/network/list-invitations"},{"title":"List Sent Invitations","api":"POST /v2/network","href":"/api-reference/v2/network/list-sent"},{"title":"List Followers","api":"POST /v2/network","href":"/api-reference/v2/network/list-followers"},{"title":"Withdraw Invitation","api":"POST /v2/network","href":"/api-reference/v2/network/withdraw"},{"title":"Check Invitation Status","api":"POST /v2/network","href":"/api-reference/v2/network/check-invitation"},{"title":"Get Network Recommendations","api":"POST /v2/network","href":"/api-reference/v2/network/recommendations"},{"title":"Follow / Unfollow","api":"POST /v2/network","href":"/api-reference/v2/network/follow"},{"title":"Events","api":"POST /v2/network","href":"/api-reference/v2/network/events"},{"title":"Get Group Members","api":"POST /v2/network","href":"/api-reference/v2/network/group-members"}]},{"group":"Content","pages":[{"title":"Create Post","api":"POST /v2/content","href":"/api-reference/v2/content/create"},{"title":"Create Company Post","api":"POST /v2/content","href":"/api-reference/v2/content/create-company"},{"title":"Get Post","api":"POST /v2/content","href":"/api-reference/v2/content/get"},{"title":"Search Posts","api":"POST /v2/content","href":"/api-reference/v2/content/search"},{"title":"Get Feed","api":"POST /v2/content","href":"/api-reference/v2/content/get-feed"},{"title":"React to Post","api":"POST /v2/content","href":"/api-reference/v2/content/react"},{"title":"Comment on Post","api":"POST /v2/content","href":"/api-reference/v2/content/comment"},{"title":"Reply to Comment","api":"POST /v2/content","href":"/api-reference/v2/content/answer-comment"},{"title":"Repost","api":"POST /v2/content","href":"/api-reference/v2/content/repost"},{"title":"Get Post Comments","api":"POST /v2/content","href":"/api-reference/v2/content/get-comments"},{"title":"Get Post Reactions","api":"POST /v2/content","href":"/api-reference/v2/content/get-reactions"}]},{"group":"Recruiting","pages":[{"title":"Search Jobs","api":"POST /v2/jobs","href":"/api-reference/v2/jobs/search"},{"title":"Get Job Posts","api":"POST /v2/recruiter","href":"/api-reference/v2/recruiter/get-posts"},{"title":"Get Job Candidates","api":"POST /v2/recruiter","href":"/api-reference/v2/recruiter/get-candidates"},{"title":"Get Candidate CV","api":"POST /v2/recruiter","href":"/api-reference/v2/recruiter/get-cv"},{"title":"Create Job Posting","api":"POST /v2/recruiter","href":"/api-reference/v2/recruiter/create-job"},{"title":"Close Job Posting","api":"POST /v2/recruiter","href":"/api-reference/v2/recruiter/close-job"},{"title":"Publish Job Posting","api":"POST /v2/recruiter","href":"/api-reference/v2/recruiter/publish-job"},{"title":"Projects","sidebarTitle":"Projects","api":"POST /v2/recruiter","href":"/api-reference/v2/recruiter/projects"}]},{"group":"Credits","pages":[{"title":"Get Credit Balance","api":"GET /v2/credits","href":"/api-reference/v2/credits/get-balance"}]},{"group":"Logs","pages":[{"title":"List API Logs","api":"GET /v2/logs","href":"/api-reference/v2/logs/list-logs"}]},{"group":"Email Enrichment","pages":[{"title":"Find Email","api":"POST /v2/enrich","href":"/api-reference/v2/enrich/find-email"},{"title":"Validate Email","api":"POST /v2/enrich","href":"/api-reference/v2/enrich/validate-email"},{"title":"Reverse Email Lookup","api":"POST /v2/enrich","href":"/api-reference/v2/enrich/reverse-email"}]},{"group":"Webhooks (Real-Time)","pages":[{"title":"Webhooks Introduction","href":"/api-reference/v2/webhooks/introduction"},{"title":"Create Webhook","api":"POST /v2/webhooks","href":"/api-reference/v2/webhooks/create"},{"title":"List Webhooks","api":"GET /v2/webhooks","href":"/api-reference/v2/webhooks/list"},{"title":"Update Webhook","api":"PUT /v2/webhooks/{webhook_id}","href":"/api-reference/v2/webhooks/update"},{"title":"Delete Webhook","api":"DELETE /v2/webhooks/{webhook_id}","href":"/api-reference/v2/webhooks/delete"},{"title":"Start Monitoring","api":"POST /v2/webhooks/{webhook_id}/start","href":"/api-reference/v2/webhooks/start"},{"title":"Stop Monitoring","api":"POST /v2/webhooks/{webhook_id}/stop","href":"/api-reference/v2/webhooks/stop"},{"title":"Signature Verification","href":"/api-reference/v2/webhooks/signature"},{"title":"Poll Events","api":"GET /v2/webhooks/{webhook_id}/events","href":"/api-reference/v2/webhooks/events"}]}]},{"tab":"Tutorials","icon":"graduation-cap","pages":[{"title":"Tutorials","href":"/tutorials/linkedin-campaign"}]}]},{"version":"v1.5","pages":[{"title":"v1.5","href":"/api-reference/introduction"}]},{"version":"v1.0","pages":[{"title":"v1.0","href":"/api-reference/introduction"}]}]},"basePath":"","title":"Hosted Connection Link - LinkUp API","deploymentId":"dpl_EwfxjeKENdVkfzdag8rM6mKzcTUJ","buildId":"dpl_EwfxjeKENdVkfzdag8rM6mKzcTUJ","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-B8kPdtB2.js","snippetPresets-C-p1aFQ1.js","utils-B9NnUZSZ.js","style-to-object-BY3JEAdk.js","utils-DFxl7cW2.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-bSr9h7OB.js","conditional-requirements-CFM0id0Q.js","cloneDeep-Bw4Gcy_r.js","_Uint8Array-C68x8Gny.js","isObject-FP1Yky1u.js","ApiExamples-BXsp8PHs.js","usePlaygroundInputsStore-BlAOLmIF.js","shallow-C2F02mqa.js","isEqual-C8iG4q2G.js","CodeSnippets-45lHR04X.js","CodeSnippet-6Cemznl-.js","use-playground-group-access-Cyy8SXp5.js","Page-CeZ_ZB5X.js","api-description-markdown-DiOdv5rp.js","DynamicMarkdown-B_9ywLDq.js","SectionHeading-Cc2r-uqU.js","MethodPill-Df3Tcu4c.js","getPastedJson-B3vrV0wE.js","Check2Icon-YQhSFafd.js","axios-CsQoIw0U.js"]}