Your backend creates a short-lived embed session with POST /v1/embed/sessions.
Your frontend renders the returned iframeUrl.
The YoLead iframe uses the embed token to access runtime data.
Create embed sessions only from your backend. Do not expose the API secret in browser code.
The embed token identifies:
the YoLead company;
the employee acting inside the iframe;
the API key that created the session;
enabled UI capabilities;
optional chat restriction;
expiration time.
Capabilities control what the iframe may show in the UI. They do not replace backend access checks. YoLead still validates employee access, chat access, ticket state, and API key scope for each runtime action.
Integration patterns
Use a single-chat iframe when your CRM already has a specific conversation or ticket context. Pass chatId and request showChatPage.Use an inbox iframe when you want to show a list of available chats inside your product. Request showChatsList and showChatPage.Use an outbound-chat iframe when users should be able to start a new conversation. With a read-write API key, request showChatPage and startOutboundChat. You can omit chatId, and the iframe opens the outbound message composer.After a successful outbound message, the iframe sends a chat.created event to the parent window with the resulting chatId.Use write capabilities only when the user should be able to act from the embedded UI, such as sending messages, changing ticket status, or changing assignee.
Security model
Your backend signs the Public API request.
Your frontend only receives the returned iframeUrl.
The API secret must never be sent to the browser.
The embed token is placed in the URL hash, so it is not sent to the frontend server as part of the HTTP request URL.
Embed sessions are short-lived. Use the returned expiresAt value and create a new session when the previous one expires.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"YoLead Developers","description":"Developer documentation for YoLead REST integrations, webhooks, and embedded iframe flows.","colors":{"primary":"#0F766E"},"logo":{"light":"https://mintcdn.com/yolead/DlV_C0EoQy6Sn78H/logo-light.svg?fit=max\u0026auto=format\u0026n=DlV_C0EoQy6Sn78H\u0026q=85\u0026s=4d195c77d9626cba4b994659b670cc0a","dark":"https://mintcdn.com/yolead/DlV_C0EoQy6Sn78H/logo-dark.svg?fit=max\u0026auto=format\u0026n=DlV_C0EoQy6Sn78H\u0026q=85\u0026s=1fbc09fce3afdc3253dcaba5a514b945","href":"/"},"favicon":"https://mintcdn.com/yolead/vPRzPDvxlliB7ABC/favicon.svg?fit=max\u0026auto=format\u0026n=vPRzPDvxlliB7ABC\u0026q=85\u0026s=e1161bed049ae68a506c069d97a1fff7","styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"yolead","hasAudioNarration":false,"actualSubdomain":"yolead","customDomains":["docs.yo-lead.com"],"gitSource":{"type":"github","owner":"maximmuzychenka","repo":"yolead-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6aed9ce8157ee77d314e9580","clientVersion":"0.0.4138","searchFilterCounts":[{"language":"default","tag":"REST API","count":22},{"language":"default","tag":"Channels","count":9},{"language":"default","tag":"Contacts","count":9},{"language":"default","tag":"Integration basics","count":6},{"language":"default","tag":"Lists","count":6},{"language":"default","tag":"Embed iframe","count":5},{"language":"default","tag":"Webhooks","count":3},{"language":"default","tag":"Tickets","count":3},{"language":"default","tag":"Start","count":2},{"language":"default","tag":"Resources","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"embed/overview","slug":"/embed/overview","pageMetadata":{"title":"Embed overview","description":"Embed YoLead chat UI inside your product.","href":"/embed/overview"},"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: \"Embed YoLead chat UI inside your product.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Warning}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`The embed flow has two sides:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Your backend creates a short-lived embed session with `,_jsx(_components.code,{children:`POST /v1/embed/sessions`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Your frontend renders the returned `,_jsx(_components.code,{children:`iframeUrl`}),`.`]}),`\n`,_jsx(_components.li,{children:`The YoLead iframe uses the embed token to access runtime data.`}),`\n`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Create embed sessions only from your backend. Do not expose the API secret in browser code.`})}),`\n`,_jsx(_components.p,{children:`The embed token identifies:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`the YoLead company;`}),`\n`,_jsx(_components.li,{children:`the employee acting inside the iframe;`}),`\n`,_jsx(_components.li,{children:`the API key that created the session;`}),`\n`,_jsx(_components.li,{children:`enabled UI capabilities;`}),`\n`,_jsx(_components.li,{children:`optional chat restriction;`}),`\n`,_jsx(_components.li,{children:`expiration time.`}),`\n`]}),`\n`,_jsx(_components.p,{children:`Capabilities control what the iframe may show in the UI. They do not replace backend access checks. YoLead still validates employee access, chat access, ticket state, and API key scope for each runtime action.`}),`\n`,_jsx(Heading,{level:`2`,id:`integration-patterns`,children:`Integration patterns`}),`\n`,_jsxs(_components.p,{children:[`Use a single-chat iframe when your CRM already has a specific conversation or ticket context. Pass `,_jsx(_components.code,{children:`chatId`}),` and request `,_jsx(_components.code,{children:`showChatPage`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`Use an inbox iframe when you want to show a list of available chats inside your product. Request `,_jsx(_components.code,{children:`showChatsList`}),` and `,_jsx(_components.code,{children:`showChatPage`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`Use an outbound-chat iframe when users should be able to start a new conversation. With a `,_jsx(_components.code,{children:`read-write`}),` API key, request `,_jsx(_components.code,{children:`showChatPage`}),` and `,_jsx(_components.code,{children:`startOutboundChat`}),`. You can omit `,_jsx(_components.code,{children:`chatId`}),`, and the iframe opens the outbound message composer.`]}),`\n`,_jsxs(_components.p,{children:[`After a successful outbound message, the iframe sends a `,_jsxs(_components.a,{href:`/embed/events#chatcreated`,children:[_jsx(_components.code,{children:`chat.created`}),` event`]}),` to the parent window with the resulting `,_jsx(_components.code,{children:`chatId`}),`.`]}),`\n`,_jsx(_components.p,{children:`Use write capabilities only when the user should be able to act from the embedded UI, such as sending messages, changing ticket status, or changing assignee.`}),`\n`,_jsx(Heading,{level:`2`,id:`security-model`,children:`Security model`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Your backend signs the Public API request.`}),`\n`,_jsxs(_components.li,{children:[`Your frontend only receives the returned `,_jsx(_components.code,{children:`iframeUrl`}),`.`]}),`\n`,_jsx(_components.li,{children:`The API secret must never be sent to the browser.`}),`\n`,_jsx(_components.li,{children:`The embed token is placed in the URL hash, so it is not sent to the frontend server as part of the HTTP request URL.`}),`\n`,_jsxs(_components.li,{children:[`Embed sessions are short-lived. Use the returned `,_jsx(_components.code,{children:`expiresAt`}),` value and create a new session when the previous one expires.`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Embed overview","description":"Embed YoLead chat UI inside your product.","href":"/embed/overview"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Integration patterns","slug":"integration-patterns","depth":2,"children":[]},{"title":"Security model","slug":"security-model","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"yolead","siteName":"YoLead Developers","title":"Embed overview - YoLead Developers","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-07-27T10:55:13.775Z","originalFileLocation":"embed/overview.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=\"Embed YoLead chat UI inside your product.\">\u003cmeta data-mint-head name=\"application-name\" content=\"YoLead Developers\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/yolead/0UVy4KCyj2pnON-R/_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/yolead/0UVy4KCyj2pnON-R/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/yolead/0UVy4KCyj2pnON-R/_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/yolead/0UVy4KCyj2pnON-R/_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/yolead/0UVy4KCyj2pnON-R/_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/yolead/0UVy4KCyj2pnON-R/_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/yolead/0UVy4KCyj2pnON-R/_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/yolead/0UVy4KCyj2pnON-R/_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/yolead/0UVy4KCyj2pnON-R/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Embed overview - YoLead Developers\">\u003cmeta data-mint-head property=\"og:description\" content=\"Embed YoLead chat UI inside your product.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"YoLead Developers\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.yo-lead.com/embed/overview\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://yolead.mintlify.site/_mintlify/api/og/v2?division=Embed+iframe\u0026amp;title=Embed+overview\u0026amp;description=Embed+YoLead+chat+UI+inside+your+product.\u0026amp;theme=fa85fa520525103dc48bd7f4\u0026amp;signature=1d866186a6f335086542e9b3a99b536491c972264fd2208216f4bd30932d300e\">\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=\"Embed overview - YoLead Developers\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Embed YoLead chat UI inside your product.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://yolead.mintlify.site/_mintlify/api/og/v2?division=Embed+iframe\u0026amp;title=Embed+overview\u0026amp;description=Embed+YoLead+chat+UI+inside+your+product.\u0026amp;theme=fa85fa520525103dc48bd7f4\u0026amp;signature=1d866186a6f335086542e9b3a99b536491c972264fd2208216f4bd30932d300e\">\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/yolead/0UVy4KCyj2pnON-R/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"YoLead Developers\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0F766E\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.yo-lead.com/embed/overview\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/embed/overview.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.yo-lead.com/#organization\",\"name\":\"YoLead Developers\",\"url\":\"https://docs.yo-lead.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/yolead/DlV_C0EoQy6Sn78H/logo-light.svg?fit=max\u0026auto=format\u0026n=DlV_C0EoQy6Sn78H\u0026q=85\u0026s=4d195c77d9626cba4b994659b670cc0a\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.yo-lead.com#website\",\"name\":\"YoLead Developers\",\"url\":\"https://docs.yo-lead.com\",\"publisher\":{\"@id\":\"https://docs.yo-lead.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.yo-lead.com/embed/overview#webpage\",\"url\":\"https://docs.yo-lead.com/embed/overview\",\"name\":\"Embed overview\",\"description\":\"Embed YoLead chat UI inside your product.\",\"dateModified\":\"2026-07-27T10:55:13.775Z\",\"isPartOf\":{\"@id\":\"https://docs.yo-lead.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.yo-lead.com/embed/overview#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.yo-lead.com/embed/overview#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"YoLead Developers\",\"item\":\"https://docs.yo-lead.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Embed overview\",\"item\":\"https://docs.yo-lead.com/embed/overview\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.yo-lead.com/embed/overview#article\",\"headline\":\"Embed overview\",\"name\":\"Embed overview\",\"description\":\"Embed YoLead chat UI inside your product.\",\"url\":\"https://docs.yo-lead.com/embed/overview\",\"mainEntityOfPage\":{\"@id\":\"https://docs.yo-lead.com/embed/overview#webpage\"},\"dateModified\":\"2026-07-27T10:55:13.775Z\",\"publisher\":{\"@id\":\"https://docs.yo-lead.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.yo-lead.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"YoLead Developers\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"YoLead Developers\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/embed/overview.md","siteName":"YoLead Developers","nav":{"global":null,"groups":[{"group":"Start","pages":[{"title":"Introduction","href":"/introduction"},{"title":"Quickstart","href":"/quickstart"}]},{"group":"Integration basics","pages":[{"title":"Chats and tickets","href":"/concepts/chats-and-tickets"},{"title":"Ticket attribution","href":"/concepts/ticket-attribution"},{"title":"Message attachments","href":"/concepts/message-attachments"},{"title":"API keys","href":"/api-keys"},{"title":"Authentication","href":"/authentication"},{"title":"Errors","href":"/errors"}]},{"group":"Channels","pages":[{"title":"Telegram Bot","href":"/concepts/telegram-bot"},{"title":"Telegram Account","href":"/concepts/telegram-account"},{"title":"WhatsApp","href":"/concepts/whatsapp"},{"title":"MAX","href":"/concepts/max"},{"title":"VK","href":"/concepts/vk"},{"title":"Facebook Messenger","href":"/concepts/facebook"},{"title":"Instagram","href":"/concepts/instagram"},{"title":"Avito","href":"/concepts/avito"},{"title":"Email channel","href":"/concepts/email-channel"}]},{"group":"REST API","pages":[{"title":"REST overview","href":"/rest/overview"},{"group":"Employees","pages":[{"title":"List employees","deprecated":null,"version":null,"sidebarTitle":"List employees","openapi":"/openapi/public-api-v1.json get /v1/employees","href":"/api-reference/employees/list-employees"}]},{"group":"Embed","pages":[{"title":"Create embed session","deprecated":null,"version":null,"sidebarTitle":"Create embed session","openapi":"/openapi/public-api-v1.json post /v1/embed/sessions","href":"/api-reference/embed/create-embed-session"}]},{"group":"Tickets","pages":[{"title":"Get ticket history","deprecated":null,"version":null,"sidebarTitle":"Get ticket history","openapi":"/openapi/public-api-v1.json get /v1/tickets/{ticketId}/history","href":"/api-reference/tickets/get-ticket-history"},{"title":"Change ticket status","deprecated":null,"version":null,"sidebarTitle":"Change ticket status","openapi":"/openapi/public-api-v1.json patch /v1/tickets/{ticketId}/status","href":"/api-reference/tickets/change-ticket-status"},{"title":"Change ticket assignee","deprecated":null,"version":null,"sidebarTitle":"Change ticket assignee","openapi":"/openapi/public-api-v1.json patch /v1/tickets/{ticketId}/assignee","href":"/api-reference/tickets/change-ticket-assignee"}]},{"group":"Attachments","pages":[{"title":"Get attachment external URL","deprecated":null,"version":null,"sidebarTitle":"Get attachment external url","openapi":"/openapi/public-api-v1.json get /v1/attachments/{attachmentId}/external-url","href":"/api-reference/attachments/get-attachment-external-url"}]},{"group":"Contacts","pages":[{"title":"List contacts","deprecated":null,"version":null,"openapi":"/openapi/public-api-v1.json get /v1/contacts","href":"/api-reference/contacts/list-contacts"},{"title":"Create contact","deprecated":null,"version":null,"openapi":"/openapi/public-api-v1.json post /v1/contacts","href":"/api-reference/contacts/create-contact"},{"title":"Create contacts in bulk","deprecated":null,"version":null,"openapi":"/openapi/public-api-v1.json post /v1/contacts/bulk","href":"/api-reference/contacts/create-contacts-in-bulk"},{"title":"Delete contacts in bulk","deprecated":null,"version":null,"openapi":"/openapi/public-api-v1.json post /v1/contacts/bulk-delete","href":"/api-reference/contacts/delete-contacts-in-bulk"},{"title":"Merge contacts","deprecated":null,"version":null,"openapi":"/openapi/public-api-v1.json post /v1/contacts/{sourceContactId}/merge","href":"/api-reference/contacts/merge-contacts"},{"title":"Update contact","deprecated":null,"version":null,"openapi":"/openapi/public-api-v1.json patch /v1/contacts/{contactId}","href":"/api-reference/contacts/update-contact"},{"title":"Delete contact","deprecated":null,"version":null,"openapi":"/openapi/public-api-v1.json delete /v1/contacts/{contactId}","href":"/api-reference/contacts/delete-contact"},{"title":"Add contact to list","deprecated":null,"version":null,"openapi":"/openapi/public-api-v1.json post /v1/contacts/{contactId}/lists","href":"/api-reference/contacts/add-contact-to-list"},{"title":"Remove contact from list","deprecated":null,"version":null,"openapi":"/openapi/public-api-v1.json delete /v1/contacts/{contactId}/lists/{listId}","href":"/api-reference/contacts/remove-contact-from-list"}]},{"group":"Lists","pages":[{"title":"List contact lists","deprecated":null,"version":null,"openapi":"/openapi/public-api-v1.json get /v1/lists","href":"/api-reference/lists/list-contact-lists"},{"title":"Create contact list","deprecated":null,"version":null,"openapi":"/openapi/public-api-v1.json post /v1/lists","href":"/api-reference/lists/create-contact-list"},{"title":"Get contact list","deprecated":null,"version":null,"openapi":"/openapi/public-api-v1.json get /v1/lists/{listId}","href":"/api-reference/lists/get-contact-list"},{"title":"Update contact list","deprecated":null,"version":null,"openapi":"/openapi/public-api-v1.json patch /v1/lists/{listId}","href":"/api-reference/lists/update-contact-list"},{"title":"Delete contact list","deprecated":null,"version":null,"openapi":"/openapi/public-api-v1.json delete /v1/lists/{listId}","href":"/api-reference/lists/delete-contact-list"},{"title":"Add contacts to list in bulk","deprecated":null,"version":null,"openapi":"/openapi/public-api-v1.json post /v1/lists/{listId}/contacts","href":"/api-reference/lists/add-contacts-to-list-in-bulk"}]}]},{"group":"Webhooks","pages":[{"title":"Webhooks overview","href":"/webhooks/overview"},{"title":"Verifying signatures","href":"/webhooks/verifying-signatures"},{"title":"Events","description":"YoLead webhook event reference.","href":"/webhooks/events"}]},{"group":"Embed iframe","pages":[{"title":"Embed overview","href":"/embed/overview"},{"title":"Create a session","description":"Create an iframe session with the Public API.","href":"/embed/create-session"},{"title":"Capabilities","href":"/embed/capabilities"},{"title":"Examples","href":"/embed/examples"},{"title":"Iframe events","href":"/embed/events"}]},{"group":"Resources","pages":[{"title":"Changelog","href":"/changelog"}]}]},"basePath":"","title":"Embed overview - YoLead Developers","buildId":"dpl_715YoAgvjTGBDdo8RtXmHKM22b5p","deploymentId":"dpl_715YoAgvjTGBDdo8RtXmHKM22b5p","dynamics":[],"chunks":[]}