Sends a message from a connected account. For a LinkedIn account it’s a direct message — or a Sales Nav InMail with inmail: true / a recipient_urn. For an email account (see Connect a mailbox) it sends an email. For a WhatsApp account it sends a WhatsApp message to phone_number. For an iMessage line it sends an iMessage to phone_number (SMS when the contact has no iMessage). The params depend on the account’s platform — each field below is tagged (LinkedIn), (Email), (WhatsApp), (iMessage), or several.
This endpoint consumes 1 credit for a text message or email (2 credits with LinkedIn media). An InMail consumes 1 InMail credit from the account’s premium seat (separate from your API credits — see Balance). Ignore this if you’re on per-seat pricing: usage is unlimited.
media_link, media_file and media_path attach one file (priority: media_link > media_file > media_path). To send several attachments in the same message, use media_links and/or media_files (up to 10 files per message, combinable with the single-file params).
An audio file (.m4a, .mp3, .wav, .aac) is delivered as a native voice note, not a file to download. LinkedIn caps them at 1 minute.
(LinkedIn + Email + WhatsApp + iMessage) The text content. Required for LinkedIn and iMessage; for email, provide message_text and/or html; for WhatsApp, message_text and/or an attachment. iMessage sending rules: see iMessage limits.
To tag someone in a LinkedIn message, use mention_user(public_id, display_text) (public_id = the slug of linkedin.com/in/<public_id>, or the profile URL) — e.g. "Hi, meet mention_user(williamhgates, Bill Gates)!" is sent as Hi, meet @Bill Gates! with Bill Gates tagged. An unknown profile returns an error and nothing is sent.
(InMail + Email + iMessage) Subject line. On LinkedIn it applies to InMails only (ignored for standard messages, and alone it does not trigger an InMail); on email it’s the email subject; on iMessage, a bold title above the text.
(LinkedIn) URL of the recipient’s profile. Used for a standard message and an InMail (with inmail: true). Required unless you pass recipient_urn or conversation_id.
(LinkedIn) Reply into an existing thread, 1:1 or group, instead of addressing a person: pass the conversation_id from List Inbox or a webhook event, without profile_url. With sales_nav: true it is the Sales Navigator thread id (reply inside an InMail thread, no subject needed); with recruiter: true, the Recruiter thread id.
(LinkedIn) Set to true to send an InMail (to a non-connection, via the premium seat) instead of a standard message. Consumes 1 InMail credit. Not needed when recipient_urn is a Sales Nav URN.
(WhatsApp + iMessage) Recipient number in international format, e.g. +33612345678. Required for a WhatsApp account. On iMessage, pass phone_number, an Apple ID email, or a group conversation_id.
(Email) Optional pool of your own mailbox ids to route the send across (home-court + daily limits). sent_from in the response tells you which was used.
(LinkedIn + Email + WhatsApp + iMessage) Publicly accessible URLs of files to attach — all delivered in the same message. iMessage takes https:// URLs only, up to 10.
(LinkedIn + WhatsApp + iMessage) Force the attached media to be sent as a voice note. Only needed when the filename carries no usable extension. On iMessage, a voice note is one audio link (mp3, wav, m4a, caf, aac) with no message_text.
Reply to a specific message (quoted above yours, like the Reply action of the app). LinkedIn: the message’s entity_urn from Get Conversation or metadata.entity_urn of a webhook event; the thread is resolved from conversation_id or profile_url, and the quoted message must be among the last 100 of the thread. WhatsApp: its id from Get Conversation. iMessage: its message_id.
Same endpoint, classic LinkedIn messages only, 1 credit each. message_id is the message URN: entity_urn from Get Conversation or from a webhook event (a bare 2-… id works with conversation_id). Only the account’s own messages can be edited or deleted, within 60 minutes of sending them.
action
params
react_message
message_id, emoji, remove? (true removes the reaction)
edit_message
message_id, message_text
delete_message
message_id (unsends it for everyone)
iMessage:react_message works too, with the message_id of the message: emoji is a tapback (love, like, dislike, laugh, emphasize, question) or any emoji. Not in group chats. action: "typing" with conversation_id (and seconds, 60 max) shows the typing indicator, in a conversation active in the last 5 minutes.
Reaches someone you are not connected to, through the account’s premium seat. Triggered by inmail: true or a recipient_urn — a subject alone never turns a message into an InMail. Prefer recipient_urn from the lead search when you have it.
Returns the conversation_id of the thread. Consumes 1 credit plus 1 Recruiter InMail credit when the candidate is not free to InMail (see Check InMail).
A number without WhatsApp returns CHANNEL_ERROR (422). Check numbers first with Check Numbers.
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":""},"chroma":{"liveDeploymentHistoryId":"6adf6a981ae99850ae64de5d","collectionId":"59630f2c-774d-410c-9685-a33889750b34","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6adf6a981ae99850ae64de5d"},"feedback":{"thumbs":true,"edits":true},"entitlements":{},"buildId":"6adf6ba51ae99850ae64fc54","clientVersion":"0.0.3971","searchFilterCounts":[{"language":"default","tag":"Documentation","count":154},{"language":"default","tag":"LinkedIn Engagement API","count":37},{"language":"default","tag":"Profiles","count":18},{"language":"default","tag":"Data API","count":15},{"language":"default","tag":"Recruiting","count":13},{"language":"default","tag":"Network","count":12},{"language":"default","tag":"Content \u0026 Posts","count":11},{"language":"default","tag":"Content","count":11},{"language":"default","tag":"Messaging","count":10},{"language":"default","tag":"Webhooks (Real-Time)","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":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/v2/messages/send","slug":"/api-reference/v2/messages/send","pageMetadata":{"title":"Send Message or Email","api":"POST /v2/messages","description":"Send a LinkedIn message or InMail, or an email — from a connected account.","href":"/api-reference/v2/messages/send"},"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 LinkedIn message or InMail, or an email — from a connected account.\"\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,Expandable,Heading,Note,ParamField,ResponseField,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`overview`,children:`Overview`}),`\n`,_jsxs(_components.p,{children:[`Sends a message from a connected account. For a `,_jsx(_components.strong,{children:`LinkedIn`}),` account it’s a direct message — or a `,_jsx(_components.a,{href:`#inmail`,children:`Sales Nav InMail`}),` with `,_jsx(_components.code,{children:`inmail: true`}),` / a `,_jsx(_components.code,{children:`recipient_urn`}),`. For an `,_jsx(_components.strong,{children:`email`}),` account (see `,_jsx(_components.a,{href:`/api-reference/v2/accounts/login#email-mailbox`,children:`Connect a mailbox`}),`) it sends an email. For a `,_jsx(_components.strong,{children:`WhatsApp`}),` account it sends a WhatsApp message to `,_jsx(_components.code,{children:`phone_number`}),`. For an `,_jsx(_components.strong,{children:`iMessage`}),` line it sends an iMessage to `,_jsx(_components.code,{children:`phone_number`}),` (SMS when the contact has no iMessage). The `,_jsx(_components.code,{children:`params`}),` depend on the account’s platform — each field below is tagged `,_jsx(_components.strong,{children:`(LinkedIn)`}),`, `,_jsx(_components.strong,{children:`(Email)`}),`, `,_jsx(_components.strong,{children:`(WhatsApp)`}),`, `,_jsx(_components.strong,{children:`(iMessage)`}),`, or several.`]}),`\n`,_jsxs(Note,{children:[`This endpoint consumes `,_jsx(_components.strong,{children:`1 credit`}),` for a text message or email (`,_jsx(_components.strong,{children:`2 credits`}),` with LinkedIn media). An InMail consumes `,_jsx(_components.strong,{children:`1 InMail credit`}),` from the account’s premium seat (separate from your API credits — see `,_jsx(_components.a,{href:`/api-reference/v2/messages/balance`,children:`Balance`}),`). Ignore this if you’re on per-seat pricing: usage is unlimited.`]}),`\n`,_jsxs(Note,{children:[_jsx(_components.code,{children:`media_link`}),`, `,_jsx(_components.code,{children:`media_file`}),` and `,_jsx(_components.code,{children:`media_path`}),` attach `,_jsx(_components.strong,{children:`one`}),` file (priority: `,_jsx(_components.code,{children:`media_link`}),` > `,_jsx(_components.code,{children:`media_file`}),` > `,_jsx(_components.code,{children:`media_path`}),`). To send `,_jsx(_components.strong,{children:`several attachments in the same message`}),`, use `,_jsx(_components.code,{children:`media_links`}),` and/or `,_jsx(_components.code,{children:`media_files`}),` (up to 10 files per message, combinable with the single-file params).`]}),`\n`,_jsxs(Note,{children:[`An audio file (`,_jsx(_components.code,{children:`.m4a`}),`, `,_jsx(_components.code,{children:`.mp3`}),`, `,_jsx(_components.code,{children:`.wav`}),`, `,_jsx(_components.code,{children:`.aac`}),`) is delivered as a `,_jsx(_components.strong,{children:`native voice note`}),`, not a file to download. LinkedIn caps them at 1 minute.`]}),`\n`,_jsx(Heading,{level:`2`,id:`request`,children:`Request`}),`\n`,_jsx(ParamField,{header:`x-api-key`,type:`string`,required:true,id:`param-x-api-key`,children:_jsx(_components.p,{children:`Your API key for authentication.`})}),`\n`,_jsx(ParamField,{body:`account_id`,type:`string`,required:true,id:`param-account-id`,children:_jsx(_components.p,{children:`The unique identifier of the account to use.`})}),`\n`,_jsx(ParamField,{body:`action`,type:`string`,required:true,id:`param-action`,children:_jsxs(_components.p,{children:[`Must be `,_jsx(_components.code,{children:`\"send\"`}),`.`]})}),`\n`,_jsx(ParamField,{body:`params`,type:`object`,required:true,id:`param-params`,children:_jsxs(Expandable,{title:`params properties`,children:[_jsx(ParamField,{body:`message_text`,type:`string`,required:true,id:`param-message-text`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`(LinkedIn + Email + WhatsApp + iMessage)`}),` The text content. Required for LinkedIn and iMessage; for email, provide `,_jsx(_components.code,{children:`message_text`}),` and/or `,_jsx(_components.code,{children:`html`}),`; for WhatsApp, `,_jsx(_components.code,{children:`message_text`}),` and/or an attachment. iMessage sending rules: see `,_jsx(_components.a,{href:`/api-reference/v2/best-practices#imessage-limits`,children:`iMessage limits`}),`.\nTo tag someone in a LinkedIn message, use `,_jsx(_components.code,{children:`mention_user(public_id, display_text)`}),` (`,_jsx(_components.code,{children:`public_id`}),` = the slug of `,_jsx(_components.code,{children:`linkedin.com/in/\u003cpublic_id>`}),`, or the profile URL) — e.g. `,_jsx(_components.code,{children:`\"Hi, meet mention_user(williamhgates, Bill Gates)!\"`}),` is sent as `,_jsx(_components.code,{children:`Hi, meet @Bill Gates!`}),` with Bill Gates tagged. An unknown profile returns an error and nothing is sent.`]})}),_jsx(ParamField,{body:`subject`,type:`string`,id:`param-subject`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`(InMail + Email + iMessage)`}),` Subject line. On LinkedIn it applies to InMails only (ignored for standard messages, and alone it does `,_jsx(_components.strong,{children:`not`}),` trigger an InMail); on email it’s the email subject; on iMessage, a bold title above the text.`]})}),_jsx(ParamField,{body:`profile_url`,type:`string`,id:`param-profile-url`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`(LinkedIn)`}),` URL of the recipient’s profile. Used for a standard message and an InMail (with `,_jsx(_components.code,{children:`inmail: true`}),`). Required unless you pass `,_jsx(_components.code,{children:`recipient_urn`}),` or `,_jsx(_components.code,{children:`conversation_id`}),`.`]})}),_jsx(ParamField,{body:`conversation_id`,type:`string`,id:`param-conversation-id`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`(LinkedIn)`}),` Reply into an existing thread, 1:1 or group, instead of addressing a person: pass the `,_jsx(_components.code,{children:`conversation_id`}),` from `,_jsx(_components.a,{href:`/api-reference/v2/messages/list-inbox`,children:`List Inbox`}),` or a webhook event, without `,_jsx(_components.code,{children:`profile_url`}),`. With `,_jsx(_components.code,{children:`sales_nav: true`}),` it is the Sales Navigator thread id (reply inside an InMail thread, no subject needed); with `,_jsx(_components.code,{children:`recruiter: true`}),`, the Recruiter thread id.`]})}),_jsx(ParamField,{body:`inmail`,type:`boolean`,default:false,id:`param-inmail`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`(LinkedIn)`}),` Set to `,_jsx(_components.code,{children:`true`}),` to send an `,_jsx(_components.strong,{children:`InMail`}),` (to a non-connection, via the premium seat) instead of a standard message. Consumes 1 InMail credit. Not needed when `,_jsx(_components.code,{children:`recipient_urn`}),` is a Sales Nav URN.`]})}),_jsx(ParamField,{body:`recipient_urn`,type:`string`,id:`param-recipient-urn`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`(LinkedIn InMail)`}),` The lead’s `,_jsx(_components.code,{children:`urn:li:fs_salesProfile:(...)`}),` from the `,_jsx(_components.a,{href:`/api-reference/v2/profiles/search-people-nav`,children:`lead search`}),`. Passing it sends an InMail. Use this `,_jsx(_components.strong,{children:`or`}),` `,_jsx(_components.code,{children:`profile_url`}),` + `,_jsx(_components.code,{children:`inmail: true`}),`.`]})}),_jsx(ParamField,{body:`recruiter`,type:`boolean`,default:false,id:`param-recruiter`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`(LinkedIn Recruiter)`}),` Send from the account’s `,_jsx(_components.strong,{children:`Recruiter seat`}),`. See `,_jsx(_components.a,{href:`#recruiter-inmail`,children:`Recruiter InMail`}),` below.`]})}),_jsx(ParamField,{body:`phone_number`,type:`string`,id:`param-phone-number`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`(WhatsApp + iMessage)`}),` Recipient number in international format, e.g. `,_jsx(_components.code,{children:`+33612345678`}),`. Required for a WhatsApp account. On iMessage, pass `,_jsx(_components.code,{children:`phone_number`}),`, an Apple ID `,_jsx(_components.code,{children:`email`}),`, or a group `,_jsx(_components.code,{children:`conversation_id`}),`.`]})}),_jsx(ParamField,{body:`effect`,type:`string`,id:`param-effect`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`(iMessage)`}),` Message effect: `,_jsx(_components.code,{children:`slam`}),`, `,_jsx(_components.code,{children:`loud`}),`, `,_jsx(_components.code,{children:`gentle`}),`, `,_jsx(_components.code,{children:`invisibleInk`}),`, `,_jsx(_components.code,{children:`echo`}),`, `,_jsx(_components.code,{children:`spotlight`}),`, `,_jsx(_components.code,{children:`balloons`}),`, `,_jsx(_components.code,{children:`confetti`}),`, `,_jsx(_components.code,{children:`love`}),`, `,_jsx(_components.code,{children:`lasers`}),`, `,_jsx(_components.code,{children:`fireworks`}),`, `,_jsx(_components.code,{children:`shootingStar`}),` or `,_jsx(_components.code,{children:`celebration`}),`.`]})}),_jsx(ParamField,{body:`to`,type:`string`,id:`param-to`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`(Email)`}),` Recipient email address. Required for an email account.`]})}),_jsx(ParamField,{body:`html`,type:`string`,id:`param-html`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`(Email)`}),` HTML body. Provide `,_jsx(_components.code,{children:`html`}),` and/or `,_jsx(_components.code,{children:`message_text`}),`.`]})}),_jsx(ParamField,{body:`reply_to`,type:`string`,id:`param-reply-to`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`(Email)`}),` Optional `,_jsx(_components.code,{children:`Reply-To`}),` address.`]})}),_jsx(ParamField,{body:`thread_ref`,type:`string`,id:`param-thread-ref`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`(Email)`}),` Message-ID to reply into an existing thread.`]})}),_jsx(ParamField,{body:`cc`,type:`string | string[]`,id:`param-cc`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`(Email)`}),` CC recipients (a comma-separated string or an array).`]})}),_jsx(ParamField,{body:`bcc`,type:`string | string[]`,id:`param-bcc`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`(Email)`}),` BCC recipients — hidden from the other recipients (e.g. to log a copy into a CRM).`]})}),_jsx(ParamField,{body:`custom_headers`,type:`object`,id:`param-custom-headers`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`(Email)`}),` Extra `,_jsx(_components.code,{children:`X-…`}),` headers as a `,_jsx(_components.code,{children:`{ name: value }`}),` map — e.g. `,_jsx(_components.code,{children:`{ \"X-Campaign-Id\": \"camp-42\" }`}),` — to correlate replies/bounces back to your system.`]})}),_jsx(ParamField,{body:`account_ids`,type:`string[]`,id:`param-account-ids`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`(Email)`}),` Optional pool of your own mailbox ids to route the send across (home-court + daily limits). `,_jsx(_components.code,{children:`sent_from`}),` in the response tells you which was used.`]})}),_jsx(ParamField,{body:`media_link`,type:`string`,id:`param-media-link`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`(LinkedIn + Email + WhatsApp)`}),` A publicly accessible URL to a file to attach.`]})}),_jsxs(ParamField,{body:`media_file`,type:`object`,id:`param-media-file`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`(LinkedIn + Email + WhatsApp)`}),` A base64-encoded file to attach.`]}),_jsxs(Expandable,{title:`media_file properties`,children:[_jsx(ParamField,{body:`data`,type:`string`,required:true,id:`param-data`,children:_jsx(_components.p,{children:`The base64-encoded file content.`})}),_jsx(ParamField,{body:`filename`,type:`string`,required:true,id:`param-filename`,children:_jsxs(_components.p,{children:[`The filename including extension (e.g. `,_jsx(_components.code,{children:`\"document.pdf\"`}),`).`]})})]})]}),_jsx(ParamField,{body:`media_path`,type:`string`,id:`param-media-path`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`(LinkedIn + Email)`}),` A server-side file path to a file to attach.`]})}),_jsx(ParamField,{body:`media_links`,type:`string[]`,id:`param-media-links`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`(LinkedIn + Email + WhatsApp + iMessage)`}),` Publicly accessible URLs of files to attach — all delivered in the same message. iMessage takes `,_jsx(_components.code,{children:`https://`}),` URLs only, up to 10.`]})}),_jsx(ParamField,{body:`media_files`,type:`object[]`,id:`param-media-files`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`(LinkedIn + Email + WhatsApp)`}),` Base64-encoded files to attach — same shape as `,_jsx(_components.code,{children:`media_file`}),` (`,_jsx(_components.code,{children:`data`}),`, `,_jsx(_components.code,{children:`filename`}),`).`]})}),_jsx(ParamField,{body:`voice_message`,type:`boolean`,default:false,id:`param-voice-message`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`(LinkedIn + WhatsApp + iMessage)`}),` Force the attached media to be sent as a `,_jsx(_components.strong,{children:`voice note`}),`. Only needed when the filename carries no usable extension. On iMessage, a voice note is one audio link (mp3, wav, m4a, caf, aac) with no `,_jsx(_components.code,{children:`message_text`}),`.`]})}),_jsx(ParamField,{body:`quoted_message_id`,type:`string`,id:`param-quoted-message-id`,children:_jsxs(_components.p,{children:[`Reply to a specific message (quoted above yours, like the Reply action of the app). `,_jsx(_components.strong,{children:`LinkedIn:`}),` the message’s `,_jsx(_components.code,{children:`entity_urn`}),` from `,_jsx(_components.a,{href:`/api-reference/v2/messages/get-conversation`,children:`Get Conversation`}),` or `,_jsx(_components.code,{children:`metadata.entity_urn`}),` of a webhook event; the thread is resolved from `,_jsx(_components.code,{children:`conversation_id`}),` or `,_jsx(_components.code,{children:`profile_url`}),`, and the quoted message must be among the last 100 of the thread. `,_jsx(_components.strong,{children:`WhatsApp:`}),` its `,_jsx(_components.code,{children:`id`}),` from Get Conversation. `,_jsx(_components.strong,{children:`iMessage:`}),` its `,_jsx(_components.code,{children:`message_id`}),`.`]})})]})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`success`,type:`boolean`,id:`param-success`,children:_jsx(_components.p,{children:`Indicates whether the request was successful.`})}),`\n`,_jsxs(ResponseField,{name:`data`,type:`object`,id:`param-data-1`,children:[_jsx(_components.p,{children:`Details of the sent message. The shape differs between a LinkedIn standard message, an InMail, and an email.`}),_jsxs(Expandable,{title:`standard message`,children:[_jsx(ResponseField,{name:`status`,type:`string`,id:`param-status`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`\"success\"`}),` when the message was sent.`]})}),_jsx(ResponseField,{name:`data`,type:`object`,id:`param-data-2`,children:_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`entityUrn`,type:`string`,id:`param-entity-urn`,children:_jsx(_components.p,{children:`The unique URN of the sent message entity.`})}),_jsx(ResponseField,{name:`conversation_id`,type:`string`,id:`param-conversation-id-1`,children:_jsx(_components.p,{children:`The URN of the conversation the message was sent in.`})}),_jsx(ResponseField,{name:`deliveredAt`,type:`integer`,id:`param-delivered-at`,children:_jsxs(_components.p,{children:[`Unix epoch timestamp in `,_jsx(_components.strong,{children:`milliseconds`}),`.`]})})]})})]}),_jsxs(Expandable,{title:`InMail`,children:[_jsx(ResponseField,{name:`status`,type:`string`,id:`param-status-1`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`\"success\"`}),` when the InMail was sent.`]})}),_jsx(ResponseField,{name:`message`,type:`string`,id:`param-message`,children:_jsxs(_components.p,{children:[`Human-readable result, e.g. `,_jsx(_components.code,{children:`\"InMail sent\"`}),`.`]})}),_jsx(ResponseField,{name:`recipient_urn`,type:`string`,id:`param-recipient-urn-1`,children:_jsx(_components.p,{children:`The Sales Nav URN the InMail was sent to.`})}),_jsx(ResponseField,{name:`data`,type:`object`,id:`param-data-3`,children:_jsxs(_components.p,{children:[`Raw send result: `,_jsx(_components.code,{children:`{ \"value\": { \"threadId\": \"...\", \"messageId\": \"...\" } }`}),`.`]})})]}),_jsxs(Expandable,{title:`email`,children:[_jsxs(ResponseField,{name:`status`,type:`string`,id:`param-status-2`,children:[_jsx(_components.code,{children:`\"success\"`}),` when the email was sent.`]}),_jsx(ResponseField,{name:`data`,type:`object`,id:`param-data-4`,children:_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`message_id`,type:`string`,id:`param-message-id`,children:`The sent email’s Message-ID.`}),_jsx(ResponseField,{name:`sent_from`,type:`string`,id:`param-sent-from`,children:`The mailbox address the email was sent from.`}),_jsxs(ResponseField,{name:`esp`,type:`string`,id:`param-esp`,children:[`Sending mailbox provider bucket (`,_jsx(_components.code,{children:`google`}),` / `,_jsx(_components.code,{children:`outlook`}),` / `,_jsx(_components.code,{children:`other`}),`).`]}),_jsx(ResponseField,{name:`recipient_esp`,type:`string`,id:`param-recipient-esp`,children:`Recipient’s detected provider bucket.`}),_jsxs(ResponseField,{name:`home_court`,type:`boolean`,id:`param-home-court`,children:[_jsx(_components.code,{children:`true`}),` when sender and recipient are on the same provider.`]}),_jsxs(ResponseField,{name:`over_cap`,type:`boolean`,id:`param-over-cap`,children:[_jsx(_components.code,{children:`true`}),` when the mailbox is over its daily limit (the send still went out).`]}),_jsxs(ResponseField,{name:`mailbox_health`,type:`object`,id:`param-mailbox-health`,children:[_jsx(_components.code,{children:`sends_today`}),`, `,_jsx(_components.code,{children:`daily_limit`}),`, `,_jsx(_components.code,{children:`bounce_rate`}),` for the sending mailbox.`]})]})})]})]}),`\n`,_jsx(ResponseField,{name:`metadata`,type:`object`,id:`param-metadata`,children:_jsxs(Expandable,{title:`metadata properties`,children:[_jsx(ResponseField,{name:`action`,type:`string`,id:`param-action-1`,children:_jsxs(_components.p,{children:[`The action that was performed (`,_jsx(_components.code,{children:`\"send\"`}),`).`]})}),_jsx(ResponseField,{name:`account_id`,type:`string`,id:`param-account-id-1`,children:_jsx(_components.p,{children:`The account ID used for the request.`})}),_jsx(ResponseField,{name:`credits_consumed`,type:`integer`,id:`param-credits-consumed`,children:_jsx(_components.p,{children:`Number of credits consumed (1 for text, 2 with media).`})}),_jsx(ResponseField,{name:`timestamp`,type:`string`,id:`param-timestamp`,children:_jsx(_components.p,{children:`ISO 8601 timestamp of the response.`})})]})}),`\n`,`\n`,_jsx(Heading,{level:`2`,id:`react-edit-or-delete-a-message`,children:`React, edit or delete a message`}),`\n`,_jsxs(_components.p,{children:[`Same endpoint, classic LinkedIn messages only, 1 credit each. `,_jsx(_components.code,{children:`message_id`}),` is the message URN: `,_jsx(_components.code,{children:`entity_urn`}),` from `,_jsx(_components.a,{href:`/api-reference/v2/messages/get-conversation`,children:`Get Conversation`}),` or from a webhook event (a bare `,_jsx(_components.code,{children:`2-…`}),` id works with `,_jsx(_components.code,{children:`conversation_id`}),`). Only the account’s own messages can be edited or deleted, within 60 minutes of sending them.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.code,{children:`action`})}),_jsx(_components.th,{children:_jsx(_components.code,{children:`params`})})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`react_message`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`message_id`}),`, `,_jsx(_components.code,{children:`emoji`}),`, `,_jsx(_components.code,{children:`remove?`}),` (`,_jsx(_components.code,{children:`true`}),` removes the reaction)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`edit_message`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`message_id`}),`, `,_jsx(_components.code,{children:`message_text`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`delete_message`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`message_id`}),` (unsends it for everyone)`]})]})]})]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`iMessage:`}),` `,_jsx(_components.code,{children:`react_message`}),` works too, with the `,_jsx(_components.code,{children:`message_id`}),` of the message: `,_jsx(_components.code,{children:`emoji`}),` is a tapback (`,_jsx(_components.code,{children:`love`}),`, `,_jsx(_components.code,{children:`like`}),`, `,_jsx(_components.code,{children:`dislike`}),`, `,_jsx(_components.code,{children:`laugh`}),`, `,_jsx(_components.code,{children:`emphasize`}),`, `,_jsx(_components.code,{children:`question`}),`) or any emoji. Not in group chats. `,_jsx(_components.code,{children:`action: \"typing\"`}),` with `,_jsx(_components.code,{children:`conversation_id`}),` (and `,_jsx(_components.code,{children:`seconds`}),`, 60 max) shows the typing indicator, in a conversation active in the last 5 minutes.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,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:`5`,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:` \"account_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"your-account-id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"action\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"react_message\"`}),_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:` \"params\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"message_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"urn:li:msg_message:(urn:li:fsd_profile:ACoAAD...,2-MTc5...)\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"emoji\"`}),_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`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`inmail`,children:`InMail`}),`\n`,_jsxs(_components.p,{children:[`Reaches someone you are not connected to, through the account’s premium seat. Triggered by `,_jsx(_components.code,{children:`inmail: true`}),` or a `,_jsx(_components.code,{children:`recipient_urn`}),` — a `,_jsx(_components.code,{children:`subject`}),` alone never turns a message into an InMail. Prefer `,_jsx(_components.code,{children:`recipient_urn`}),` from the `,_jsx(_components.a,{href:`/api-reference/v2/profiles/search-people-nav`,children:`lead search`}),` when you have it.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,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:`9`,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:` \"account_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"your-account-id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"action\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"send\"`}),_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:` \"params\"`}),_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:` \"recipient_urn\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"urn:li:fs_salesProfile:(...)\"`}),_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:` \"subject\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Quick question\"`}),_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_text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Hi ...\"`})]}),`\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:[`A profile that cannot be InMailed is rejected before any credit is spent. Credits come from the seat — see `,_jsx(_components.a,{href:`/api-reference/v2/messages/balance`,children:`Balance`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`recruiter-inmail`,children:`Recruiter InMail`}),`\n`,_jsxs(_components.p,{children:[`Set `,_jsx(_components.code,{children:`recruiter: true`}),`.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`New InMail`}),` — `,_jsx(_components.code,{children:`recipient_urn`}),` (the candidate’s `,_jsx(_components.code,{children:`profile_urn`}),` from `,_jsx(_components.a,{href:`/api-reference/v2/profiles/search-people-recruiter`,children:`Search People Recruiter`}),`), `,_jsx(_components.code,{children:`subject`}),` and `,_jsx(_components.code,{children:`message_text`}),`. Optional:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`project_urn`}),` — the thread is also filed in that `,_jsx(_components.a,{href:`/api-reference/v2/recruiter/projects`,children:`project`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`signature`}),` — replaces the seat’s own signature, appended by default`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Reply`}),` — `,_jsx(_components.code,{children:`conversation_id`}),` (from `,_jsx(_components.a,{href:`/api-reference/v2/messages/list-inbox#recruiter-inbox`,children:`List Inbox`}),`) and `,_jsx(_components.code,{children:`message_text`}),`. No subject. The candidate is read off the thread; pass `,_jsx(_components.code,{children:`recipient_urn`}),` to save that lookup.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`10`,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:`10`,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:` \"account_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"your-account-id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"action\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"send\"`}),_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:` \"params\"`}),_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:` \"recruiter\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"recipient_urn\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"urn:li:ts_profile:AEMAA…\"`}),_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:` \"subject\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Growth role in Paris\"`}),_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_text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Hi Jane, ...\"`})]}),`\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:[`Returns the `,_jsx(_components.code,{children:`conversation_id`}),` of the thread. Consumes `,_jsx(_components.strong,{children:`1 credit`}),` plus `,_jsx(_components.strong,{children:`1 Recruiter InMail credit`}),` when the candidate is not free to InMail (see `,_jsx(_components.a,{href:`/api-reference/v2/profiles/check-inmail#recruiter`,children:`Check InMail`}),`).`]}),`\n`,_jsx(Heading,{level:`2`,id:`email`,children:`Email`}),`\n`,_jsxs(_components.p,{children:[`Sending from an `,_jsx(_components.a,{href:`/api-reference/v2/accounts/login#email-mailbox`,children:`email mailbox`}),` uses the same `,_jsx(_components.code,{children:`params`}),` above — `,_jsx(_components.code,{children:`to`}),` + `,_jsx(_components.code,{children:`subject`}),` + `,_jsx(_components.code,{children:`message_text`}),` (and/or `,_jsx(_components.code,{children:`html`}),`):`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,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:`5`,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:` \"account_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"your-email-account-id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"action\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"send\"`}),_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:` \"params\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"to\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"[email protected]\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"subject\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Quick question\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"message_text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Hi there, ...\"`}),_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`,_jsx(Heading,{level:`2`,id:`whatsapp`,children:`WhatsApp`}),`\n`,_jsxs(_components.p,{children:[`Sending from a `,_jsx(_components.a,{href:`/api-reference/v2/accounts/login#whatsapp`,children:`WhatsApp account`}),` uses `,_jsx(_components.code,{children:`phone_number`}),` + `,_jsx(_components.code,{children:`message_text`}),`:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,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:`5`,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:` \"account_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"your-whatsapp-account-id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"action\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"send\"`}),_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:` \"params\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"phone_number\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"+33612345678\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"message_text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Hi there, ...\"`}),_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:[`A number without WhatsApp returns `,_jsx(_components.code,{children:`CHANNEL_ERROR`}),` (422). Check numbers first with `,_jsx(_components.a,{href:`/api-reference/v2/messages/check-numbers`,children:`Check Numbers`}),`.`]})]})}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 Message or Email","api":"POST /v2/messages","description":"Send a LinkedIn message or InMail, or an email — from a connected account.","href":"/api-reference/v2/messages/send"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,Note,ParamField,ResponseExample,ResponseField,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,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);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`overview`,children:`Overview`}),`\n`,_jsxs(_components.p,{children:[`Sends a message from a connected account. For a `,_jsx(_components.strong,{children:`LinkedIn`}),` account it’s a direct message — or a `,_jsx(_components.a,{href:`#inmail`,children:`Sales Nav InMail`}),` with `,_jsx(_components.code,{children:`inmail: true`}),` / a `,_jsx(_components.code,{children:`recipient_urn`}),`. For an `,_jsx(_components.strong,{children:`email`}),` account (see `,_jsx(_components.a,{href:`/api-reference/v2/accounts/login#email-mailbox`,children:`Connect a mailbox`}),`) it sends an email. For a `,_jsx(_components.strong,{children:`WhatsApp`}),` account it sends a WhatsApp message to `,_jsx(_components.code,{children:`phone_number`}),`. For an `,_jsx(_components.strong,{children:`iMessage`}),` line it sends an iMessage to `,_jsx(_components.code,{children:`phone_number`}),` (SMS when the contact has no iMessage). The `,_jsx(_components.code,{children:`params`}),` depend on the account’s platform — each field below is tagged `,_jsx(_components.strong,{children:`(LinkedIn)`}),`, `,_jsx(_components.strong,{children:`(Email)`}),`, `,_jsx(_components.strong,{children:`(WhatsApp)`}),`, `,_jsx(_components.strong,{children:`(iMessage)`}),`, or several.`]}),`\n`,_jsxs(Note,{children:[`This endpoint consumes `,_jsx(_components.strong,{children:`1 credit`}),` for a text message or email (`,_jsx(_components.strong,{children:`2 credits`}),` with LinkedIn media). An InMail consumes `,_jsx(_components.strong,{children:`1 InMail credit`}),` from the account’s premium seat (separate from your API credits — see `,_jsx(_components.a,{href:`/api-reference/v2/messages/balance`,children:`Balance`}),`). Ignore this if you’re on per-seat pricing: usage is unlimited.`]}),`\n`,_jsxs(Note,{children:[_jsx(_components.code,{children:`media_link`}),`, `,_jsx(_components.code,{children:`media_file`}),` and `,_jsx(_components.code,{children:`media_path`}),` attach `,_jsx(_components.strong,{children:`one`}),` file (priority: `,_jsx(_components.code,{children:`media_link`}),` > `,_jsx(_components.code,{children:`media_file`}),` > `,_jsx(_components.code,{children:`media_path`}),`). To send `,_jsx(_components.strong,{children:`several attachments in the same message`}),`, use `,_jsx(_components.code,{children:`media_links`}),` and/or `,_jsx(_components.code,{children:`media_files`}),` (up to 10 files per message, combinable with the single-file params).`]}),`\n`,_jsxs(Note,{children:[`An audio file (`,_jsx(_components.code,{children:`.m4a`}),`, `,_jsx(_components.code,{children:`.mp3`}),`, `,_jsx(_components.code,{children:`.wav`}),`, `,_jsx(_components.code,{children:`.aac`}),`) is delivered as a `,_jsx(_components.strong,{children:`native voice note`}),`, not a file to download. LinkedIn caps them at 1 minute.`]}),`\n`,_jsx(Heading,{level:`2`,id:`request`,children:`Request`}),`\n`,_jsx(ParamField,{header:`x-api-key`,type:`string`,required:true,id:`param-x-api-key`,children:_jsx(_components.p,{children:`Your API key for authentication.`})}),`\n`,_jsx(ParamField,{body:`account_id`,type:`string`,required:true,id:`param-account-id`,children:_jsx(_components.p,{children:`The unique identifier of the account to use.`})}),`\n`,_jsx(ParamField,{body:`action`,type:`string`,required:true,id:`param-action`,children:_jsxs(_components.p,{children:[`Must be `,_jsx(_components.code,{children:`\"send\"`}),`.`]})}),`\n`,_jsx(ParamField,{body:`params`,type:`object`,required:true,id:`param-params`,children:_jsxs(Expandable,{title:`params properties`,children:[_jsx(ParamField,{body:`message_text`,type:`string`,required:true,id:`param-message-text`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`(LinkedIn + Email + WhatsApp + iMessage)`}),` The text content. Required for LinkedIn and iMessage; for email, provide `,_jsx(_components.code,{children:`message_text`}),` and/or `,_jsx(_components.code,{children:`html`}),`; for WhatsApp, `,_jsx(_components.code,{children:`message_text`}),` and/or an attachment. iMessage sending rules: see `,_jsx(_components.a,{href:`/api-reference/v2/best-practices#imessage-limits`,children:`iMessage limits`}),`.\nTo tag someone in a LinkedIn message, use `,_jsx(_components.code,{children:`mention_user(public_id, display_text)`}),` (`,_jsx(_components.code,{children:`public_id`}),` = the slug of `,_jsx(_components.code,{children:`linkedin.com/in/\u003cpublic_id>`}),`, or the profile URL) — e.g. `,_jsx(_components.code,{children:`\"Hi, meet mention_user(williamhgates, Bill Gates)!\"`}),` is sent as `,_jsx(_components.code,{children:`Hi, meet @Bill Gates!`}),` with Bill Gates tagged. An unknown profile returns an error and nothing is sent.`]})}),_jsx(ParamField,{body:`subject`,type:`string`,id:`param-subject`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`(InMail + Email + iMessage)`}),` Subject line. On LinkedIn it applies to InMails only (ignored for standard messages, and alone it does `,_jsx(_components.strong,{children:`not`}),` trigger an InMail); on email it’s the email subject; on iMessage, a bold title above the text.`]})}),_jsx(ParamField,{body:`profile_url`,type:`string`,id:`param-profile-url`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`(LinkedIn)`}),` URL of the recipient’s profile. Used for a standard message and an InMail (with `,_jsx(_components.code,{children:`inmail: true`}),`). Required unless you pass `,_jsx(_components.code,{children:`recipient_urn`}),` or `,_jsx(_components.code,{children:`conversation_id`}),`.`]})}),_jsx(ParamField,{body:`conversation_id`,type:`string`,id:`param-conversation-id`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`(LinkedIn)`}),` Reply into an existing thread, 1:1 or group, instead of addressing a person: pass the `,_jsx(_components.code,{children:`conversation_id`}),` from `,_jsx(_components.a,{href:`/api-reference/v2/messages/list-inbox`,children:`List Inbox`}),` or a webhook event, without `,_jsx(_components.code,{children:`profile_url`}),`. With `,_jsx(_components.code,{children:`sales_nav: true`}),` it is the Sales Navigator thread id (reply inside an InMail thread, no subject needed); with `,_jsx(_components.code,{children:`recruiter: true`}),`, the Recruiter thread id.`]})}),_jsx(ParamField,{body:`inmail`,type:`boolean`,default:false,id:`param-inmail`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`(LinkedIn)`}),` Set to `,_jsx(_components.code,{children:`true`}),` to send an `,_jsx(_components.strong,{children:`InMail`}),` (to a non-connection, via the premium seat) instead of a standard message. Consumes 1 InMail credit. Not needed when `,_jsx(_components.code,{children:`recipient_urn`}),` is a Sales Nav URN.`]})}),_jsx(ParamField,{body:`recipient_urn`,type:`string`,id:`param-recipient-urn`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`(LinkedIn InMail)`}),` The lead’s `,_jsx(_components.code,{children:`urn:li:fs_salesProfile:(...)`}),` from the `,_jsx(_components.a,{href:`/api-reference/v2/profiles/search-people-nav`,children:`lead search`}),`. Passing it sends an InMail. Use this `,_jsx(_components.strong,{children:`or`}),` `,_jsx(_components.code,{children:`profile_url`}),` + `,_jsx(_components.code,{children:`inmail: true`}),`.`]})}),_jsx(ParamField,{body:`recruiter`,type:`boolean`,default:false,id:`param-recruiter`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`(LinkedIn Recruiter)`}),` Send from the account’s `,_jsx(_components.strong,{children:`Recruiter seat`}),`. See `,_jsx(_components.a,{href:`#recruiter-inmail`,children:`Recruiter InMail`}),` below.`]})}),_jsx(ParamField,{body:`phone_number`,type:`string`,id:`param-phone-number`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`(WhatsApp + iMessage)`}),` Recipient number in international format, e.g. `,_jsx(_components.code,{children:`+33612345678`}),`. Required for a WhatsApp account. On iMessage, pass `,_jsx(_components.code,{children:`phone_number`}),`, an Apple ID `,_jsx(_components.code,{children:`email`}),`, or a group `,_jsx(_components.code,{children:`conversation_id`}),`.`]})}),_jsx(ParamField,{body:`effect`,type:`string`,id:`param-effect`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`(iMessage)`}),` Message effect: `,_jsx(_components.code,{children:`slam`}),`, `,_jsx(_components.code,{children:`loud`}),`, `,_jsx(_components.code,{children:`gentle`}),`, `,_jsx(_components.code,{children:`invisibleInk`}),`, `,_jsx(_components.code,{children:`echo`}),`, `,_jsx(_components.code,{children:`spotlight`}),`, `,_jsx(_components.code,{children:`balloons`}),`, `,_jsx(_components.code,{children:`confetti`}),`, `,_jsx(_components.code,{children:`love`}),`, `,_jsx(_components.code,{children:`lasers`}),`, `,_jsx(_components.code,{children:`fireworks`}),`, `,_jsx(_components.code,{children:`shootingStar`}),` or `,_jsx(_components.code,{children:`celebration`}),`.`]})}),_jsx(ParamField,{body:`to`,type:`string`,id:`param-to`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`(Email)`}),` Recipient email address. Required for an email account.`]})}),_jsx(ParamField,{body:`html`,type:`string`,id:`param-html`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`(Email)`}),` HTML body. Provide `,_jsx(_components.code,{children:`html`}),` and/or `,_jsx(_components.code,{children:`message_text`}),`.`]})}),_jsx(ParamField,{body:`reply_to`,type:`string`,id:`param-reply-to`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`(Email)`}),` Optional `,_jsx(_components.code,{children:`Reply-To`}),` address.`]})}),_jsx(ParamField,{body:`thread_ref`,type:`string`,id:`param-thread-ref`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`(Email)`}),` Message-ID to reply into an existing thread.`]})}),_jsx(ParamField,{body:`cc`,type:`string | string[]`,id:`param-cc`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`(Email)`}),` CC recipients (a comma-separated string or an array).`]})}),_jsx(ParamField,{body:`bcc`,type:`string | string[]`,id:`param-bcc`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`(Email)`}),` BCC recipients — hidden from the other recipients (e.g. to log a copy into a CRM).`]})}),_jsx(ParamField,{body:`custom_headers`,type:`object`,id:`param-custom-headers`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`(Email)`}),` Extra `,_jsx(_components.code,{children:`X-…`}),` headers as a `,_jsx(_components.code,{children:`{ name: value }`}),` map — e.g. `,_jsx(_components.code,{children:`{ \"X-Campaign-Id\": \"camp-42\" }`}),` — to correlate replies/bounces back to your system.`]})}),_jsx(ParamField,{body:`account_ids`,type:`string[]`,id:`param-account-ids`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`(Email)`}),` Optional pool of your own mailbox ids to route the send across (home-court + daily limits). `,_jsx(_components.code,{children:`sent_from`}),` in the response tells you which was used.`]})}),_jsx(ParamField,{body:`media_link`,type:`string`,id:`param-media-link`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`(LinkedIn + Email + WhatsApp)`}),` A publicly accessible URL to a file to attach.`]})}),_jsxs(ParamField,{body:`media_file`,type:`object`,id:`param-media-file`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`(LinkedIn + Email + WhatsApp)`}),` A base64-encoded file to attach.`]}),_jsxs(Expandable,{title:`media_file properties`,children:[_jsx(ParamField,{body:`data`,type:`string`,required:true,id:`param-data`,children:_jsx(_components.p,{children:`The base64-encoded file content.`})}),_jsx(ParamField,{body:`filename`,type:`string`,required:true,id:`param-filename`,children:_jsxs(_components.p,{children:[`The filename including extension (e.g. `,_jsx(_components.code,{children:`\"document.pdf\"`}),`).`]})})]})]}),_jsx(ParamField,{body:`media_path`,type:`string`,id:`param-media-path`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`(LinkedIn + Email)`}),` A server-side file path to a file to attach.`]})}),_jsx(ParamField,{body:`media_links`,type:`string[]`,id:`param-media-links`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`(LinkedIn + Email + WhatsApp + iMessage)`}),` Publicly accessible URLs of files to attach — all delivered in the same message. iMessage takes `,_jsx(_components.code,{children:`https://`}),` URLs only, up to 10.`]})}),_jsx(ParamField,{body:`media_files`,type:`object[]`,id:`param-media-files`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`(LinkedIn + Email + WhatsApp)`}),` Base64-encoded files to attach — same shape as `,_jsx(_components.code,{children:`media_file`}),` (`,_jsx(_components.code,{children:`data`}),`, `,_jsx(_components.code,{children:`filename`}),`).`]})}),_jsx(ParamField,{body:`voice_message`,type:`boolean`,default:false,id:`param-voice-message`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`(LinkedIn + WhatsApp + iMessage)`}),` Force the attached media to be sent as a `,_jsx(_components.strong,{children:`voice note`}),`. Only needed when the filename carries no usable extension. On iMessage, a voice note is one audio link (mp3, wav, m4a, caf, aac) with no `,_jsx(_components.code,{children:`message_text`}),`.`]})}),_jsx(ParamField,{body:`quoted_message_id`,type:`string`,id:`param-quoted-message-id`,children:_jsxs(_components.p,{children:[`Reply to a specific message (quoted above yours, like the Reply action of the app). `,_jsx(_components.strong,{children:`LinkedIn:`}),` the message’s `,_jsx(_components.code,{children:`entity_urn`}),` from `,_jsx(_components.a,{href:`/api-reference/v2/messages/get-conversation`,children:`Get Conversation`}),` or `,_jsx(_components.code,{children:`metadata.entity_urn`}),` of a webhook event; the thread is resolved from `,_jsx(_components.code,{children:`conversation_id`}),` or `,_jsx(_components.code,{children:`profile_url`}),`, and the quoted message must be among the last 100 of the thread. `,_jsx(_components.strong,{children:`WhatsApp:`}),` its `,_jsx(_components.code,{children:`id`}),` from Get Conversation. `,_jsx(_components.strong,{children:`iMessage:`}),` its `,_jsx(_components.code,{children:`message_id`}),`.`]})})]})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`success`,type:`boolean`,id:`param-success`,children:_jsx(_components.p,{children:`Indicates whether the request was successful.`})}),`\n`,_jsxs(ResponseField,{name:`data`,type:`object`,id:`param-data-1`,children:[_jsx(_components.p,{children:`Details of the sent message. The shape differs between a LinkedIn standard message, an InMail, and an email.`}),_jsxs(Expandable,{title:`standard message`,children:[_jsx(ResponseField,{name:`status`,type:`string`,id:`param-status`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`\"success\"`}),` when the message was sent.`]})}),_jsx(ResponseField,{name:`data`,type:`object`,id:`param-data-2`,children:_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`entityUrn`,type:`string`,id:`param-entity-urn`,children:_jsx(_components.p,{children:`The unique URN of the sent message entity.`})}),_jsx(ResponseField,{name:`conversation_id`,type:`string`,id:`param-conversation-id-1`,children:_jsx(_components.p,{children:`The URN of the conversation the message was sent in.`})}),_jsx(ResponseField,{name:`deliveredAt`,type:`integer`,id:`param-delivered-at`,children:_jsxs(_components.p,{children:[`Unix epoch timestamp in `,_jsx(_components.strong,{children:`milliseconds`}),`.`]})})]})})]}),_jsxs(Expandable,{title:`InMail`,children:[_jsx(ResponseField,{name:`status`,type:`string`,id:`param-status-1`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`\"success\"`}),` when the InMail was sent.`]})}),_jsx(ResponseField,{name:`message`,type:`string`,id:`param-message`,children:_jsxs(_components.p,{children:[`Human-readable result, e.g. `,_jsx(_components.code,{children:`\"InMail sent\"`}),`.`]})}),_jsx(ResponseField,{name:`recipient_urn`,type:`string`,id:`param-recipient-urn-1`,children:_jsx(_components.p,{children:`The Sales Nav URN the InMail was sent to.`})}),_jsx(ResponseField,{name:`data`,type:`object`,id:`param-data-3`,children:_jsxs(_components.p,{children:[`Raw send result: `,_jsx(_components.code,{children:`{ \"value\": { \"threadId\": \"...\", \"messageId\": \"...\" } }`}),`.`]})})]}),_jsxs(Expandable,{title:`email`,children:[_jsxs(ResponseField,{name:`status`,type:`string`,id:`param-status-2`,children:[_jsx(_components.code,{children:`\"success\"`}),` when the email was sent.`]}),_jsx(ResponseField,{name:`data`,type:`object`,id:`param-data-4`,children:_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`message_id`,type:`string`,id:`param-message-id`,children:`The sent email’s Message-ID.`}),_jsx(ResponseField,{name:`sent_from`,type:`string`,id:`param-sent-from`,children:`The mailbox address the email was sent from.`}),_jsxs(ResponseField,{name:`esp`,type:`string`,id:`param-esp`,children:[`Sending mailbox provider bucket (`,_jsx(_components.code,{children:`google`}),` / `,_jsx(_components.code,{children:`outlook`}),` / `,_jsx(_components.code,{children:`other`}),`).`]}),_jsx(ResponseField,{name:`recipient_esp`,type:`string`,id:`param-recipient-esp`,children:`Recipient’s detected provider bucket.`}),_jsxs(ResponseField,{name:`home_court`,type:`boolean`,id:`param-home-court`,children:[_jsx(_components.code,{children:`true`}),` when sender and recipient are on the same provider.`]}),_jsxs(ResponseField,{name:`over_cap`,type:`boolean`,id:`param-over-cap`,children:[_jsx(_components.code,{children:`true`}),` when the mailbox is over its daily limit (the send still went out).`]}),_jsxs(ResponseField,{name:`mailbox_health`,type:`object`,id:`param-mailbox-health`,children:[_jsx(_components.code,{children:`sends_today`}),`, `,_jsx(_components.code,{children:`daily_limit`}),`, `,_jsx(_components.code,{children:`bounce_rate`}),` for the sending mailbox.`]})]})})]})]}),`\n`,_jsx(ResponseField,{name:`metadata`,type:`object`,id:`param-metadata`,children:_jsxs(Expandable,{title:`metadata properties`,children:[_jsx(ResponseField,{name:`action`,type:`string`,id:`param-action-1`,children:_jsxs(_components.p,{children:[`The action that was performed (`,_jsx(_components.code,{children:`\"send\"`}),`).`]})}),_jsx(ResponseField,{name:`account_id`,type:`string`,id:`param-account-id-1`,children:_jsx(_components.p,{children:`The account ID used for the request.`})}),_jsx(ResponseField,{name:`credits_consumed`,type:`integer`,id:`param-credits-consumed`,children:_jsx(_components.p,{children:`Number of credits consumed (1 for text, 2 with media).`})}),_jsx(ResponseField,{name:`timestamp`,type:`string`,id:`param-timestamp`,children:_jsx(_components.p,{children:`ISO 8601 timestamp of the response.`})})]})}),`\n`,_jsxs(ResponseExample,{children:[_jsx(CodeBlock,{filename:`200 (message)`,numberOfLines:`17`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`17`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"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:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"entityUrn\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"urn:li:msg_message:(urn:li:fsd_profile:ACoAA...,2-MTc4NTI3...)\"`}),_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:` \"conversation_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"urn:li:msg_conversation:(urn:li:fsd_profile:ACoAA...,2-M2RkYWQ4...)\"`}),_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:` \"deliveredAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1785272227840`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"metadata\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"action\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"send\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"account_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"your-account-id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"credits_consumed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_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:` \"timestamp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-03-24T12:00:00Z\"`})]}),`\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`]})})}),_jsx(CodeBlock,{filename:`200 (InMail)`,numberOfLines:`20`,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:`20`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"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:`\"InMail sent\"`}),_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:` \"recipient_urn\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"urn:li:fs_salesProfile:(ACwAAA...,name, )\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"value\"`}),_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:` \"threadId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2-OTQwMTJlODEt...\"`}),_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:` \"messageId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2-MTc4NTIyODc1...\"`})]}),`\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`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"metadata\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"action\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"send\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"account_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"your-account-id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"credits_consumed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_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:` \"timestamp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-03-24T12:00:00Z\"`})]}),`\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`]})})}),_jsx(CodeBlock,{filename:`200 (email)`,numberOfLines:`16`,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:`16`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"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:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\[email protected]>\"`}),_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:` \"sent_from\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"[email protected]\"`}),_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:` \"esp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"google\"`}),_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:` \"recipient_esp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"other\"`}),_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:` \"home_court\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_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:` \"over_cap\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_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:` \"mailbox_health\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"sends_today\"`}),_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:`\"daily_limit\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`40`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"bounce_rate\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"metadata\"`}),_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:`\"send\"`}),_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:`\"your-email-account-id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"credits_consumed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"timestamp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-09-14T12:00:00Z\"`}),_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(CodeBlock,{filename:`200 (WhatsApp)`,numberOfLines:`13`,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:`13`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"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:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"entityUrn\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"3EB05338283099EC87F1F8\"`}),_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:` \"conversation_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"[email protected]\"`}),_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:` \"deliveredAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1790436783000`}),_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:` \"phone_number\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"33612345678\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"metadata\"`}),_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:`\"send\"`}),_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:`\"your-whatsapp-account-id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"credits_consumed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"timestamp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-09-26T15:33:03Z\"`}),_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(CodeBlock,{filename:`400`,numberOfLines:`13`,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:`13`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_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:` \"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:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"INVALID_PARAMS\"`}),_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:`\"message_text is required\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"metadata\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"action\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"send\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"account_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"your-account-id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"credits_consumed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_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:` \"timestamp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-03-24T12:00:00Z\"`})]}),`\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`,_jsx(Heading,{level:`2`,id:`react-edit-or-delete-a-message`,children:`React, edit or delete a message`}),`\n`,_jsxs(_components.p,{children:[`Same endpoint, classic LinkedIn messages only, 1 credit each. `,_jsx(_components.code,{children:`message_id`}),` is the message URN: `,_jsx(_components.code,{children:`entity_urn`}),` from `,_jsx(_components.a,{href:`/api-reference/v2/messages/get-conversation`,children:`Get Conversation`}),` or from a webhook event (a bare `,_jsx(_components.code,{children:`2-…`}),` id works with `,_jsx(_components.code,{children:`conversation_id`}),`). Only the account’s own messages can be edited or deleted, within 60 minutes of sending them.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.code,{children:`action`})}),_jsx(_components.th,{children:_jsx(_components.code,{children:`params`})})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`react_message`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`message_id`}),`, `,_jsx(_components.code,{children:`emoji`}),`, `,_jsx(_components.code,{children:`remove?`}),` (`,_jsx(_components.code,{children:`true`}),` removes the reaction)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`edit_message`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`message_id`}),`, `,_jsx(_components.code,{children:`message_text`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`delete_message`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`message_id`}),` (unsends it for everyone)`]})]})]})]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`iMessage:`}),` `,_jsx(_components.code,{children:`react_message`}),` works too, with the `,_jsx(_components.code,{children:`message_id`}),` of the message: `,_jsx(_components.code,{children:`emoji`}),` is a tapback (`,_jsx(_components.code,{children:`love`}),`, `,_jsx(_components.code,{children:`like`}),`, `,_jsx(_components.code,{children:`dislike`}),`, `,_jsx(_components.code,{children:`laugh`}),`, `,_jsx(_components.code,{children:`emphasize`}),`, `,_jsx(_components.code,{children:`question`}),`) or any emoji. Not in group chats. `,_jsx(_components.code,{children:`action: \"typing\"`}),` with `,_jsx(_components.code,{children:`conversation_id`}),` (and `,_jsx(_components.code,{children:`seconds`}),`, 60 max) shows the typing indicator, in a conversation active in the last 5 minutes.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,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:`5`,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:` \"account_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"your-account-id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"action\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"react_message\"`}),_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:` \"params\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"message_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"urn:li:msg_message:(urn:li:fsd_profile:ACoAAD...,2-MTc5...)\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"emoji\"`}),_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`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`inmail`,children:`InMail`}),`\n`,_jsxs(_components.p,{children:[`Reaches someone you are not connected to, through the account’s premium seat. Triggered by `,_jsx(_components.code,{children:`inmail: true`}),` or a `,_jsx(_components.code,{children:`recipient_urn`}),` — a `,_jsx(_components.code,{children:`subject`}),` alone never turns a message into an InMail. Prefer `,_jsx(_components.code,{children:`recipient_urn`}),` from the `,_jsx(_components.a,{href:`/api-reference/v2/profiles/search-people-nav`,children:`lead search`}),` when you have it.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,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:`9`,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:` \"account_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"your-account-id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"action\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"send\"`}),_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:` \"params\"`}),_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:` \"recipient_urn\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"urn:li:fs_salesProfile:(...)\"`}),_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:` \"subject\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Quick question\"`}),_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_text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Hi ...\"`})]}),`\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:[`A profile that cannot be InMailed is rejected before any credit is spent. Credits come from the seat — see `,_jsx(_components.a,{href:`/api-reference/v2/messages/balance`,children:`Balance`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`recruiter-inmail`,children:`Recruiter InMail`}),`\n`,_jsxs(_components.p,{children:[`Set `,_jsx(_components.code,{children:`recruiter: true`}),`.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`New InMail`}),` — `,_jsx(_components.code,{children:`recipient_urn`}),` (the candidate’s `,_jsx(_components.code,{children:`profile_urn`}),` from `,_jsx(_components.a,{href:`/api-reference/v2/profiles/search-people-recruiter`,children:`Search People Recruiter`}),`), `,_jsx(_components.code,{children:`subject`}),` and `,_jsx(_components.code,{children:`message_text`}),`. Optional:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`project_urn`}),` — the thread is also filed in that `,_jsx(_components.a,{href:`/api-reference/v2/recruiter/projects`,children:`project`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`signature`}),` — replaces the seat’s own signature, appended by default`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Reply`}),` — `,_jsx(_components.code,{children:`conversation_id`}),` (from `,_jsx(_components.a,{href:`/api-reference/v2/messages/list-inbox#recruiter-inbox`,children:`List Inbox`}),`) and `,_jsx(_components.code,{children:`message_text`}),`. No subject. The candidate is read off the thread; pass `,_jsx(_components.code,{children:`recipient_urn`}),` to save that lookup.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`10`,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:`10`,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:` \"account_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"your-account-id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"action\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"send\"`}),_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:` \"params\"`}),_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:` \"recruiter\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"recipient_urn\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"urn:li:ts_profile:AEMAA…\"`}),_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:` \"subject\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Growth role in Paris\"`}),_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_text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Hi Jane, ...\"`})]}),`\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:[`Returns the `,_jsx(_components.code,{children:`conversation_id`}),` of the thread. Consumes `,_jsx(_components.strong,{children:`1 credit`}),` plus `,_jsx(_components.strong,{children:`1 Recruiter InMail credit`}),` when the candidate is not free to InMail (see `,_jsx(_components.a,{href:`/api-reference/v2/profiles/check-inmail#recruiter`,children:`Check InMail`}),`).`]}),`\n`,_jsx(Heading,{level:`2`,id:`email`,children:`Email`}),`\n`,_jsxs(_components.p,{children:[`Sending from an `,_jsx(_components.a,{href:`/api-reference/v2/accounts/login#email-mailbox`,children:`email mailbox`}),` uses the same `,_jsx(_components.code,{children:`params`}),` above — `,_jsx(_components.code,{children:`to`}),` + `,_jsx(_components.code,{children:`subject`}),` + `,_jsx(_components.code,{children:`message_text`}),` (and/or `,_jsx(_components.code,{children:`html`}),`):`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,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:`5`,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:` \"account_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"your-email-account-id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"action\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"send\"`}),_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:` \"params\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"to\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"[email protected]\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"subject\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Quick question\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"message_text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Hi there, ...\"`}),_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`,_jsx(Heading,{level:`2`,id:`whatsapp`,children:`WhatsApp`}),`\n`,_jsxs(_components.p,{children:[`Sending from a `,_jsx(_components.a,{href:`/api-reference/v2/accounts/login#whatsapp`,children:`WhatsApp account`}),` uses `,_jsx(_components.code,{children:`phone_number`}),` + `,_jsx(_components.code,{children:`message_text`}),`:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,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:`5`,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:` \"account_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"your-whatsapp-account-id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"action\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"send\"`}),_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:` \"params\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"phone_number\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"+33612345678\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"message_text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Hi there, ...\"`}),_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:[`A number without WhatsApp returns `,_jsx(_components.code,{children:`CHANNEL_ERROR`}),` (422). Check numbers first with `,_jsx(_components.a,{href:`/api-reference/v2/messages/check-numbers`,children:`Check Numbers`}),`.`]})]})}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 Message or Email","api":"POST /v2/messages","description":"Send a LinkedIn message or InMail, or an email — from a connected account.","href":"/api-reference/v2/messages/send"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Overview","slug":"overview","depth":2,"children":[]},{"title":"Request","slug":"request","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[]},{"title":"React, edit or delete a message","slug":"react-edit-or-delete-a-message","depth":2,"children":[]},{"title":"InMail","slug":"inmail","depth":2,"children":[]},{"title":"Recruiter InMail","slug":"recruiter-inmail","depth":2,"children":[]},{"title":"Email","slug":"email","depth":2,"children":[]},{"title":"WhatsApp","slug":"whatsapp","depth":2,"children":[]}],"codeExamples":{"response":{"type":"ResponseExample","children":[{"filename":"200 (message)","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"17\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"success\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"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\"> \"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"entityUrn\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"urn:li:msg_message:(urn:li:fsd_profile:ACoAA...,2-MTc4NTI3...)\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"conversation_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"urn:li:msg_conversation:(urn:li:fsd_profile:ACoAA...,2-M2RkYWQ4...)\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"deliveredAt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1785272227840\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"metadata\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"action\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"send\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"account_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"your-account-id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"credits_consumed\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"timestamp\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-03-24T12:00:00Z\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"200 (InMail)","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=\"20\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"success\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"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\">\"InMail sent\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"recipient_urn\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"urn:li:fs_salesProfile:(ACwAAA...,name, )\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"value\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"threadId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2-OTQwMTJlODEt...\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"messageId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2-MTc4NTIyODc1...\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"metadata\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"action\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"send\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"account_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"your-account-id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"credits_consumed\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"timestamp\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-03-24T12:00:00Z\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"200 (email)","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=\"16\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"success\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"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\"> \"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"\u0026#x3C;[email protected]>\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"sent_from\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"[email protected]\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"esp\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"google\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"recipient_esp\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"other\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"home_court\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"over_cap\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"mailbox_health\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: { \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"sends_today\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"daily_limit\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">40\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"bounce_rate\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">0.0\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"metadata\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: { \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"action\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"send\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"account_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"your-email-account-id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"credits_consumed\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"timestamp\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-09-14T12:00:00Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"200 (WhatsApp)","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=\"13\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"success\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"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\"> \"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"entityUrn\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"3EB05338283099EC87F1F8\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"conversation_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"[email protected]\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"deliveredAt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1790436783000\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"phone_number\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"33612345678\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"metadata\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: { \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"action\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"send\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"account_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"your-whatsapp-account-id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"credits_consumed\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"timestamp\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-09-26T15:33:03Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"400","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=\"13\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"success\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"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\"> \"code\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"INVALID_PARAMS\"\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\">\"message_text is required\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"metadata\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"action\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"send\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"account_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"your-account-id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"credits_consumed\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">0\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"timestamp\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-03-24T12:00:00Z\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Send Message or Email","path":"/v2/messages","servers":[{"url":"https://api.linkupapi.com"}],"method":"post","request":{"security":[],"parameters":{"query":{},"header":{"x-api-key":{"schema":[{"type":"string","description":"Your API key for authentication.","required":true}]}},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"account_id":[{"type":"string","description":"The unique identifier of the account to use.","required":true}],"action":[{"type":"string","description":"Must be `\"send\"` .","required":true}],"params":[{"type":"object","properties":{"message_text":[{"type":"string","description":"(LinkedIn + Email + WhatsApp + iMessage) The text content. Required for LinkedIn and iMessage; for email, provide `message_text` and/or `html` ; for WhatsApp, `message_text` and/or an attachment. iMessage sending rules: see iMessage limits . To tag someone in a LinkedIn message, use `mention_user(public_id, display_text)` ( `public_id` = the slug of `linkedin.com/in/\u003cpublic_id>` , or the profile URL) — e.g. `\"Hi, meet mention_user(williamhgates, Bill Gates)!\"` is sent as `Hi, meet @Bill Gates!` with Bill Gates tagged. An unknown profile returns an error and nothing is sent.","required":true}],"subject":[{"type":"string","description":"(InMail + Email + iMessage) Subject line. On LinkedIn it applies to InMails only (ignored for standard messages, and alone it does not trigger an InMail); on email it’s the email subject; on iMessage, a bold title above the text."}],"profile_url":[{"type":"string","description":"(LinkedIn) URL of the recipient’s profile. Used for a standard message and an InMail (with `inmail: true` ). Required unless you pass `recipient_urn` or `conversation_id` ."}],"conversation_id":[{"type":"string","description":"(LinkedIn) Reply into an existing thread, 1:1 or group, instead of addressing a person: pass the `conversation_id` from List Inbox or a webhook event, without `profile_url` . With `sales_nav: true` it is the Sales Navigator thread id (reply inside an InMail thread, no subject needed); with `recruiter: true` , the Recruiter thread id."}],"inmail":[{"type":"boolean","description":"(LinkedIn) Set to `true` to send an InMail (to a non-connection, via the premium seat) instead of a standard message. Consumes 1 InMail credit. Not needed when `recipient_urn` is a Sales Nav URN."}],"recipient_urn":[{"type":"string","description":"(LinkedIn InMail) The lead’s `urn:li:fs_salesProfile:(...)` from the lead search . Passing it sends an InMail. Use this or `profile_url` + `inmail: true` ."}],"recruiter":[{"type":"boolean","description":"(LinkedIn Recruiter) Send from the account’s Recruiter seat . See Recruiter InMail below."}],"phone_number":[{"type":"string","description":"(WhatsApp + iMessage) Recipient number in international format, e.g. `+33612345678` . Required for a WhatsApp account. On iMessage, pass `phone_number` , an Apple ID `email` , or a group `conversation_id` ."}],"effect":[{"type":"string","description":"(iMessage) Message effect: `slam` , `loud` , `gentle` , `invisibleInk` , `echo` , `spotlight` , `balloons` , `confetti` , `love` , `lasers` , `fireworks` , `shootingStar` or `celebration` ."}],"to":[{"type":"string","description":"(Email) Recipient email address. Required for an email account."}],"html":[{"type":"string","description":"(Email) HTML body. Provide `html` and/or `message_text` ."}],"reply_to":[{"type":"string","description":"(Email) Optional `Reply-To` address."}],"thread_ref":[{"type":"string","description":"(Email) Message-ID to reply into an existing thread."}],"cc":[{"type":"array","items":[{"type":"string"}],"description":"(Email) CC recipients (a comma-separated string or an array)."}],"bcc":[{"type":"array","items":[{"type":"string"}],"description":"(Email) BCC recipients — hidden from the other recipients (e.g. to log a copy into a CRM)."}],"custom_headers":[{"type":"object","properties":{},"description":"(Email) Extra `X-…` headers as a `{ name: value }` map — e.g. `{ \"X-Campaign-Id\": \"camp-42\" }` — to correlate replies/bounces back to your system."}],"account_ids":[{"type":"array","items":[{"type":"string"}],"description":"(Email) Optional pool of your own mailbox ids to route the send across (home-court + daily limits). `sent_from` in the response tells you which was used."}],"media_link":[{"type":"string","description":"(LinkedIn + Email + WhatsApp) A publicly accessible URL to a file to attach."}],"media_file":[{"type":"object","properties":{"data":[{"type":"string","description":"The base64-encoded file content.","required":true}],"filename":[{"type":"string","description":"The filename including extension (e.g. `\"document.pdf\"` ).","required":true}]},"description":"(LinkedIn + Email + WhatsApp) A base64-encoded file to attach."}],"media_path":[{"type":"string","description":"(LinkedIn + Email) A server-side file path to a file to attach."}],"media_links":[{"type":"array","items":[{"type":"string"}],"description":"(LinkedIn + Email + WhatsApp + iMessage) Publicly accessible URLs of files to attach — all delivered in the same message. iMessage takes `https://` URLs only, up to 10."}],"media_files":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"(LinkedIn + Email + WhatsApp) Base64-encoded files to attach — same shape as `media_file` ( `data` , `filename` )."}],"voice_message":[{"type":"boolean","description":"(LinkedIn + WhatsApp + iMessage) Force the attached media to be sent as a voice note . Only needed when the filename carries no usable extension. On iMessage, a voice note is one audio link (mp3, wav, m4a, caf, aac) with no `message_text` ."}],"quoted_message_id":[{"type":"string","description":"Reply to a specific message (quoted above yours, like the Reply action of the app). LinkedIn: the message’s `entity_urn` from Get Conversation or `metadata.entity_urn` of a webhook event; the thread is resolved from `conversation_id` or `profile_url` , and the quoted message must be among the last 100 of the thread. WhatsApp: its `id` from Get Conversation. iMessage: its `message_id` ."}]},"required":true}]}}],"examples":{"example":{"value":{"account_id":"\u003cstring>","action":"\u003cstring>","params":{"message_text":"\u003cstring>","subject":"\u003cstring>","profile_url":"\u003cstring>","conversation_id":"\u003cstring>","inmail":true,"recipient_urn":"\u003cstring>","recruiter":true,"phone_number":"\u003cstring>","effect":"\u003cstring>","to":"\u003cstring>","html":"\u003cstring>","reply_to":"\u003cstring>","thread_ref":"\u003cstring>","cc":["\u003cstring>"],"bcc":["\u003cstring>"],"custom_headers":{},"account_ids":["\u003cstring>"],"media_link":"\u003cstring>","media_file":{"data":"\u003cstring>","filename":"\u003cstring>"},"media_path":"\u003cstring>","media_links":["\u003cstring>"],"media_files":[{}],"voice_message":true,"quoted_message_id":"\u003cstring>"}}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"success":[{"type":"boolean","description":"Indicates whether the request was successful."}],"data":[{"type":"object","properties":{"status":[{"type":"string","description":"`\"success\"` when the email was sent."}],"data":[{"type":"object","properties":{"message_id":[{"type":"string","description":"The sent email’s Message-ID."}],"sent_from":[{"type":"string","description":"The mailbox address the email was sent from."}],"esp":[{"type":"string","description":"Sending mailbox provider bucket ( `google` / `outlook` / `other` )."}],"recipient_esp":[{"type":"string","description":"Recipient’s detected provider bucket."}],"home_court":[{"type":"boolean","description":"`true` when sender and recipient are on the same provider."}],"over_cap":[{"type":"boolean","description":"`true` when the mailbox is over its daily limit (the send still went out)."}],"mailbox_health":[{"type":"object","properties":{},"description":"`sends_today` , `daily_limit` , `bounce_rate` for the sending mailbox."}]}}],"message":[{"type":"string","description":"Human-readable result, e.g. `\"InMail sent\"` ."}],"recipient_urn":[{"type":"string","description":"The Sales Nav URN the InMail was sent to."}]},"description":"Details of the sent message. The shape differs between a LinkedIn standard message, an InMail, and an email."}],"metadata":[{"type":"object","properties":{"action":[{"type":"string","description":"The action that was performed ( `\"send\"` )."}],"account_id":[{"type":"string","description":"The account ID used for the request."}],"credits_consumed":[{"type":"integer","description":"Number of credits consumed (1 for text, 2 with media)."}],"timestamp":[{"type":"string","description":"ISO 8601 timestamp of the response."}]}}]}}],"examples":{"example":{"value":{"success":true,"data":{"status":"\u003cstring>","data":{"message_id":"\u003cstring>","sent_from":"\u003cstring>","esp":"\u003cstring>","recipient_esp":"\u003cstring>","home_court":true,"over_cap":true,"mailbox_health":{}},"message":"\u003cstring>","recipient_urn":"\u003cstring>"},"metadata":{"action":"\u003cstring>","account_id":"\u003cstring>","credits_consumed":123,"timestamp":"\u003cstring>"}}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"linkup","siteName":"LinkUp API","title":"Send Message or Email - LinkUp API","navMaps":{"firstHrefInVersion":{"v2.0":{"href":"/api-reference/v2/messages/send","matchLevel":0},"v1.5":{"href":"/api-reference/introduction","matchLevel":4},"v1.0":{"href":"/api-reference/introduction","matchLevel":4}},"firstHrefInLanguage":{}},"lastModified":"2026-10-26T14:59:19.827Z","originalFileLocation":"api-reference/v2/messages/send.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 LinkedIn message or InMail, or an email — from a connected account.\">\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 Message or Email - LinkUp API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Send a LinkedIn message or InMail, or an email — from a connected account.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"LinkUp API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.linkupapi.com/api-reference/v2/messages/send\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://linkup.mintlify.app/_mintlify/api/og/v2?division=Messaging\u0026amp;title=Send+Message+or+Email\u0026amp;description=Send+a+LinkedIn+message+or+InMail%2C+or+an+email+%E2%80%94+from+a+connected+account.\u0026amp;theme=bf35fea4c0c5e6d5326b8725\u0026amp;signature=aa4e225718767bd372795f3105c19ed8cfe7807500b9dd77557f7b5bbb2fae47\">\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 Message or Email - LinkUp API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Send a LinkedIn message or InMail, or an email — from a connected account.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://linkup.mintlify.app/_mintlify/api/og/v2?division=Messaging\u0026amp;title=Send+Message+or+Email\u0026amp;description=Send+a+LinkedIn+message+or+InMail%2C+or+an+email+%E2%80%94+from+a+connected+account.\u0026amp;theme=bf35fea4c0c5e6d5326b8725\u0026amp;signature=aa4e225718767bd372795f3105c19ed8cfe7807500b9dd77557f7b5bbb2fae47\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/linkup/Pwp8bAx04X-d5qDo/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"LinkUp API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0D9373\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.linkupapi.com/api-reference/v2/messages/send\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/v2/messages/send.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.linkupapi.com/#organization\",\"name\":\"LinkUp API\",\"url\":\"https://docs.linkupapi.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/linkup/ZlfbWzmoiFddAPIP/logo/light.svg?fit=max\u0026auto=format\u0026n=ZlfbWzmoiFddAPIP\u0026q=85\u0026s=910520051bbdecf6c5ba291bc05e176c\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.linkupapi.com#website\",\"name\":\"LinkUp API\",\"url\":\"https://docs.linkupapi.com\",\"publisher\":{\"@id\":\"https://docs.linkupapi.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.linkupapi.com/api-reference/v2/messages/send#webpage\",\"url\":\"https://docs.linkupapi.com/api-reference/v2/messages/send\",\"name\":\"Send Message or Email\",\"description\":\"Send a LinkedIn message or InMail, or an email — from a connected account.\",\"dateModified\":\"2026-10-26T14:59:19.827Z\",\"isPartOf\":{\"@id\":\"https://docs.linkupapi.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.linkupapi.com/api-reference/v2/messages/send#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.linkupapi.com/api-reference/v2/messages/send#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"LinkUp API\",\"item\":\"https://docs.linkupapi.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Send Message or Email\",\"item\":\"https://docs.linkupapi.com/api-reference/v2/messages/send\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.linkupapi.com/api-reference/v2/messages/send#apireference\",\"headline\":\"Send Message or Email\",\"name\":\"Send Message or Email\",\"description\":\"Send a LinkedIn message or InMail, or an email — from a connected account.\",\"url\":\"https://docs.linkupapi.com/api-reference/v2/messages/send\",\"mainEntityOfPage\":{\"@id\":\"https://docs.linkupapi.com/api-reference/v2/messages/send#webpage\"},\"dateModified\":\"2026-10-26T14:59:19.827Z\",\"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\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"LinkUp API","nav":{"global":null,"versions":[{"version":"v2.0","default":true,"tag":"Latest","tabs":[{"tab":"Documentation","icon":"book","groups":[{"group":"Getting Started","pages":[{"title":"Introduction","href":"/api-reference/v2/introduction"},{"title":"MCP Setup","href":"/api-reference/v2/mcp-setup"},{"title":"Platform Best Practices","href":"/api-reference/v2/best-practices"},{"title":"Migration from V1 to V2","href":"/api-reference/v2/migration"},{"title":"Error Codes","href":"/api-reference/v2/error-codes"}]},{"group":"Accounts","pages":[{"title":"Connect Account","api":"POST /v2/login","href":"/api-reference/v2/accounts/login"},{"title":"Verify Checkpoint (2FA)","api":"POST /v2/checkpoint","href":"/api-reference/v2/accounts/checkpoint"},{"title":"Hosted Connection Link","api":"POST /v2/accounts/connect-link","href":"/api-reference/v2/accounts/connect-link"},{"title":"Autoconfig Provider","api":"GET /v2/email/autoconfig","href":"/api-reference/v2/email/autoconfig"},{"title":"List Accounts","api":"GET /v2/accounts","href":"/api-reference/v2/accounts/list-accounts"},{"title":"Get Account Details","api":"GET /v2/accounts/{account_id}","href":"/api-reference/v2/accounts/get-account"},{"title":"Set Proxy Country","api":"POST /v2/accounts/{account_id}/country","href":"/api-reference/v2/accounts/set-country"},{"title":"Delete Account","api":"DELETE /v2/accounts/{account_id}","href":"/api-reference/v2/accounts/delete-account"}]},{"group":"Profiles","pages":[{"title":"Get My Profile","api":"POST /v2/profiles","href":"/api-reference/v2/profiles/get-me"},{"title":"Update Profile","api":"POST /v2/profiles","href":"/api-reference/v2/profiles/update-profile"},{"title":"Get Profile Info","api":"POST /v2/profiles","href":"/api-reference/v2/profiles/get-profile"},{"title":"Get Contact Info","api":"POST /v2/profiles","href":"/api-reference/v2/profiles/get-contact"},{"title":"Visit Profile","api":"POST /v2/profiles","href":"/api-reference/v2/profiles/visit"},{"title":"Search People","api":"POST /v2/profiles","href":"/api-reference/v2/profiles/search-people"},{"title":"Search People Nav","sidebarTitle":"Search People Nav","api":"POST /v2/profiles","href":"/api-reference/v2/profiles/search-people-nav"},{"title":"Search People Recruiter","sidebarTitle":"Search People Recruiter","api":"POST /v2/profiles","href":"/api-reference/v2/profiles/search-people-recruiter"},{"title":"Check InMail","sidebarTitle":"Check InMail","api":"POST /v2/profiles","href":"/api-reference/v2/profiles/check-inmail"},{"title":"Check InMail Seat","sidebarTitle":"Check InMail Seat","api":"POST /v2/profiles","href":"/api-reference/v2/profiles/check-inmail-seat"},{"title":"Unlock Profile","api":"POST /v2/profiles","href":"/api-reference/v2/profiles/unlock"},{"title":"Typeahead (Filter Suggestions)","api":"POST /v2/typeahead","href":"/api-reference/v2/profiles/typeahead"},{"title":"Search Companies","api":"POST /v2/profiles","href":"/api-reference/v2/profiles/search-companies"},{"title":"Get Company Info","api":"POST /v2/profiles","href":"/api-reference/v2/profiles/get-company"},{"title":"Get Profile Viewers","api":"POST /v2/profiles","href":"/api-reference/v2/profiles/get-viewers"},{"title":"Get Profile Reactions","api":"POST /v2/profiles","href":"/api-reference/v2/profiles/get-reactions"},{"title":"Get Profile Comments","api":"POST /v2/profiles","href":"/api-reference/v2/profiles/get-comments"},{"title":"Get Profile Posts","api":"POST /v2/profiles","description":"Retrieve the posts published by a user, newest first.","href":"/api-reference/v2/profiles/get-posts"}]},{"group":"Messaging","pages":[{"title":"Send Message or Email","api":"POST /v2/messages","href":"/api-reference/v2/messages/send"},{"title":"List Inbox","api":"POST /v2/messages","description":"Retrieve a list of conversations from the inbox.","href":"/api-reference/v2/messages/list-inbox"},{"title":"Get Conversation","api":"POST /v2/messages","href":"/api-reference/v2/messages/get-conversation"},{"title":"Download Attachment","api":"GET /v2/messages/attachment","href":"/api-reference/v2/messages/download-attachment"},{"title":"Balance","api":"POST /v2/balance","href":"/api-reference/v2/messages/balance"},{"title":"Check Numbers","api":"POST /v2/messages","href":"/api-reference/v2/messages/check-numbers"},{"title":"Manage Emails","href":"/api-reference/v2/messages/manage-emails"}]},{"group":"Network","pages":[{"title":"Send Connection Request","api":"POST /v2/network","href":"/api-reference/v2/network/invite"},{"title":"Accept Invitation","api":"POST /v2/network","href":"/api-reference/v2/network/accept"},{"title":"Decline Invitation","api":"POST /v2/network","href":"/api-reference/v2/network/decline"},{"title":"List Connections","api":"POST /v2/network","href":"/api-reference/v2/network/list-connections"},{"title":"List Invitations","api":"POST /v2/network","href":"/api-reference/v2/network/list-invitations"},{"title":"List Sent Invitations","api":"POST /v2/network","href":"/api-reference/v2/network/list-sent"},{"title":"Withdraw Invitation","api":"POST /v2/network","href":"/api-reference/v2/network/withdraw"},{"title":"Check Invitation Status","api":"POST /v2/network","href":"/api-reference/v2/network/check-invitation"},{"title":"Get Network Recommendations","api":"POST /v2/network","href":"/api-reference/v2/network/recommendations"},{"title":"Follow / Unfollow","api":"POST /v2/network","href":"/api-reference/v2/network/follow"},{"title":"Events","api":"POST /v2/network","href":"/api-reference/v2/network/events"},{"title":"Get Group Members","api":"POST /v2/network","href":"/api-reference/v2/network/group-members"}]},{"group":"Content","pages":[{"title":"Create Post","api":"POST /v2/content","href":"/api-reference/v2/content/create"},{"title":"Create Company Post","api":"POST /v2/content","href":"/api-reference/v2/content/create-company"},{"title":"Get Post","api":"POST /v2/content","href":"/api-reference/v2/content/get"},{"title":"Search Posts","api":"POST /v2/content","href":"/api-reference/v2/content/search"},{"title":"Get Feed","api":"POST /v2/content","href":"/api-reference/v2/content/get-feed"},{"title":"React to Post","api":"POST /v2/content","href":"/api-reference/v2/content/react"},{"title":"Comment on Post","api":"POST /v2/content","href":"/api-reference/v2/content/comment"},{"title":"Reply to Comment","api":"POST /v2/content","href":"/api-reference/v2/content/answer-comment"},{"title":"Repost","api":"POST /v2/content","href":"/api-reference/v2/content/repost"},{"title":"Get Post Comments","api":"POST /v2/content","href":"/api-reference/v2/content/get-comments"},{"title":"Get Post Reactions","api":"POST /v2/content","href":"/api-reference/v2/content/get-reactions"}]},{"group":"Recruiting","pages":[{"title":"Get Job Posts","api":"POST /v2/recruiter","href":"/api-reference/v2/recruiter/get-posts"},{"title":"Get Job Candidates","api":"POST /v2/recruiter","href":"/api-reference/v2/recruiter/get-candidates"},{"title":"Get Candidate CV","api":"POST /v2/recruiter","href":"/api-reference/v2/recruiter/get-cv"},{"title":"Create Job Posting","api":"POST /v2/recruiter","href":"/api-reference/v2/recruiter/create-job"},{"title":"Close Job Posting","api":"POST /v2/recruiter","href":"/api-reference/v2/recruiter/close-job"},{"title":"Publish Job Posting","api":"POST /v2/recruiter","href":"/api-reference/v2/recruiter/publish-job"},{"title":"Projects","sidebarTitle":"Projects","api":"POST /v2/recruiter","href":"/api-reference/v2/recruiter/projects"}]},{"group":"Credits","pages":[{"title":"Get Credit Balance","api":"GET /v2/credits","href":"/api-reference/v2/credits/get-balance"}]},{"group":"Logs","pages":[{"title":"List API Logs","api":"GET /v2/logs","href":"/api-reference/v2/logs/list-logs"}]},{"group":"Email Enrichment","pages":[{"title":"Find Email","api":"POST /v2/enrich","href":"/api-reference/v2/enrich/find-email"},{"title":"Validate Email","api":"POST /v2/enrich","href":"/api-reference/v2/enrich/validate-email"},{"title":"Reverse Email Lookup","api":"POST /v2/enrich","href":"/api-reference/v2/enrich/reverse-email"}]},{"group":"Webhooks (Real-Time)","pages":[{"title":"Webhooks Introduction","href":"/api-reference/v2/webhooks/introduction"},{"title":"Create Webhook","api":"POST /v2/webhooks","href":"/api-reference/v2/webhooks/create"},{"title":"List Webhooks","api":"GET /v2/webhooks","href":"/api-reference/v2/webhooks/list"},{"title":"Update Webhook","api":"PUT /v2/webhooks/{webhook_id}","href":"/api-reference/v2/webhooks/update"},{"title":"Delete Webhook","api":"DELETE /v2/webhooks/{webhook_id}","href":"/api-reference/v2/webhooks/delete"},{"title":"Start Monitoring","api":"POST /v2/webhooks/{webhook_id}/start","href":"/api-reference/v2/webhooks/start"},{"title":"Stop Monitoring","api":"POST /v2/webhooks/{webhook_id}/stop","href":"/api-reference/v2/webhooks/stop"},{"title":"Signature Verification","href":"/api-reference/v2/webhooks/signature"},{"title":"Poll Events","api":"GET /v2/webhooks/{webhook_id}/events","href":"/api-reference/v2/webhooks/events"}]}]},{"tab":"Tutorials","icon":"graduation-cap","pages":[{"title":"Tutorials","href":"/tutorials/linkedin-campaign"}]}]},{"version":"v1.5","pages":[{"title":"v1.5","href":"/api-reference/introduction"}]},{"version":"v1.0","pages":[{"title":"v1.0","href":"/api-reference/introduction"}]}]},"title":"Send Message or Email - LinkUp API","buildId":"dpl_DFJrtvUi8HS5F9nkooKuDJsuD5BM","deploymentId":"dpl_DFJrtvUi8HS5F9nkooKuDJsuD5BM","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-rfhihCWU.js","utils-BmH1XFxk.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-BcNsxPKB.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BAES3tkd.js","snippetPresets-DCMQBKLP.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-D6l_bzE9.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BOktbnNh.js","shallow-BCs8SgM7.js","getApiPlaygroundDisplay-DEmW5bJB.js","CodeSnippet-CpZOpB9C.js","CodeSnippets-BOBDqibl.js","Page-D5fEM6aW.js","getPastedJson-DH2JBvmr.js","icon-BBJH-kKh.js","MethodPill-D2Sd5NLC.js","DuplicateIcon-CGgfL2qN.js","createIcon-BKudBBzi.js","DynamicMarkdown-85clUA0i.js","SectionHeading-D0JiMgDx.js","axios-vUo_bRtp.js"]}