Sends one message to a person, into the account’s 1:1 conversation with them or a new one. To answer a conversation whose id you have, use Reply.Paid: flat price per message (see Pricing). Requires the reply grant and an Idempotency-Key header. Shares the reply daily cap and spacing: about 45 seconds between sends on one account, ±50%.
A message LinkedIn accepted cannot be recalled. Every call must carry an Idempotency-Key. The SDKs generate one if you omit it and reuse it on retries, so a retry never sends twice.
Request
string
required
1–255 chars of [A-Za-z0-9_.:-]. A repeat with the same key returns 409 duplicate_request with the original request_id, even after a failure. It never sends again.
string
required
Connected LinkedIn account id.
string
required
An HTTPS linkedin.com/in/ profile URL, a slug, or LinkedIn’s external_id for the person.
string
required
1–4000 characters.
Before payment
Each of these returns a non-2xx and is never charged:
Status
error
Why
400
idempotency_key_required
No Idempotency-Key header.
400
invalid_request
Body failed validation.
400
exceeds_caller_budget
Price above your X-Max-Cost-USDC.
404
account_not_found
Not yours.
403
grant_denied / grant_revoked
The human did not grant reply, or revoked.
409
account_not_ready
Account is reconnect_required / error.
400
content_blocked
Content safety.
429
account_send_limit
Daily cap reached (resets_at in details).
503
limits_unavailable / moderation_unavailable
Could not check the cap or moderation. Retry shortly.
Whether the person is a connection is checked at send time, not here.
scheduled_for is the earliest send time when spacing delays the message; null means no delay.
Outcome
Poll GET /v1/requests/{request_id} (the SDK waits for you):
completed: { "action_request_id", "status": "sent", "conversation_id", "message_id", "external_message_id", "sent_at" }. Continue conversation_id with Reply. external_message_id is LinkedIn’s id for the message.
failed, with error_code and result.reason, plus upstream_reason when LinkedIn gave one.
Message and reply share one code list, marked terminal or retryable, on Errors.
recipient_not_connected: send an invitation first.
Refunded as account credit within a day if it failed before reaching LinkedIn (refunds run daily at 03:00 UTC).
processing with send_status: "ambiguous": a timeout, server error or throttled send left delivery unconfirmed. OneShot checks the conversation, sends again once if there is no sign of it after 10 minutes, and after 24 hours fails with send_unverified. Not refunded.
The SDKs wait up to 180 seconds, and spacing can push a send past that; the job keeps running. To skip the wait, pass wait: false and poll the request_id. The same goes for invite and withdraw.
Example
const sent = await agent.linkedinMessage({ accountId, profile: 'https://www.linkedin.com/in/jane-doe/', text: 'Thanks for connecting. Are you free for 15 minutes next week?', idempotencyKey: 'cadence:jane:first-message',});console.log(sent.conversation_id);
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"OneShot","colors":{"primary":"#0D9373","light":"#07C983","dark":"#0D9373"},"logo":{"light":"https://mintcdn.com/freebutter/UWfg9gt1IfuWbDDt/logo/light.svg?fit=max\u0026auto=format\u0026n=UWfg9gt1IfuWbDDt\u0026q=85\u0026s=72428dae0201cd91a3041443d2963096","dark":"https://mintcdn.com/freebutter/UWfg9gt1IfuWbDDt/logo/dark.svg?fit=max\u0026auto=format\u0026n=UWfg9gt1IfuWbDDt\u0026q=85\u0026s=907ce345784fcc6d335e3eb76243d67b"},"favicon":"https://mintcdn.com/freebutter/iT_x5apMd2XzdoGo/favicon.svg?fit=max\u0026auto=format\u0026n=iT_x5apMd2XzdoGo\u0026q=85\u0026s=af15dfc50b92ef314849364d5408de8e","navbar":{"links":[{"href":"https://oneshotagent.com","label":"Website"},{"href":"https://oneshotagent.com/trust","label":"Trust Center"},{"href":"https://oneshotagent.com/security","label":"Security"}],"primary":{"type":"button","label":"Start","href":"https://oneshotagent.com/console"}},"footer":{"socials":{"github":"https://github.com/oneshot-agent/sdk","twitter":"https://twitter.com/oneshotAIagent","linkedin":"https://www.linkedin.com/company/oneshot-agent","discord":"https://discord.gg/NnPt3DTmXR"}},"seo":{},"styling":{"latex":false},"metadata":{"timestamp":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"freebutter","hasAudioNarration":false,"actualSubdomain":"freebutter","customDomains":["docs.oneshotagent.com"],"gitSource":{"type":"github","owner":"tormine","repo":"oneshot","deployBranch":"main","contentDirectory":"apps/docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6b0491ec4753908852d3c407","clientVersion":"0.0.4286","searchFilterCounts":[{"language":"default","tag":"API Reference","count":228},{"language":"default","tag":"Data","count":110},{"language":"default","tag":"Get Started","count":40},{"language":"default","tag":"Messaging","count":36},{"language":"default","tag":"Compute","count":25},{"language":"default","tag":"Companies \u0026 finance","count":24},{"language":"default","tag":"Life sciences","count":22},{"language":"default","tag":"Health","count":19},{"language":"default","tag":"Account \u0026 billing","count":18},{"language":"default","tag":"OneShot GTM","count":18}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"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":"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":"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":"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}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".docs-object{display:block;width:220px;max-width:55%;height:auto;margin:-0.5rem 0 0 -2rem;pointer-events:none}"}]}
{"page":{"pagePath":"api-reference/linkedin/message","slug":"/api-reference/linkedin/message","pageMetadata":{"title":"Message a Connection","sidebarTitle":"Message","api":"POST https://win.oneshotagent.com/v1/tools/linkedin/message","description":"Send a message to a first-degree connection: into the conversation the account already has with them, or a new one.","href":"/api-reference/linkedin/message"},"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 a message to a first-degree connection: into the conversation the account already has with them, or a new one.\"\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`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,ParamField,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Sends one message to a person, into the account’s 1:1 conversation with them or a new one. To answer a conversation whose id you have, use `,_jsx(_components.a,{href:`/api-reference/linkedin/reply`,children:`Reply`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`Paid: flat price per message (see `,_jsx(_components.a,{href:`/pricing`,children:`Pricing`}),`). Requires the `,_jsx(_components.code,{children:`reply`}),` grant and an `,_jsx(_components.code,{children:`Idempotency-Key`}),` header. Shares the reply daily cap and spacing: about 45 seconds between sends on one account, ±50%.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`A message LinkedIn accepted cannot be recalled. Every call must carry an `,_jsx(_components.code,{children:`Idempotency-Key`}),`. The SDKs generate one if you omit it and reuse it on retries, so a retry never sends twice.`]})}),`\n`,`\n`,_jsx(Heading,{level:`2`,id:`request`,children:`Request`}),`\n`,_jsx(ParamField,{header:`Idempotency-Key`,type:`string`,required:true,id:`param-idempotency-key`,children:_jsxs(_components.p,{children:[`1–255 chars of `,_jsx(_components.code,{children:`[A-Za-z0-9_.:-]`}),`. A repeat with the same key returns `,_jsx(_components.code,{children:`409 duplicate_request`}),` with the original `,_jsx(_components.code,{children:`request_id`}),`, even after a failure. It never sends again.`]})}),`\n`,_jsx(ParamField,{body:`account_id`,type:`string`,required:true,id:`param-account-id`,children:`Connected LinkedIn account id.`}),`\n`,_jsxs(ParamField,{body:`profile`,type:`string`,required:true,id:`param-profile`,children:[`An HTTPS `,_jsx(_components.code,{children:`linkedin.com/in/`}),` profile URL, a slug, or LinkedIn’s `,_jsx(_components.code,{children:`external_id`}),` for the person.`]}),`\n`,_jsx(ParamField,{body:`text`,type:`string`,required:true,id:`param-text`,children:`1–4000 characters.`}),`\n`,_jsx(Heading,{level:`2`,id:`before-payment`,children:`Before payment`}),`\n`,_jsx(_components.p,{children:`Each of these returns a non-2xx and is never charged:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:_jsx(_components.code,{children:`error`})}),_jsx(_components.th,{children:`Why`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`idempotency_key_required`})}),_jsxs(_components.td,{children:[`No `,_jsx(_components.code,{children:`Idempotency-Key`}),` header.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`invalid_request`})}),_jsx(_components.td,{children:`Body failed validation.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`exceeds_caller_budget`})}),_jsxs(_components.td,{children:[`Price above your `,_jsx(_components.code,{children:`X-Max-Cost-USDC`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`404`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`account_not_found`})}),_jsx(_components.td,{children:`Not yours.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`403`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`grant_denied`}),` / `,_jsx(_components.code,{children:`grant_revoked`})]}),_jsxs(_components.td,{children:[`The human did not grant `,_jsx(_components.code,{children:`reply`}),`, or revoked.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`409`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`account_not_ready`})}),_jsxs(_components.td,{children:[`Account is `,_jsx(_components.code,{children:`reconnect_required`}),` / `,_jsx(_components.code,{children:`error`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`content_blocked`})}),_jsx(_components.td,{children:`Content safety.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`429`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`account_send_limit`})}),_jsxs(_components.td,{children:[`Daily cap reached (`,_jsx(_components.code,{children:`resets_at`}),` in `,_jsx(_components.code,{children:`details`}),`).`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`503`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`limits_unavailable`}),` / `,_jsx(_components.code,{children:`moderation_unavailable`})]}),_jsx(_components.td,{children:`Could not check the cap or moderation. Retry shortly.`})]})]})]}),`\n`,_jsx(_components.p,{children:`Whether the person is a connection is checked at send time, not here.`}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,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:`8`,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:` \"request_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"…\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"receipt_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"rcpt_…\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},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:`\"processing\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"tool\"`}),_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:` \"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:` \"action_request_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"…\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},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:`\"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},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:`\"…\"`}),_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:` \"scheduled_for\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-10-08T12:04:41.000Z\"`}),_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:` \"headroom\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"limit\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`50`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"used\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`3`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"pending\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"resets_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-10-09T00:00:00.000Z\"`}),_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`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`scheduled_for`}),` is the earliest send time when spacing delays the message; `,_jsx(_components.code,{children:`null`}),` means no delay.`]}),`\n`,_jsx(Heading,{level:`2`,id:`outcome`,children:`Outcome`}),`\n`,_jsxs(_components.p,{children:[`Poll `,_jsx(_components.code,{children:`GET /v1/requests/{request_id}`}),` (the SDK waits for you):`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`completed`}),`: `,_jsx(_components.code,{children:`{ \"action_request_id\", \"status\": \"sent\", \"conversation_id\", \"message_id\", \"external_message_id\", \"sent_at\" }`}),`. Continue `,_jsx(_components.code,{children:`conversation_id`}),` with `,_jsx(_components.a,{href:`/api-reference/linkedin/reply`,children:`Reply`}),`. `,_jsx(_components.code,{children:`external_message_id`}),` is LinkedIn’s id for the message.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`failed`}),`, with `,_jsx(_components.code,{children:`error_code`}),` and `,_jsx(_components.code,{children:`result.reason`}),`, plus `,_jsx(_components.code,{children:`upstream_reason`}),` when LinkedIn gave one.`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Message and reply share one code list, marked terminal or retryable, on `,_jsx(_components.a,{href:`/api-reference/errors#linkedin-codes`,children:`Errors`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`recipient_not_connected`}),`: send an `,_jsx(_components.a,{href:`/api-reference/linkedin/invite`,children:`invitation`}),` first.`]}),`\n`,_jsx(_components.li,{children:`Refunded as account credit within a day if it failed before reaching LinkedIn (refunds run daily at 03:00 UTC).`}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[_jsxs(_components.strong,{children:[`processing with `,_jsx(_components.code,{children:`send_status: \"ambiguous\"`})]}),`: a timeout, server error or throttled send left delivery unconfirmed. OneShot checks the conversation, sends again once if there is no sign of it after 10 minutes, and after 24 hours fails with `,_jsx(_components.code,{children:`send_unverified`}),`. Not refunded.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`The SDKs wait up to 180 seconds, and spacing can push a send past that; the job keeps running. To skip the wait, pass `,_jsx(_components.code,{children:`wait: false`}),` and poll the `,_jsx(_components.code,{children:`request_id`}),`. The same goes for invite and withdraw.`]}),`\n`,_jsx(Heading,{level:`2`,id:`example`,children:`Example`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`typescript`,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:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` sent`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` agent`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`linkedinMessage`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` accountId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` profile:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://www.linkedin.com/in/jane-doe/'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` text:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Thanks for connecting. Are you free for 15 minutes next week?'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` idempotencyKey:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'cadence:jane:first-message'`}),_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:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`sent`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`conversation_id`}),_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":"Message a Connection","sidebarTitle":"Message","api":"POST https://win.oneshotagent.com/v1/tools/linkedin/message","description":"Send a message to a first-degree connection: into the conversation the account already has with them, or a new one.","href":"/api-reference/linkedin/message"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Request","slug":"request","depth":2,"children":[]},{"title":"Before payment","slug":"before-payment","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[]},{"title":"Outcome","slug":"outcome","depth":2,"children":[]},{"title":"Example","slug":"example","depth":2,"children":[]}],"codeExamples":{},"endpoint":{"title":"Message a Connection","path":"/v1/tools/linkedin/message","servers":[{"url":"https://win.oneshotagent.com"}],"method":"post","request":{"security":[],"parameters":{"query":{},"header":{"Idempotency-Key":{"schema":[{"type":"string","description":"1–255 chars of `[A-Za-z0-9_.:-]` . A repeat with the same key returns `409 duplicate_request` with the original `request_id` , even after a failure. It never sends again.","required":true}]}},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"account_id":[{"type":"string","description":"Connected LinkedIn account id.","required":true}],"profile":[{"type":"string","description":"An HTTPS `linkedin.com/in/` profile URL, a slug, or LinkedIn’s `external_id` for the person.","required":true}],"text":[{"type":"string","description":"1–4000 characters.","required":true}]}}],"examples":{"example":{"value":{"account_id":"\u003cstring>","profile":"\u003cstring>","text":"\u003cstring>"}}}}}},"response":{},"deprecated":false}},"jsLinks":[],"subdomain":"freebutter","siteName":"OneShot","title":"Message a Connection - OneShot","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-07T21:23:38.222Z","originalFileLocation":"api-reference/linkedin/message.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 a message to a first-degree connection: into the conversation the account already has with them, or a new one.\">\u003cmeta data-mint-head name=\"application-name\" content=\"OneShot\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/freebutter/Hs16x93Q_iOT-ism/_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/freebutter/Hs16x93Q_iOT-ism/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/freebutter/Hs16x93Q_iOT-ism/_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/freebutter/Hs16x93Q_iOT-ism/_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/freebutter/Hs16x93Q_iOT-ism/_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/freebutter/Hs16x93Q_iOT-ism/_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/freebutter/Hs16x93Q_iOT-ism/_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/freebutter/Hs16x93Q_iOT-ism/_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/freebutter/Hs16x93Q_iOT-ism/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Message a Connection - OneShot\">\u003cmeta data-mint-head property=\"og:description\" content=\"Send a message to a first-degree connection: into the conversation the account already has with them, or a new one.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"OneShot\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.oneshotagent.com/api-reference/linkedin/message\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://freebutter.mintlify.site/_mintlify/api/og/v2?division=LinkedIn\u0026amp;title=Message+a+Connection\u0026amp;description=Send+a+message+to+a+first-degree+connection%3A+into+the+conversation+the+account+already+has+with+them%2C+or+a+new+one.\u0026amp;theme=2572df72db31606c972f696e\u0026amp;signature=a4172474f345b551b1b156f9dc5093c141656c8dc4e84324e7c0fdeddebeea9a\">\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=\"Message a Connection - OneShot\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Send a message to a first-degree connection: into the conversation the account already has with them, or a new one.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://freebutter.mintlify.site/_mintlify/api/og/v2?division=LinkedIn\u0026amp;title=Message+a+Connection\u0026amp;description=Send+a+message+to+a+first-degree+connection%3A+into+the+conversation+the+account+already+has+with+them%2C+or+a+new+one.\u0026amp;theme=2572df72db31606c972f696e\u0026amp;signature=a4172474f345b551b1b156f9dc5093c141656c8dc4e84324e7c0fdeddebeea9a\">\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/freebutter/Hs16x93Q_iOT-ism/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"OneShot\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0D9373\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.oneshotagent.com/api-reference/linkedin/message\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/linkedin/message.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.oneshotagent.com/#organization\",\"name\":\"OneShot\",\"url\":\"https://docs.oneshotagent.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/freebutter/UWfg9gt1IfuWbDDt/logo/light.svg?fit=max\u0026auto=format\u0026n=UWfg9gt1IfuWbDDt\u0026q=85\u0026s=72428dae0201cd91a3041443d2963096\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.oneshotagent.com#website\",\"name\":\"OneShot\",\"url\":\"https://docs.oneshotagent.com\",\"publisher\":{\"@id\":\"https://docs.oneshotagent.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.oneshotagent.com/api-reference/linkedin/message#webpage\",\"url\":\"https://docs.oneshotagent.com/api-reference/linkedin/message\",\"name\":\"Message a Connection\",\"description\":\"Send a message to a first-degree connection: into the conversation the account already has with them, or a new one.\",\"dateModified\":\"2026-11-07T21:23:38.222Z\",\"isPartOf\":{\"@id\":\"https://docs.oneshotagent.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.oneshotagent.com/api-reference/linkedin/message#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.oneshotagent.com/api-reference/linkedin/message#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Messaging\",\"item\":\"https://docs.oneshotagent.com/api-reference/email/quote\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"LinkedIn\",\"item\":\"https://docs.oneshotagent.com/api-reference/linkedin/overview\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Message a Connection\",\"item\":\"https://docs.oneshotagent.com/api-reference/linkedin/message\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.oneshotagent.com/api-reference/linkedin/message#apireference\",\"headline\":\"Message a Connection\",\"name\":\"Message a Connection\",\"description\":\"Send a message to a first-degree connection: into the conversation the account already has with them, or a new one.\",\"url\":\"https://docs.oneshotagent.com/api-reference/linkedin/message\",\"mainEntityOfPage\":{\"@id\":\"https://docs.oneshotagent.com/api-reference/linkedin/message#webpage\"},\"dateModified\":\"2026-11-07T21:23:38.222Z\",\"publisher\":{\"@id\":\"https://docs.oneshotagent.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.oneshotagent.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"OneShot\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"OneShot\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/linkedin/message.md","siteName":"OneShot","nav":{"global":null,"tabs":[{"tab":"Get Started","pages":[{"title":"Get Started","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"Overview","pages":[{"title":"OpenAPI Specification","sidebarTitle":"OpenAPI Spec","icon":"file-code","href":"/api-reference/openapi"}]},{"group":"Compute","pages":[{"group":"Goals","pages":[{"title":"Compute","sidebarTitle":"Create a goal","api":"POST https://win.oneshotagent.com/v1/compute","href":"/api-reference/compute/create"},{"title":"Goal Status","sidebarTitle":"Status","api":"GET https://win.oneshotagent.com/v1/compute/{goalId}","href":"/api-reference/compute/status"},{"title":"Goal Tasks","sidebarTitle":"Tasks","api":"GET https://win.oneshotagent.com/v1/compute/{goalId}/tasks","href":"/api-reference/compute/tasks"},{"title":"Goal Cases","sidebarTitle":"Cases","api":"GET https://win.oneshotagent.com/v1/compute/{goalId}/cases","href":"/api-reference/compute/cases"},{"title":"Goal Outcomes","sidebarTitle":"Outcomes","api":"GET https://win.oneshotagent.com/v1/compute/{goalId}/outcomes","href":"/api-reference/compute/outcomes"},{"title":"Goal Outputs","sidebarTitle":"Outputs","api":"GET https://win.oneshotagent.com/v1/compute/{goalId}/outputs","href":"/api-reference/compute/outputs"}]},{"group":"Goal types","pages":[{"group":"Document Extraction","root":{"title":"Document Extraction","sidebarTitle":"Document Extraction","href":"/api-reference/compute/document-extraction"},"pages":[{"title":"Upload a document","sidebarTitle":"Upload a document","api":"POST https://win.oneshotagent.com/v1/compute/documents","href":"/api-reference/compute/documents-upload"},{"title":"Delete a document","sidebarTitle":"Delete a document","api":"DELETE https://win.oneshotagent.com/v1/compute/documents/{id}","href":"/api-reference/compute/documents-delete"}]}]},{"group":"Tools","pages":[{"title":"Solve","sidebarTitle":"Solve","api":"POST https://win.oneshotagent.com/v1/tools/solve","href":"/api-reference/solve"},{"title":"Predict","sidebarTitle":"Predict","api":"POST https://win.oneshotagent.com/v1/tools/predict","href":"/api-reference/predict"},{"title":"Predict: Alignment","sidebarTitle":"Predict: Alignment","api":"POST https://win.oneshotagent.com/v1/tools/predict","href":"/api-reference/predict-alignment"}]},{"group":"Working with a goal","pages":[{"title":"Events, Questions and Results","sidebarTitle":"Events, questions and results","api":"POST https://win.oneshotagent.com/v1/compute/{goalId}/events","href":"/api-reference/compute/events"},{"title":"Send events in bulk","sidebarTitle":"Send events in bulk","api":"POST https://win.oneshotagent.com/v1/compute/{goalId}/events/bulk","href":"/api-reference/compute/events-bulk"},{"title":"My Cases","sidebarTitle":"My cases","api":"GET https://win.oneshotagent.com/v1/org/cases/mine","href":"/api-reference/compute/cases-mine"},{"title":"Post to a Case","sidebarTitle":"Post to a case","api":"POST https://win.oneshotagent.com/v1/org/goals/{goalId}/cases/{key}/events","href":"/api-reference/compute/case-events"},{"title":"Upload a list","sidebarTitle":"Upload a list","api":"POST https://win.oneshotagent.com/v1/compute/lists","href":"/api-reference/compute/lists-upload"},{"title":"Respond to a Goal","sidebarTitle":"Respond","api":"POST https://win.oneshotagent.com/v1/compute/{goalId}/respond","href":"/api-reference/compute/respond"}]},{"group":"Budget and control","pages":[{"title":"Compute Budget","sidebarTitle":"Budget","api":"GET https://win.oneshotagent.com/v1/compute/{goalId}/budget","href":"/api-reference/compute/budget"},{"title":"Fund Goal","sidebarTitle":"Fund","api":"POST https://win.oneshotagent.com/v1/compute/{goalId}/fund","href":"/api-reference/compute/fund"},{"title":"Pause Goal","sidebarTitle":"Pause","api":"POST https://win.oneshotagent.com/v1/compute/{goalId}/pause","href":"/api-reference/compute/pause"},{"title":"Resume Goal","sidebarTitle":"Resume","api":"POST https://win.oneshotagent.com/v1/compute/{goalId}/resume","href":"/api-reference/compute/resume"},{"title":"Stop Goal Now","sidebarTitle":"Stop now","api":"POST https://win.oneshotagent.com/v1/compute/{goalId}/stop","href":"/api-reference/compute/stop"},{"title":"Cancel Cases","sidebarTitle":"Cancel cases","api":"POST https://win.oneshotagent.com/v1/compute/{goalId}/cases/cancel","href":"/api-reference/compute/cases-cancel"},{"title":"Cancel Goal","sidebarTitle":"Cancel","api":"POST https://win.oneshotagent.com/v1/compute/{goalId}/cancel","href":"/api-reference/compute/cancel"}]}]},{"group":"Connections","root":{"title":"Connections","sidebarTitle":"Overview","href":"/api-reference/connections/overview"},"pages":[{"title":"Repositories","sidebarTitle":"Repositories","api":"POST https://win.oneshotagent.com/v1/connections","href":"/api-reference/connections/repositories"},{"title":"Accounting","api":"POST https://win.oneshotagent.com/v1/tools/ledger/invoices","href":"/api-reference/connections/accounting"},{"title":"CRM","api":"POST https://win.oneshotagent.com/v1/tools/crm/accounts","href":"/api-reference/connections/crm"},{"title":"Follow Up Boss and Affinity","api":"POST https://win.oneshotagent.com/v1/tools/crm/opportunities","href":"/api-reference/connections/crm/systems"},{"title":"Tax","api":"POST https://win.oneshotagent.com/v1/tools/tax/rates","href":"/api-reference/connections/tax"},{"title":"Shipping","api":"POST https://win.oneshotagent.com/v1/tools/shipping/shipments","href":"/api-reference/connections/shipping"},{"title":"Procurement","api":"POST https://win.oneshotagent.com/v1/tools/procurement/transactions","href":"/api-reference/connections/procurement"},{"title":"Meetings","api":"POST https://win.oneshotagent.com/v1/tools/meetings/list","href":"/api-reference/connections/meetings"},{"title":"Phone calls","api":"POST https://win.oneshotagent.com/v1/tools/calls/list","href":"/api-reference/connections/calls"},{"title":"Legal matters","api":"POST https://win.oneshotagent.com/v1/tools/matters/list","href":"/api-reference/connections/matters"},{"title":"Client work","api":"POST https://win.oneshotagent.com/v1/tools/client_work/clients","href":"/api-reference/connections/client-work"},{"title":"Portfolio","api":"POST https://win.oneshotagent.com/v1/tools/portfolio/holdings","href":"/api-reference/connections/portfolio"},{"title":"Practice","api":"POST https://win.oneshotagent.com/v1/tools/practice/patients","href":"/api-reference/connections/practice"},{"title":"Mailbox","api":"POST https://win.oneshotagent.com/v1/tools/mailbox/messages","href":"/api-reference/connections/mailbox"},{"title":"Files","api":"POST https://win.oneshotagent.com/v1/tools/files/search","href":"/api-reference/connections/files"},{"title":"Field service","api":"POST https://win.oneshotagent.com/v1/tools/field_service/clients","href":"/api-reference/connections/field-service"}]},{"group":"Data","pages":[{"group":"Companies \u0026 finance","pages":[{"title":"Adviser Registration","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-adviser-registration","href":"/api-reference/lookup/company-adviser-registration"},{"title":"Bank Profile","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-bank-profile","href":"/api-reference/lookup/company-bank-profile"},{"title":"Company Dossier","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-dossier","href":"/api-reference/lookup/company-dossier"},{"title":"Company Filings","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-filings","href":"/api-reference/lookup/company-filings"},{"title":"Consumer Finance Complaints","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-consumer-complaints","href":"/api-reference/lookup/company-consumer-complaints"},{"title":"Domain Registration","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-domain-registration","href":"/api-reference/lookup/company-domain-registration"},{"title":"Environmental Compliance","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-environmental-compliance","href":"/api-reference/lookup/company-environmental-compliance"},{"title":"Export Restrictions","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-export-restrictions","href":"/api-reference/lookup/company-export-restrictions"},{"title":"Federal Awards","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-federal-awards","href":"/api-reference/lookup/company-federal-awards"},{"title":"Fund Holdings","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-fund-holdings","href":"/api-reference/lookup/company-fund-holdings"},{"title":"Home Price Index","api":"POST https://win.oneshotagent.com/v1/tools/lookup/place-home-price-index","href":"/api-reference/lookup/place-home-price-index"},{"title":"Insider Trades","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-insider-trades","href":"/api-reference/lookup/company-insider-trades"},{"title":"Interest Rates","api":"POST https://win.oneshotagent.com/v1/tools/lookup/market-interest-rates","href":"/api-reference/lookup/market-interest-rates"},{"title":"Jobs and Wages","api":"POST https://win.oneshotagent.com/v1/tools/lookup/place-jobs-wages","href":"/api-reference/lookup/place-jobs-wages"},{"title":"Legal Entity Identifier","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-legal-identifier","href":"/api-reference/lookup/company-legal-identifier"},{"title":"Motor Carrier Record","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-motor-carrier","href":"/api-reference/lookup/company-motor-carrier"},{"title":"Nonprofit Status","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-nonprofit-status","href":"/api-reference/lookup/company-nonprofit-status"},{"title":"Private Raises","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-private-raises","href":"/api-reference/lookup/company-private-raises"},{"title":"Radio Licenses","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-radio-licenses","href":"/api-reference/lookup/company-radio-licenses"},{"title":"Reported Financials","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-financials","href":"/api-reference/lookup/company-financials"},{"title":"Sanctions Listing","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-sanctions","href":"/api-reference/sanctions"},{"title":"SBA Loans","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-sba-loans","href":"/api-reference/lookup/company-sba-loans"},{"title":"VAT Registration","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-vat-registration","href":"/api-reference/lookup/company-vat-registration"},{"title":"Visa Sponsorship","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-visa-sponsorship","href":"/api-reference/lookup/company-visa-sponsorship"}]},{"group":"Health","pages":[{"title":"Care Quality Ratings","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-care-quality","href":"/api-reference/lookup/company-care-quality"},{"title":"Clinical Trials","api":"POST https://win.oneshotagent.com/v1/tools/find/record-clinical-trials","href":"/api-reference/lookup/record-clinical-trials"},{"title":"Cosmetic Adverse Events","api":"POST https://win.oneshotagent.com/v1/tools/lookup/product-cosmetic-adverse-events","href":"/api-reference/lookup/product-cosmetic-adverse-events"},{"title":"Device Adverse Events","api":"POST https://win.oneshotagent.com/v1/tools/lookup/product-device-adverse-events","href":"/api-reference/lookup/product-device-adverse-events"},{"title":"Device Clearances","api":"POST https://win.oneshotagent.com/v1/tools/lookup/product-device-clearances","href":"/api-reference/lookup/product-device-clearances"},{"title":"Device Identifier","api":"POST https://win.oneshotagent.com/v1/tools/lookup/product-device-identifier","href":"/api-reference/lookup/product-device-identifier"},{"title":"Drug Acquisition Cost","api":"POST https://win.oneshotagent.com/v1/tools/lookup/market-drug-acquisition-cost","href":"/api-reference/lookup/market-drug-acquisition-cost"},{"title":"Drug Adverse Events","api":"POST https://win.oneshotagent.com/v1/tools/lookup/product-drug-adverse-events","href":"/api-reference/lookup/product-drug-adverse-events"},{"title":"Drug Equivalents","api":"POST https://win.oneshotagent.com/v1/tools/lookup/product-drug-equivalents","href":"/api-reference/lookup/product-drug-equivalents"},{"title":"Drug Label","api":"POST https://win.oneshotagent.com/v1/tools/lookup/product-drug-label","href":"/api-reference/lookup/product-drug-label"},{"title":"Drug Shortages","api":"POST https://win.oneshotagent.com/v1/tools/lookup/product-drug-shortages","href":"/api-reference/lookup/product-drug-shortages"},{"title":"FDA Establishment Registration","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-fda-registration","href":"/api-reference/lookup/company-fda-registration"},{"title":"Health Inspections","api":"POST https://win.oneshotagent.com/v1/tools/lookup/business-health-inspections","href":"/api-reference/lookup/business-health-inspections"},{"title":"Health Provider Registration","api":"POST https://win.oneshotagent.com/v1/tools/lookup/person-health-provider","href":"/api-reference/lookup/person-health-provider"},{"title":"Health Provider Registration (organization)","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-health-provider","href":"/api-reference/lookup/company-health-provider"},{"title":"Hospitals","api":"POST https://win.oneshotagent.com/v1/tools/lookup/place-hospitals","href":"/api-reference/lookup/place-hospitals"},{"title":"Medicare Drug Spending","api":"POST https://win.oneshotagent.com/v1/tools/lookup/market-medicare-drug-spending","href":"/api-reference/lookup/market-medicare-drug-spending"},{"title":"Medicare Fee Schedule","api":"POST https://win.oneshotagent.com/v1/tools/lookup/market-medicare-fees","href":"/api-reference/lookup/market-medicare-fees"},{"title":"Medicare Ownership","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-medicare-ownership","href":"/api-reference/lookup/company-medicare-ownership"}]},{"group":"Places \u0026 hazards","pages":[{"title":"Building Permits","api":"POST https://win.oneshotagent.com/v1/tools/lookup/place-permits","href":"/api-reference/building-permits"},{"title":"Disaster Declarations","api":"POST https://win.oneshotagent.com/v1/tools/lookup/place-disasters","href":"/api-reference/lookup/place-disasters"},{"title":"Drinking Water","api":"POST https://win.oneshotagent.com/v1/tools/lookup/place-drinking-water","href":"/api-reference/lookup/place-drinking-water"},{"title":"Earthquakes","api":"POST https://win.oneshotagent.com/v1/tools/lookup/place-earthquakes","href":"/api-reference/lookup/place-earthquakes"},{"title":"Environmental Sites","api":"POST https://win.oneshotagent.com/v1/tools/lookup/place-environmental-sites","href":"/api-reference/lookup/place-environmental-sites"},{"title":"Flood Insurance Claims","api":"POST https://win.oneshotagent.com/v1/tools/lookup/place-flood-claims","href":"/api-reference/lookup/place-flood-claims"},{"title":"Flood Zone","api":"POST https://win.oneshotagent.com/v1/tools/lookup/place-flood-zone","href":"/api-reference/lookup/place-flood-zone"},{"title":"Hail and Wind Reports","api":"POST https://win.oneshotagent.com/v1/tools/lookup/place-hail-wind-reports","href":"/api-reference/lookup/place-hail-wind-reports"},{"title":"Hazard Risk","api":"POST https://win.oneshotagent.com/v1/tools/lookup/place-hazard-risk","href":"/api-reference/lookup/place-hazard-risk"},{"title":"Opportunity Zone","api":"POST https://win.oneshotagent.com/v1/tools/lookup/place-opportunity-zone","href":"/api-reference/lookup/place-opportunity-zone"},{"title":"Place Resolve","api":"POST https://win.oneshotagent.com/v1/tools/resolve/place","href":"/api-reference/lookup/place"},{"title":"Schools","api":"POST https://win.oneshotagent.com/v1/tools/lookup/place-schools","href":"/api-reference/lookup/place-schools"},{"title":"Storm Events","api":"POST https://win.oneshotagent.com/v1/tools/lookup/place-storm-events","href":"/api-reference/lookup/place-storm-events"},{"title":"Tropical Cyclones","api":"POST https://win.oneshotagent.com/v1/tools/lookup/place-tropical-cyclones","href":"/api-reference/lookup/place-tropical-cyclones"},{"title":"Weather Alerts","api":"POST https://win.oneshotagent.com/v1/tools/lookup/place-weather-alerts","href":"/api-reference/lookup/place-weather-alerts"},{"title":"Wildfires","api":"POST https://win.oneshotagent.com/v1/tools/lookup/place-wildfires","href":"/api-reference/lookup/place-wildfires"}]},{"group":"Places \u0026 imagery","pages":[{"title":"Camera Check","api":"POST https://win.oneshotagent.com/v1/tools/lookup/place-camera-snapshot","href":"/api-reference/lookup/place-camera-snapshot"},{"title":"Radar Imagery","api":"POST https://win.oneshotagent.com/v1/tools/lookup/place-radar-imagery","href":"/api-reference/lookup/place-radar-imagery"},{"title":"Recent Imagery","api":"POST https://win.oneshotagent.com/v1/tools/lookup/place-recent-imagery","href":"/api-reference/lookup/place-recent-imagery"},{"title":"Satellite Passes","api":"POST https://win.oneshotagent.com/v1/tools/lookup/place-satellite-passes","href":"/api-reference/lookup/place-satellite-passes"}]},{"group":"Products \u0026 vehicles","pages":[{"title":"Aircraft Registration","api":"POST https://win.oneshotagent.com/v1/tools/lookup/aircraft-registration","href":"/api-reference/lookup/aircraft-registration"},{"title":"Crash Ratings","api":"POST https://win.oneshotagent.com/v1/tools/lookup/vehicle-crash-ratings","href":"/api-reference/lookup/vehicle-crash-ratings"},{"title":"Duty Rate","api":"POST https://win.oneshotagent.com/v1/tools/lookup/product-duty-rate","href":"/api-reference/lookup/product-duty-rate"},{"title":"Energy Efficiency Certification","api":"POST https://win.oneshotagent.com/v1/tools/lookup/product-energy-certification","href":"/api-reference/lookup/product-energy-certification"},{"title":"Freight Index","api":"POST https://win.oneshotagent.com/v1/tools/lookup/market-freight-index","href":"/api-reference/lookup/market-freight-index"},{"title":"Freight Rate Quote","api":"POST https://win.oneshotagent.com/v1/tools/lookup/market-freight-rate","href":"/api-reference/lookup/market-freight-rate"},{"title":"Fuel Economy","api":"POST https://win.oneshotagent.com/v1/tools/lookup/vehicle-fuel-economy","href":"/api-reference/lookup/vehicle-fuel-economy"},{"title":"Person Assets","api":"POST https://win.oneshotagent.com/v1/tools/lookup/person-assets","href":"/api-reference/lookup/person-assets"},{"title":"Product Recalls","api":"POST https://win.oneshotagent.com/v1/tools/lookup/product-recalls","href":"/api-reference/lookup/product-recalls"},{"title":"Truck Rates","api":"POST https://win.oneshotagent.com/v1/tools/lookup/market-truck-rates","href":"/api-reference/lookup/market-truck-rates"},{"title":"Vehicle Complaints","api":"POST https://win.oneshotagent.com/v1/tools/lookup/vehicle-complaints","href":"/api-reference/lookup/vehicle-complaints"},{"title":"Vehicle Identification","api":"POST https://win.oneshotagent.com/v1/tools/lookup/vehicle-identification","href":"/api-reference/lookup/vehicle-identification"},{"title":"Vehicle Recalls","api":"POST https://win.oneshotagent.com/v1/tools/lookup/vehicle-recalls","href":"/api-reference/lookup/vehicle-recalls"},{"title":"Vessel Ownership","api":"POST https://win.oneshotagent.com/v1/tools/lookup/vessel-ownership","href":"/api-reference/lookup/vessel-ownership"}]},{"group":"Government \u0026 legal","pages":[{"title":"Contractor License","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-contractor-license","href":"/api-reference/lookup/company-contractor-license"},{"title":"Court Cases","api":"POST https://win.oneshotagent.com/v1/tools/find/record-court-cases","href":"/api-reference/lookup/record-court-cases"},{"title":"Customs Rulings","api":"POST https://win.oneshotagent.com/v1/tools/find/record-customs-rulings","href":"/api-reference/lookup/record-customs-rulings"},{"title":"Federal Labor Rates","api":"POST https://win.oneshotagent.com/v1/tools/lookup/market-federal-labor-rates","href":"/api-reference/lookup/market-federal-labor-rates"},{"title":"Federal Register Documents","api":"POST https://win.oneshotagent.com/v1/tools/find/record-federal-register","href":"/api-reference/lookup/record-federal-register"},{"title":"Federal Solicitations","sidebarTitle":"Solicitations","api":"POST https://win.oneshotagent.com/v1/tools/find/record-solicitations","href":"/api-reference/gov/solicitations"},{"title":"Liquor License","api":"POST https://win.oneshotagent.com/v1/tools/lookup/business-liquor-license","href":"/api-reference/lookup/business-liquor-license"},{"title":"Lobbying","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-lobbying","href":"/api-reference/lookup/company-lobbying"},{"title":"Person Appearances","api":"POST https://win.oneshotagent.com/v1/tools/lookup/person-appearances","href":"/api-reference/lookup/person-appearances"},{"title":"Regulatory Dockets","api":"POST https://win.oneshotagent.com/v1/tools/find/record-dockets","href":"/api-reference/lookup/record-dockets"},{"title":"Vulnerability","api":"POST https://win.oneshotagent.com/v1/tools/lookup/record-vulnerability","href":"/api-reference/lookup/record-vulnerability"}]},{"group":"Life sciences","pages":[{"title":"Compound Hazards","api":"POST https://win.oneshotagent.com/v1/tools/lookup/compound-hazards","href":"/api-reference/lookup/compound-hazards"},{"title":"Compound Properties","api":"POST https://win.oneshotagent.com/v1/tools/lookup/compound-properties","href":"/api-reference/lookup/compound-properties"},{"title":"Compound Resolve","api":"POST https://win.oneshotagent.com/v1/tools/resolve/compound","href":"/api-reference/lookup/compound"},{"title":"Compound Targets","api":"POST https://win.oneshotagent.com/v1/tools/lookup/compound-targets","href":"/api-reference/lookup/compound-targets"},{"title":"Gene Diseases","api":"POST https://win.oneshotagent.com/v1/tools/lookup/gene-diseases","href":"/api-reference/lookup/gene-diseases"},{"title":"Gene Expression","api":"POST https://win.oneshotagent.com/v1/tools/lookup/gene-expression","href":"/api-reference/lookup/gene-expression"},{"title":"Gene Pathways","api":"POST https://win.oneshotagent.com/v1/tools/lookup/gene-pathways","href":"/api-reference/lookup/gene-pathways"},{"title":"Gene Publications","api":"POST https://win.oneshotagent.com/v1/tools/lookup/gene-publications","href":"/api-reference/lookup/gene-publications"},{"title":"Gene Resolve","api":"POST https://win.oneshotagent.com/v1/tools/resolve/gene","href":"/api-reference/lookup/gene"},{"title":"Gene Summary","api":"POST https://win.oneshotagent.com/v1/tools/lookup/gene-summary","href":"/api-reference/lookup/gene-summary"},{"title":"Gene Variants","api":"POST https://win.oneshotagent.com/v1/tools/find/gene-variants","href":"/api-reference/lookup/gene-variants"},{"title":"Organism Identity","api":"POST https://win.oneshotagent.com/v1/tools/resolve/organism","href":"/api-reference/lookup/organism"},{"title":"Protein Domains","api":"POST https://win.oneshotagent.com/v1/tools/lookup/protein-domains","href":"/api-reference/lookup/protein-domains"},{"title":"Protein Function","api":"POST https://win.oneshotagent.com/v1/tools/lookup/protein-function","href":"/api-reference/lookup/protein-function"},{"title":"Protein Interactions","api":"POST https://win.oneshotagent.com/v1/tools/lookup/protein-interactions","href":"/api-reference/lookup/protein-interactions"},{"title":"Protein Resolve","api":"POST https://win.oneshotagent.com/v1/tools/resolve/protein","href":"/api-reference/lookup/protein"},{"title":"Protein Sequence","api":"POST https://win.oneshotagent.com/v1/tools/lookup/protein-sequence","href":"/api-reference/lookup/protein-sequence"},{"title":"Protein Structure","api":"POST https://win.oneshotagent.com/v1/tools/lookup/protein-structure","href":"/api-reference/lookup/protein-structure"},{"title":"Publications","api":"POST https://win.oneshotagent.com/v1/tools/find/record-publications","href":"/api-reference/lookup/record-publications"},{"title":"Variant Clinical Significance","api":"POST https://win.oneshotagent.com/v1/tools/lookup/variant-clinical-significance","href":"/api-reference/lookup/variant-clinical-significance"},{"title":"Variant Frequency","api":"POST https://win.oneshotagent.com/v1/tools/lookup/variant-frequency","href":"/api-reference/lookup/variant-frequency"},{"title":"Variant Resolve","api":"POST https://win.oneshotagent.com/v1/tools/resolve/variant","href":"/api-reference/lookup/variant"}]}]},{"group":"Monitoring","pages":[{"title":"Watch","api":"POST https://win.oneshotagent.com/v1/tools/watch","href":"/api-reference/watch"},{"title":"Changes","api":"POST https://win.oneshotagent.com/v1/tools/changes","href":"/api-reference/changes"},{"title":"Benchmark","api":"POST https://win.oneshotagent.com/v1/tools/benchmark","href":"/api-reference/benchmark"}]},{"group":"Research \u0026 Enrich","pages":[{"title":"Deep Research","api":"POST https://win.oneshotagent.com/v1/tools/research","href":"/api-reference/research"},{"title":"Person Intelligence","sidebarTitle":"Person Intelligence","api":"POST https://win.oneshotagent.com/v1/tools/lookup/person-dossier","href":"/api-reference/research/person-intelligence"},{"title":"Person Find","api":"POST /v1/tools/find/person","href":"/api-reference/research/person-find"},{"title":"Company Research","sidebarTitle":"Company Research","api":"POST https://win.oneshotagent.com/v1/tools/find/company","href":"/api-reference/research/company"},{"title":"Enrich Profile","api":"POST /v1/tools/lookup/person-profile","href":"/api-reference/enrich/profile"},{"title":"Find Email","api":"POST /v1/tools/lookup/person-email","href":"/api-reference/enrich/email"},{"title":"Verify Email","api":"POST /v1/tools/lookup/person-email-status","href":"/api-reference/verify/email"},{"title":"Identity Verification","api":"POST https://win.oneshotagent.com/v1/tools/identity/start","href":"/api-reference/identity"},{"title":"Local Businesses","sidebarTitle":"Local Businesses","api":"POST https://win.oneshotagent.com/v1/tools/find/business","href":"/api-reference/local/businesses"}]},{"group":"Messaging","pages":[{"group":"Email","pages":[{"title":"Get Email Quote","api":"POST https://win.oneshotagent.com/v1/tools/email/quote","href":"/api-reference/email/quote"},{"title":"Email","api":"POST https://win.oneshotagent.com/v1/tools/email/send","href":"/api-reference/email/send"},{"title":"List Domain Pool","api":"GET https://win.oneshotagent.com/v1/tools/email/domains","href":"/api-reference/email/domains"},{"title":"Connect your sending domain","api":"POST https://win.oneshotagent.com/v1/domains/setup","href":"/api-reference/email/domain-setup"},{"title":"Buy a sending domain","api":"POST https://win.oneshotagent.com/v1/domains/buy","href":"/api-reference/email/domain-purchase"},{"title":"Pause Domain","api":"POST https://win.oneshotagent.com/v1/tools/email/domains/{domain}/pause","href":"/api-reference/email/domain-pause"},{"title":"Resume Domain","api":"POST https://win.oneshotagent.com/v1/tools/email/domains/{domain}/resume","href":"/api-reference/email/domain-resume"}]},{"group":"Email Inbox","pages":[{"title":"Email Inbox","api":"GET https://win.oneshotagent.com/v1/tools/inbox","href":"/api-reference/inbox/list"},{"title":"Read Email","api":"GET https://win.oneshotagent.com/v1/tools/inbox/{emailId}","href":"/api-reference/inbox/get"}]},{"group":"Voice","pages":[{"title":"Voice Call","api":"POST https://win.oneshotagent.com/v1/tools/voice/call","href":"/api-reference/voice/call"},{"title":"Inbound Calls","api":"PUT https://win.oneshotagent.com/v1/tools/voice/numbers/{id}/inbound","href":"/api-reference/voice/inbound"}]},{"group":"SMS","pages":[{"title":"SMS","api":"POST https://win.oneshotagent.com/v1/tools/sms/send","href":"/api-reference/sms/send"},{"title":"SMS Inbox","api":"GET https://win.oneshotagent.com/v1/tools/sms/inbox","href":"/api-reference/sms/inbox-list"},{"title":"Read SMS","api":"GET https://win.oneshotagent.com/v1/tools/sms/inbox/{messageId}","href":"/api-reference/sms/inbox-get"}]},{"group":"Physical Mail","root":{"title":"Physical Mail","sidebarTitle":"Physical Mail","icon":"envelope-open-text","href":"/api-reference/physical-mail/overview"},"pages":[{"title":"Upload artwork","api":"POST https://win.oneshotagent.com/v1/tools/physical-mail/assets","href":"/api-reference/physical-mail/assets"},{"title":"Validate an address","api":"POST https://win.oneshotagent.com/v1/tools/physical-mail/validate-address","href":"/api-reference/physical-mail/validate-address"},{"title":"Preview and quote a mailpiece","sidebarTitle":"Preview","api":"POST https://win.oneshotagent.com/v1/tools/physical-mail/preview","href":"/api-reference/physical-mail/preview"},{"title":"Get a quote","api":"GET https://win.oneshotagent.com/v1/tools/physical-mail/quotes/{id}","href":"/api-reference/physical-mail/quote"},{"title":"Approve a quote","api":"POST https://win.oneshotagent.com/v1/tools/physical-mail/approve","href":"/api-reference/physical-mail/approve"},{"title":"Send an approved mailpiece","sidebarTitle":"Send","api":"POST https://win.oneshotagent.com/v1/tools/physical-mail/send","href":"/api-reference/physical-mail/send"},{"title":"Get an order","api":"GET https://win.oneshotagent.com/v1/tools/physical-mail/orders/{id}","href":"/api-reference/physical-mail/order"},{"title":"Recover an order","api":"GET https://win.oneshotagent.com/v1/tools/physical-mail/orders/recover","href":"/api-reference/physical-mail/recover"},{"title":"Cancel an order","api":"POST https://win.oneshotagent.com/v1/tools/physical-mail/orders/{id}/cancel","href":"/api-reference/physical-mail/cancel"}]},{"group":"LinkedIn","root":{"title":"LinkedIn Messaging","sidebarTitle":"Overview","href":"/api-reference/linkedin/overview"},"pages":[{"title":"Connect a LinkedIn Account","sidebarTitle":"Connect","api":"POST https://win.oneshotagent.com/v1/tools/linkedin/connect","href":"/api-reference/linkedin/connect"},{"title":"Connected Accounts","sidebarTitle":"Accounts","api":"GET https://win.oneshotagent.com/v1/tools/linkedin/accounts","href":"/api-reference/linkedin/accounts"},{"title":"Sync History","sidebarTitle":"Sync","api":"POST https://win.oneshotagent.com/v1/tools/linkedin/sync","href":"/api-reference/linkedin/sync"},{"title":"List Conversations","sidebarTitle":"Conversations","api":"GET https://win.oneshotagent.com/v1/tools/linkedin/accounts/{id}/conversations","href":"/api-reference/linkedin/conversations"},{"title":"List Messages","sidebarTitle":"Messages","api":"GET https://win.oneshotagent.com/v1/tools/linkedin/accounts/{id}/messages","href":"/api-reference/linkedin/messages"},{"title":"Send a Reply","sidebarTitle":"Reply","api":"POST https://win.oneshotagent.com/v1/tools/linkedin/reply","description":"Send a message in an existing LinkedIn conversation through a connected account that granted reply.","href":"/api-reference/linkedin/reply"},{"title":"Message a Connection","sidebarTitle":"Message","api":"POST https://win.oneshotagent.com/v1/tools/linkedin/message","href":"/api-reference/linkedin/message"},{"title":"Profile Views and Reactions","sidebarTitle":"Engagement","api":"POST https://win.oneshotagent.com/v1/tools/linkedin/profile-view","description":"View a profile or react to a post through a connected account that granted view_profile / react.","href":"/api-reference/linkedin/engagement"},{"title":"Send an invitation","api":"POST https://win.oneshotagent.com/v1/tools/linkedin/invite","href":"/api-reference/linkedin/invite"},{"title":"Withdraw an invitation","api":"POST https://win.oneshotagent.com/v1/tools/linkedin/invite/withdraw","href":"/api-reference/linkedin/withdraw"},{"title":"Invitation Status","sidebarTitle":"Invitation status","api":"GET https://win.oneshotagent.com/v1/tools/linkedin/accounts/{id}/invitations","href":"/api-reference/linkedin/invitations"}]}]},{"group":"Web \u0026 Browser","pages":[{"title":"Web Search","api":"POST https://win.oneshotagent.com/v1/tools/search","href":"/api-reference/web-search"},{"title":"Web Read","api":"POST https://win.oneshotagent.com/v1/tools/web-read","href":"/api-reference/web-read"},{"title":"Browser","api":"POST https://win.oneshotagent.com/v1/tools/browser","href":"/api-reference/browser/create"},{"title":"Browser Profiles","api":"POST https://win.oneshotagent.com/v1/tools/browser/profiles","href":"/api-reference/browser/profiles"}]},{"group":"Build","pages":[{"title":"Build Site","api":"POST https://win.oneshotagent.com/v1/tools/build","href":"/api-reference/build/create"},{"title":"Update Build","api":"POST https://win.oneshotagent.com/v1/tools/build","href":"/api-reference/build/update"}]},{"group":"Commerce","pages":[{"title":"Product Search","api":"POST /v1/tools/find/product","href":"/api-reference/find/product"},{"title":"Purchase","api":"POST /v1/tools/commerce/buy","href":"/api-reference/commerce/buy"}]},{"group":"Account \u0026 billing","pages":[{"group":"Account","pages":[{"title":"Notifications","api":"GET /v1/tools/notifications","href":"/api-reference/notifications/list"},{"title":"Mark Read","api":"PATCH /v1/tools/notifications/{id}/read","href":"/api-reference/notifications/read"}]},{"group":"Credits","pages":[{"title":"Top Up Credits","api":"POST https://win.oneshotagent.com/v1/credits/top-up","href":"/api-reference/credits/top-up"}]},{"group":"Budgets","root":{"title":"Spend Budgets","sidebarTitle":"Overview","icon":"gauge","href":"/api-reference/budgets/overview"},"pages":[{"title":"Get Budget","api":"GET https://win.oneshotagent.com/v1/agents/me/budgets","icon":"gauge","href":"/api-reference/budgets/get"},{"title":"Set Budget","api":"PUT https://win.oneshotagent.com/v1/agents/me/budgets","icon":"sliders","href":"/api-reference/budgets/set"}]},{"group":"Approvals","root":{"title":"Approvals","sidebarTitle":"Overview","icon":"circle-check","href":"/api-reference/approvals/overview"},"pages":[{"title":"Ask for approval","api":"POST https://win.oneshotagent.com/v1/approvals","icon":"circle-check","href":"/api-reference/approvals/create"},{"title":"List approvals","api":"GET https://win.oneshotagent.com/v1/approvals","icon":"list","href":"/api-reference/approvals/list"},{"title":"Get approval","api":"GET https://win.oneshotagent.com/v1/approvals/{id}","icon":"circle-info","href":"/api-reference/approvals/get"},{"title":"Cancel approval","api":"POST https://win.oneshotagent.com/v1/approvals/{id}/cancel","icon":"ban","href":"/api-reference/approvals/cancel"},{"title":"Get action policy","api":"GET https://win.oneshotagent.com/v1/agents/me/action-policy","icon":"shield","href":"/api-reference/approvals/get-action-policy"},{"title":"Set action policy","api":"PUT https://win.oneshotagent.com/v1/agents/me/action-policy","icon":"sliders","href":"/api-reference/approvals/set-action-policy"}]},{"group":"Receipts \u0026 Analytics","root":{"title":"Receipts \u0026 Analytics","sidebarTitle":"Overview","icon":"receipt","href":"/api-reference/analytics/overview"},"pages":[{"title":"List Receipts","sidebarTitle":"List Receipts","api":"GET https://win.oneshotagent.com/v1/analytics/receipts","icon":"list","href":"/api-reference/analytics/receipts"},{"title":"Spend Breakdown","sidebarTitle":"Spend Breakdown","api":"GET https://win.oneshotagent.com/v1/analytics/spend/breakdown","icon":"chart-pie","href":"/api-reference/analytics/spend-breakdown"},{"title":"Return on Cognitive Spend","sidebarTitle":"RoCS","api":"GET https://win.oneshotagent.com/v1/analytics/rocs","icon":"chart-line-up","href":"/api-reference/analytics/rocs"},{"title":"Tag Receipt Value","sidebarTitle":"Tag Value","api":"PATCH https://win.oneshotagent.com/v1/analytics/receipts/{receiptId}/value","icon":"tag","href":"/api-reference/analytics/value"}]}]},{"group":"Other","pages":[{"title":"Check Job Status","api":"GET https://win.oneshotagent.com/v1/requests/{id}","href":"/api-reference/status"}]}]},{"tab":"OneShot GTM","pages":[{"title":"OneShot GTM","href":"/oneshot-gtm/introduction"}]},{"tab":"Stripe ACP","pages":[{"title":"Stripe ACP","href":"/api-reference/acp/overview"}]},{"tab":"Soul.Markets","pages":[{"title":"Soul.Markets","href":"/api-reference/soul/overview"}]},{"tab":"SoulHunt","pages":[{"title":"SoulHunt","href":"/api-reference/soulhunt/overview"}]}]},"basePath":"","title":"Message a Connection - OneShot","deploymentId":"dpl_G6E2ur2Zjq51xGTVZPSFXsWoTxCu","buildId":"dpl_G6E2ur2Zjq51xGTVZPSFXsWoTxCu","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-x4vGgoST.js","snippetPresets-BGlsYH49.js","utils-D225GpYB.js","style-to-object-BY3JEAdk.js","utils-fb7dxv-3.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-D0sNzoEe.js","conditional-requirements-CFM0id0Q.js","cloneDeep-C4iMfrOs.js","_Uint8Array-DDor1j2p.js","isObject-FP1Yky1u.js","ApiExamples-Bw_TWYoP.js","usePlaygroundInputsStore-DLRpNM_Z.js","shallow-DCZ_mvT2.js","isEqual-BZMHHGz2.js","CodeSnippets-CqYNT6UN.js","CodeSnippet-AsYrl7_f.js","getApiPlaygroundDisplay-B1HdZsAn.js","Page-COAeG2by.js","DynamicMarkdown-Bg54PExR.js","SectionHeading-BVOfbSTS.js","icon-Bwg0LftJ.js","MethodPill-ETXe5J4U.js","getPastedJson-6m1DH7UM.js","Check2Icon-Bz4v4IkN.js","axios-CsQoIw0U.js"]}