{ "status": "success", "message": "Time spent signal sent successfully"}
{ "status": "error", "message": "duration must be a positive integer (milliseconds)"}
{ "status": "error", "message": "Invalid post URL format"}
{ "status": "error", "message": "Invalid or expired LinkedIn authentication cookie"}
Send a time spent signal to LinkedIn indicating how long a user spent viewing a specific post. This helps with engagement tracking and analytics.
This endpoint costs 1 credit per request. Ignore this if you’re on per-seat pricing: usage is unlimited.
Header Parameters
string
required
Your API key
Body Parameters
string
required
URL of the LinkedIn post to send time spent signal for
integer
required
Duration in milliseconds that the user spent viewing the post. Must be a positive integer.
integer
Optional start time in milliseconds when the user began viewing the post
string
required
LinkedIn authentication cookie obtained from the login/verify process
string
default:"FR"
Country code for proxy selection. Available: US, CA, MX, CR, BR, AR, CL, CO, FR, UK, DE, NL, ES, IT, PT, BE, CH, AT, IE, SE, DK, FI, LT, LV, EE, PL, CZ, SK, HU, RO, UA, SI, HR, RS, AL, GR, CY, TR, IL, AE, EG, ZA, IN, PK, BD, JP, SG, MY, ID, TH, PH, AU
Response
string
Request status (success/error)
string
Detailed status message about the time spent signal request
{ "status": "success", "message": "Time spent signal sent successfully"}
{ "status": "error", "message": "duration must be a positive integer (milliseconds)"}
{ "status": "error", "message": "Invalid post URL format"}
{ "status": "error", "message": "Invalid or expired LinkedIn authentication cookie"}
Notes
Duration Requirements
Duration must be provided in milliseconds
Must be a positive integer value
Represents the actual time spent viewing the post
Optional Parameters
duration_start_time: Can be used to specify when the viewing session began
If provided, must be an integer in milliseconds
Post URL Support
Supports multiple LinkedIn post URL formats
Must be a valid LinkedIn post that is accessible with the provided login token
The API automatically extracts the activity ID from the URL
Error Handling
Invalid Cookie: Returned when the login token is expired or invalid
Invalid Post URL: Returned when the post URL format is incorrect or the activity ID cannot be extracted
Invalid Parameters: Returned when required parameters are missing or have invalid values
Insufficient Credits: Returned when the API key doesn’t have enough credits
Engagement Tracking
Signals are sent to LinkedIn’s analytics system
The signal is associated with the user identity from the login token
Rate Limits
Consider implementing appropriate delays between requests
Was this page helpful?
{"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":false},"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":"6af8670e8a96985090c51480","clientVersion":"0.0.4143","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":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/linkup/posts/time-spent","slug":"/api-reference/linkup/posts/time-spent","pageMetadata":{"title":"Send Post Time Spent Signal","api":"POST /v1/posts/time-spent","description":"Send time spent signal for a LinkedIn post to track engagement duration","href":"/api-reference/linkup/posts/time-spent"},"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: \"Send time spent signal for a LinkedIn post to track engagement duration\"\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={code:`code`,li:`li`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Note,ParamField,ResponseField}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Send a time spent signal to LinkedIn indicating how long a user spent viewing a specific post. This helps with engagement tracking and analytics.`}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`This endpoint costs `,_jsx(_components.strong,{children:`1 credit`}),` per request. Ignore this if you’re on per-seat pricing: usage is unlimited.`]})}),`\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:`post_url`,type:`string`,required:true,id:`param-post-url`,children:_jsx(_components.p,{children:`URL of the LinkedIn post to send time spent signal for`})}),`\n`,_jsx(ParamField,{body:`duration`,type:`integer`,required:true,id:`param-duration`,children:_jsx(_components.p,{children:`Duration in milliseconds that the user spent viewing the post. Must be a positive integer.`})}),`\n`,_jsx(ParamField,{body:`duration_start_time`,type:`integer`,id:`param-duration-start-time`,children:_jsx(_components.p,{children:`Optional start time in milliseconds when the user began viewing the post`})}),`\n`,_jsx(ParamField,{body:`login_token`,type:`string`,required:true,id:`param-login-token`,children:_jsx(_components.p,{children:`LinkedIn authentication cookie obtained from the login/verify process`})}),`\n`,_jsx(ParamField,{body:`country`,type:`string`,default:`FR`,id:`param-country`,children:_jsx(_components.p,{children:`Country code for proxy selection. Available: US, CA, MX, CR, BR, AR, CL, CO, FR, UK, DE, NL, ES, IT, PT, BE, CH, AT, IE, SE, DK, FI, LT, LV, EE, PL, CZ, SK, HU, RO, UA, SI, HR, RS, AL, GR, CY, TR, IL, AE, EG, ZA, IN, PK, BD, JP, SG, MY, ID, TH, PH, AU`})}),`\n`,_jsx(Heading,{level:`3`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`status`,type:`string`,id:`param-status`,children:_jsx(_components.p,{children:`Request status (success/error)`})}),`\n`,_jsx(ResponseField,{name:`message`,type:`string`,id:`param-message`,children:_jsx(_components.p,{children:`Detailed status message about the time spent signal request`})}),`\n`,`\n`,_jsx(Heading,{level:`3`,id:`notes`,children:`Notes`}),`\n`,_jsx(Heading,{level:`4`,id:`duration-requirements`,children:`Duration Requirements`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Duration must be provided in milliseconds`}),`\n`,_jsx(_components.li,{children:`Must be a positive integer value`}),`\n`,_jsx(_components.li,{children:`Represents the actual time spent viewing the post`}),`\n`]}),`\n`,_jsx(Heading,{level:`4`,id:`optional-parameters`,children:`Optional Parameters`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`duration_start_time`}),`: Can be used to specify when the viewing session began`]}),`\n`,_jsx(_components.li,{children:`If provided, must be an integer in milliseconds`}),`\n`]}),`\n`,_jsx(Heading,{level:`4`,id:`post-url-support`,children:`Post URL Support`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Supports multiple LinkedIn post URL formats`}),`\n`,_jsx(_components.li,{children:`Must be a valid LinkedIn post that is accessible with the provided login token`}),`\n`,_jsx(_components.li,{children:`The API automatically extracts the activity ID from the URL`}),`\n`]}),`\n`,_jsx(Heading,{level:`4`,id:`error-handling`,children:`Error Handling`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Invalid Cookie`}),`: Returned when the login token is expired or invalid`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Invalid Post URL`}),`: Returned when the post URL format is incorrect or the activity ID cannot be extracted`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Invalid Parameters`}),`: Returned when required parameters are missing or have invalid values`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Insufficient Credits`}),`: Returned when the API key doesn’t have enough credits`]}),`\n`]}),`\n`,_jsx(Heading,{level:`4`,id:`engagement-tracking`,children:`Engagement Tracking`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Signals are sent to LinkedIn’s analytics system`}),`\n`,_jsx(_components.li,{children:`The signal is associated with the user identity from the login token`}),`\n`]}),`\n`,_jsx(Heading,{level:`4`,id:`rate-limits`,children:`Rate Limits`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Consider implementing appropriate delays between requests`}),`\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":"Send Post Time Spent Signal","api":"POST /v1/posts/time-spent","description":"Send time spent signal for a LinkedIn post to track engagement duration","href":"/api-reference/linkup/posts/time-spent"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Note,ParamField,ResponseExample,ResponseField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Send a time spent signal to LinkedIn indicating how long a user spent viewing a specific post. This helps with engagement tracking and analytics.`}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`This endpoint costs `,_jsx(_components.strong,{children:`1 credit`}),` per request. Ignore this if you’re on per-seat pricing: usage is unlimited.`]})}),`\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:`post_url`,type:`string`,required:true,id:`param-post-url`,children:_jsx(_components.p,{children:`URL of the LinkedIn post to send time spent signal for`})}),`\n`,_jsx(ParamField,{body:`duration`,type:`integer`,required:true,id:`param-duration`,children:_jsx(_components.p,{children:`Duration in milliseconds that the user spent viewing the post. Must be a positive integer.`})}),`\n`,_jsx(ParamField,{body:`duration_start_time`,type:`integer`,id:`param-duration-start-time`,children:_jsx(_components.p,{children:`Optional start time in milliseconds when the user began viewing the post`})}),`\n`,_jsx(ParamField,{body:`login_token`,type:`string`,required:true,id:`param-login-token`,children:_jsx(_components.p,{children:`LinkedIn authentication cookie obtained from the login/verify process`})}),`\n`,_jsx(ParamField,{body:`country`,type:`string`,default:`FR`,id:`param-country`,children:_jsx(_components.p,{children:`Country code for proxy selection. Available: US, CA, MX, CR, BR, AR, CL, CO, FR, UK, DE, NL, ES, IT, PT, BE, CH, AT, IE, SE, DK, FI, LT, LV, EE, PL, CZ, SK, HU, RO, UA, SI, HR, RS, AL, GR, CY, TR, IL, AE, EG, ZA, IN, PK, BD, JP, SG, MY, ID, TH, PH, AU`})}),`\n`,_jsx(Heading,{level:`3`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`status`,type:`string`,id:`param-status`,children:_jsx(_components.p,{children:`Request status (success/error)`})}),`\n`,_jsx(ResponseField,{name:`message`,type:`string`,id:`param-message`,children:_jsx(_components.p,{children:`Detailed status message about the time spent signal request`})}),`\n`,_jsxs(ResponseExample,{children:[_jsx(CodeBlock,{filename:`Success Response`,numberOfLines:`4`,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:`4`,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:`\"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:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Time spent signal sent successfully\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Error Response - Invalid Duration`,numberOfLines:`4`,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:`4`,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:`\"error\"`}),_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:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"duration must be a positive integer (milliseconds)\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Error Response - Invalid Post URL`,numberOfLines:`4`,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:`4`,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:`\"error\"`}),_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:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Invalid post URL format\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Error Response - Invalid Cookie`,numberOfLines:`4`,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:`4`,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:`\"error\"`}),_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:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Invalid or expired LinkedIn authentication cookie\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`3`,id:`notes`,children:`Notes`}),`\n`,_jsx(Heading,{level:`4`,id:`duration-requirements`,children:`Duration Requirements`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Duration must be provided in milliseconds`}),`\n`,_jsx(_components.li,{children:`Must be a positive integer value`}),`\n`,_jsx(_components.li,{children:`Represents the actual time spent viewing the post`}),`\n`]}),`\n`,_jsx(Heading,{level:`4`,id:`optional-parameters`,children:`Optional Parameters`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`duration_start_time`}),`: Can be used to specify when the viewing session began`]}),`\n`,_jsx(_components.li,{children:`If provided, must be an integer in milliseconds`}),`\n`]}),`\n`,_jsx(Heading,{level:`4`,id:`post-url-support`,children:`Post URL Support`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Supports multiple LinkedIn post URL formats`}),`\n`,_jsx(_components.li,{children:`Must be a valid LinkedIn post that is accessible with the provided login token`}),`\n`,_jsx(_components.li,{children:`The API automatically extracts the activity ID from the URL`}),`\n`]}),`\n`,_jsx(Heading,{level:`4`,id:`error-handling`,children:`Error Handling`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Invalid Cookie`}),`: Returned when the login token is expired or invalid`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Invalid Post URL`}),`: Returned when the post URL format is incorrect or the activity ID cannot be extracted`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Invalid Parameters`}),`: Returned when required parameters are missing or have invalid values`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Insufficient Credits`}),`: Returned when the API key doesn’t have enough credits`]}),`\n`]}),`\n`,_jsx(Heading,{level:`4`,id:`engagement-tracking`,children:`Engagement Tracking`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Signals are sent to LinkedIn’s analytics system`}),`\n`,_jsx(_components.li,{children:`The signal is associated with the user identity from the login token`}),`\n`]}),`\n`,_jsx(Heading,{level:`4`,id:`rate-limits`,children:`Rate Limits`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Consider implementing appropriate delays between requests`}),`\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":"Send Post Time Spent Signal","api":"POST /v1/posts/time-spent","description":"Send time spent signal for a LinkedIn post to track engagement duration","href":"/api-reference/linkup/posts/time-spent"}}}},"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":"Notes","slug":"notes","depth":3,"children":[]},{"title":"Duration Requirements","slug":"duration-requirements","depth":4,"children":[]},{"title":"Optional Parameters","slug":"optional-parameters","depth":4,"children":[]},{"title":"Post URL Support","slug":"post-url-support","depth":4,"children":[]},{"title":"Error Handling","slug":"error-handling","depth":4,"children":[]},{"title":"Engagement Tracking","slug":"engagement-tracking","depth":4,"children":[]},{"title":"Rate Limits","slug":"rate-limits","depth":4,"children":[]}],"codeExamples":{"response":{"type":"ResponseExample","children":[{"filename":"Success 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=\"4\">\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\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"success\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Time spent signal sent successfully\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Error Response - Invalid Duration","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=\"4\">\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\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"error\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"duration must be a positive integer (milliseconds)\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Error Response - Invalid Post URL","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=\"4\">\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\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"error\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Invalid post URL format\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Error Response - Invalid Cookie","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=\"4\">\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\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"error\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Invalid or expired LinkedIn authentication cookie\"\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":"Send Post Time Spent Signal","path":"/v1/posts/time-spent","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":{"post_url":[{"type":"string","description":"URL of the LinkedIn post to send time spent signal for","required":true}],"duration":[{"type":"integer","description":"Duration in milliseconds that the user spent viewing the post. Must be a positive integer.","required":true}],"duration_start_time":[{"type":"integer","description":"Optional start time in milliseconds when the user began viewing the post"}],"login_token":[{"type":"string","description":"LinkedIn authentication cookie obtained from the login/verify process","required":true}],"country":[{"type":"string","description":"Country code for proxy selection. Available: US, CA, MX, CR, BR, AR, CL, CO, FR, UK, DE, NL, ES, IT, PT, BE, CH, AT, IE, SE, DK, FI, LT, LV, EE, PL, CZ, SK, HU, RO, UA, SI, HR, RS, AL, GR, CY, TR, IL, AE, EG, ZA, IN, PK, BD, JP, SG, MY, ID, TH, PH, AU"}]}}],"examples":{"example":{"value":{"post_url":"\u003cstring>","duration":123,"duration_start_time":123,"login_token":"\u003cstring>","country":"\u003cstring>"}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"status":[{"type":"string","description":"Request status (success/error)"}],"message":[{"type":"string","description":"Detailed status message about the time spent signal request"}]}}],"examples":{"example":{"value":{"status":"\u003cstring>","message":"\u003cstring>"}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"linkup","siteName":"LinkUp API","title":"Send Post Time Spent Signal - LinkUp API","navMaps":{"firstHrefInVersion":{"v2.0":{"href":"/api-reference/v2/introduction","matchLevel":4},"v1.5":{"href":"/api-reference/introduction","matchLevel":4},"v1.0":{"href":"/api-reference/linkup/posts/time-spent","matchLevel":0}},"firstHrefInLanguage":{}},"lastModified":"2026-10-14T10:02:48.148Z","originalFileLocation":"api-reference/linkup/posts/time-spent.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=\"Send time spent signal for a LinkedIn post to track engagement duration\">\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=\"Send Post Time Spent Signal - LinkUp API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Send time spent signal for a LinkedIn post to track engagement duration\">\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/linkup/posts/time-spent\">\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=Content+%26+Posts\u0026amp;title=Send+Post+Time+Spent+Signal\u0026amp;description=Send+time+spent+signal+for+a+LinkedIn+post+to+track+engagement+duration\u0026amp;theme=b0aaf15cbe23d1d94ca6fd79\u0026amp;signature=faa081b80cf517c1f788234f2f9dd13b5f5e6ad6e7852423dffc488808bce057\">\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=\"Send Post Time Spent Signal - LinkUp API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Send time spent signal for a LinkedIn post to track engagement duration\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://linkup.mintlify.site/_mintlify/api/og/v2?division=Content+%26+Posts\u0026amp;title=Send+Post+Time+Spent+Signal\u0026amp;description=Send+time+spent+signal+for+a+LinkedIn+post+to+track+engagement+duration\u0026amp;theme=b0aaf15cbe23d1d94ca6fd79\u0026amp;signature=faa081b80cf517c1f788234f2f9dd13b5f5e6ad6e7852423dffc488808bce057\">\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/linkup/posts/time-spent\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/linkup/posts/time-spent.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/linkup/posts/time-spent#webpage\",\"url\":\"https://docs.linkupapi.com/api-reference/linkup/posts/time-spent\",\"name\":\"Send Post Time Spent Signal\",\"description\":\"Send time spent signal for a LinkedIn post to track engagement duration\",\"dateModified\":\"2026-10-14T10:02:48.148Z\",\"isPartOf\":{\"@id\":\"https://docs.linkupapi.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.linkupapi.com/api-reference/linkup/posts/time-spent#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.linkupapi.com/api-reference/linkup/posts/time-spent#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"LinkedIn Engagement API\",\"item\":\"https://docs.linkupapi.com/api-reference/linkedin-engagement-api/getting-linkedin-cookie\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Content \u0026 Posts\",\"item\":\"https://docs.linkupapi.com/api-reference/linkup/posts/get-reactions\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Send Post Time Spent Signal\",\"item\":\"https://docs.linkupapi.com/api-reference/linkup/posts/time-spent\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.linkupapi.com/api-reference/linkup/posts/time-spent#apireference\",\"headline\":\"Send Post Time Spent Signal\",\"name\":\"Send Post Time Spent Signal\",\"description\":\"Send time spent signal for a LinkedIn post to track engagement duration\",\"url\":\"https://docs.linkupapi.com/api-reference/linkup/posts/time-spent\",\"mainEntityOfPage\":{\"@id\":\"https://docs.linkupapi.com/api-reference/linkup/posts/time-spent#webpage\"},\"dateModified\":\"2026-10-14T10:02:48.148Z\",\"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/linkup/posts/time-spent.md","siteName":"LinkUp API","nav":{"global":null,"versions":[{"version":"v2.0","default":true,"tag":"Latest","pages":[{"title":"v2.0","href":"/api-reference/v2/introduction"}]},{"version":"v1.5","pages":[{"title":"v1.5","href":"/api-reference/introduction"}]},{"version":"v1.0","tabs":[{"tab":"Documentation","icon":"book","groups":[{"group":"Getting Started","pages":[{"title":"Introduction","href":"/api-reference/introduction"}]},{"group":"Error Handling","pages":[{"title":"Error Messages","href":"/api-reference/linkup/Error_Messages/ErrorMessages"}]},{"group":"LinkedIn Engagement API","pages":[{"group":"Authentication","pages":[{"title":"Getting LinkedIn Authentication Token","href":"/api-reference/linkedin-engagement-api/getting-linkedin-cookie"},{"title":"Login","api":"POST /v1/auth/login","href":"/api-reference/linkup/authentication/login"},{"title":"Verify Code","api":"POST /v1/auth/verify","href":"/api-reference/linkup/authentication/verify"}]},{"group":"Profile Management","pages":[{"title":"Get My Profile","api":"POST /v1/profile/me","href":"/api-reference/linkup/Profile/me"},{"title":"Extract Profile Information","api":"POST /v1/profile/info","href":"/api-reference/linkup/Profile/profile-info"},{"title":"Search Profile","api":"POST /v1/profile/search","href":"/api-reference/linkup/Profile/search"}]},{"group":"Company Management","pages":[{"title":"Search Companies","api":"POST /v1/companies/search","href":"/api-reference/linkup/Companies/search"},{"title":"Get Company Information","api":"POST /v1/companies/info","href":"/api-reference/linkup/Companies/company-info"}]},{"group":"Network Management","pages":[{"title":"Send Connection Request","api":"POST /v1/network/connect","href":"/api-reference/linkup/Network/connect"},{"title":"Get Connections","api":"POST /v1/network/connections","href":"/api-reference/linkup/Network/get-connections"},{"title":"Accept Connection Invitation","api":"POST /v1/network/accept-invitation","href":"/api-reference/linkup/Network/accept-invitations"},{"title":"Get Received Invitations","api":"POST /v1/network/invitations","href":"/api-reference/linkup/Network/get-invitations"},{"title":"Get Sent Invitations","api":"POST /v1/network/sent-invitations","href":"/api-reference/linkup/Network/get-sent-invitations"},{"title":"Withdraw Invitation","api":"POST /v1/network/withdraw-invitation","href":"/api-reference/linkup/Network/withdraw-invitation"},{"title":"Get Network Recommendations","api":"POST /v1/network/recommendations","href":"/api-reference/linkup/Network/get-network-recomandations"},{"title":"Get Invitation Status","api":"POST /v1/network/invitation-status","href":"/api-reference/linkup/Network/get_invitations_status"}]},{"group":"Messaging","pages":[{"title":"Send Message","api":"POST /v1/messages/send-message","href":"/api-reference/linkup/Messages/send"},{"title":"Get Message Inbox","api":"POST /v1/messages/inbox","href":"/api-reference/linkup/Messages/inbox-conversations"},{"title":"Get Conversation Messages","api":"POST /v1/messages/conversation","href":"/api-reference/linkup/Messages/conversation"}]},{"group":"Content \u0026 Posts","pages":[{"title":"Get Post Reactions","api":"POST /v1/posts/reactions","href":"/api-reference/linkup/posts/get-reactions"},{"title":"React to Post","api":"POST /v1/posts/react","href":"/api-reference/linkup/posts/like"},{"title":"Repost Content","api":"POST /v1/posts/repost","href":"/api-reference/linkup/posts/repost"},{"title":"Add Comment to Post","api":"POST /v1/posts/comment","href":"/api-reference/linkup/posts/comment"},{"title":"Get Comments","api":"POST /v1/posts/extract-comments","href":"/api-reference/linkup/posts/get-comments"},{"title":"Answer Comment","api":"POST /v1/posts/answer-comment","href":"/api-reference/linkup/posts/answercomment"},{"title":"Search Posts","api":"POST /v1/posts/search","href":"/api-reference/linkup/posts/search"},{"title":"Create Post","api":"POST /v1/posts/create","href":"/api-reference/linkup/posts/create"},{"title":"Create Company Post","api":"POST /v1/posts/create-company","href":"/api-reference/linkup/posts/create-company"},{"title":"Get LinkedIn Feed","api":"POST /v1/posts/feed","description":"Retrieve posts from LinkedIn feed with automatic pagination","href":"/api-reference/linkup/posts/get-feed"},{"title":"Send Post Time Spent Signal","api":"POST /v1/posts/time-spent","href":"/api-reference/linkup/posts/time-spent"}]},{"group":"Recruiting","pages":[{"title":"Get Candidates","api":"POST /v1/recruiter/candidates","description":"Retrieve applicants for a LinkedIn job posting","href":"/api-reference/linkup/recruiter/get-candidate"},{"title":"Get Candidate CV","api":"POST /v1/recruiter/cv","href":"/api-reference/linkup/recruiter/get-cv"},{"title":"Get Job Posts","api":"POST /v1/recruiter/posts","href":"/api-reference/linkup/recruiter/get-posts"},{"title":"Publish Job","api":"POST /v1/recruiter/publish","href":"/api-reference/linkup/recruiter/publish-job"},{"title":"Close Job","api":"POST /v1/recruiter/close","href":"/api-reference/linkup/recruiter/close-job-offer"},{"title":"Create Job","api":"POST /v1/recruiter/create","href":"/api-reference/linkup/recruiter/create-job-post"}]}]},{"group":"Data API","pages":[{"group":"Signal API","pages":[{"title":"Extract Post Reactions","api":"POST /v1/data/signals/posts/reactions","href":"/api-reference/data-api/signal-api/posts-reactions"},{"title":"Extract Post Comments","api":"POST /v1/data/signals/posts/comments","href":"/api-reference/data-api/signal-api/posts-comments"},{"title":"Extract Profile Reactions","api":"POST /v1/data/signals/profile/reactions","href":"/api-reference/data-api/signal-api/profile-reactions"},{"title":"Extract Profile Comments","api":"POST /v1/data/signals/profile/comments","href":"/api-reference/data-api/signal-api/profile-comments"},{"title":"Extract Profile Posts","api":"POST /v1/data/signals/profile/posts","href":"/api-reference/data-api/signal-api/profile-posts"},{"title":"Extract Company Posts","api":"POST /v1/data/signals/company/posts","href":"/api-reference/data-api/signal-api/company-posts"}]},{"group":"Company API","pages":[{"title":"Search Companies","api":"POST /v1/data/search/companies","href":"/api-reference/data-api/company-api/companies-search"},{"title":"Get Company Information","api":"POST /v1/data/company/info","href":"/api-reference/data-api/company-api/company-info-direct"},{"title":"Get Company Information by Domain","api":"POST /v1/data/company/info-by-domain","href":"/api-reference/data-api/company-api/company-info-by-domain"}]},{"group":"Person API","pages":[{"title":"Search Profiles","api":"POST /v1/data/search/profiles","href":"/api-reference/data-api/person-api/profiles-search"},{"title":"Extract Profile Information","api":"POST /v1/data/profil/info","href":"/api-reference/data-api/person-api/profile-info-direct"},{"title":"Profile Enrichment","api":"POST /v1/data/profil/enrich","href":"/api-reference/data-api/person-api/profile-enrich"}]},{"group":"Mail API","pages":[{"title":"Email Finder","api":"POST /v1/data/mail/finder","href":"/api-reference/data-api/mail-api/mail-finder"},{"title":"Email Reverse Lookup","api":"POST /v1/data/mail/reverse","href":"/api-reference/data-api/mail-api/mail-reverse"},{"title":"Email Validation","api":"POST /v1/data/mail/validate","href":"/api-reference/data-api/mail-api/mail-validate"}]}]}]}]}]},"basePath":"","title":"Send Post Time Spent Signal - LinkUp API","buildId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","deploymentId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-DdEMm2kG.js","utils-BMo572L7.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C-4m9KAx.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DPLK2Oq9.js","snippetPresets-BKjfJMC9.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-DTsgtCEj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C8vmhyQM.js","shallow-r9w8LQGS.js","getApiPlaygroundDisplay-DjPI64HQ.js","CodeSnippet-C8Bvhl16.js","CodeSnippets-BtWUwcMy.js","Page-BIYvYBgk.js","getPastedJson-Dcm_3Pgl.js","icon-BXwrTpjc.js","MethodPill-CcjfVmmy.js","DuplicateIcon-BuKIbXAQ.js","createIcon-DaL9yXsO.js","DynamicMarkdown-Co5nikxh.js","SectionHeading-P4UNTsMZ.js","axios-vUo_bRtp.js"]}