PageSourceSearch

https://chatspark.io/_next/static/chunks/app/(marketing)/docs/page-606537589568963f.js

js chatspark.io collected 2026-10-04 16:08:51 UTC 17,665 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9281],{57880:function(r,e,t){Promise.resolve().then(t.bind(t,26838))},7209:function(r,e,t){var n=t(55510).w_;r.exports.M=function(r){return n({tag:"svg",attr:{viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z",clipRule:"evenodd"}}]})(r)}},18231:function(r,e,t){var n=t(55510).w_;r.exports.T=function(r){return n({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M10 19l-7-7m0 0l7-7m-7 7h18"}}]})(r)}},765:function(r,e,t){var n=t(55510).w_;r.exports.m=function(r){return n({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M14 5l7 7m0 0l-7 7m7-7H3"}}]})(r)}},45328:function(r,e,t){var n=t(55510).w_;r.exports.g=function(r){return n({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z"}}]})(r)}},20137:function(r,e,t){var n=t(55510).w_;r.exports.S=function(r){return n({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 13l4 4L19 7"}}]})(r)}},57525:function(r,e,t){var n=t(55510).w_;r.exports.y=function(r){return n({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 5l7 7-7 7"}}]})(r)}},13489:function(r,e,t){var n=t(55510).w_;r.exports.Q=function(r){return n({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"}}]})(r)}},30578:function(r,e,t){var n=t(55510).w_;r.exports.X=function(r){return n({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"}}]})(r)}},8737:function(r,e,t){var n=t(55510).w_;r.exports.f=function(r){return n({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"}}]})(r)}},74470:function(r,e,t){var n=t(55510).w_;r.exports.V=function(r){return n({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"}}]})(r)}},81005:function(r,e,t){var n=t(55510).w_;r.exports.i=function(r){return n({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"}}]})(r)}},62013:function(r,e,t){var n=t(55510).w_;r.exports.W=function(r){return n({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.663 17h4.673M12 3v1m6.364 1.636l-.707.707M21 12h-1M4 12H3m3.343-5.657l-.707-.707m2.828 9.9a5 5 0 117.072 0l-.548.547A3.374 3.374 0 0014 18.469V19a2 2 0 11-4 0v-.531c0-.895-.356-1.754-.988-2.386l-.548-.547z"}}]})(r)}},85702:function(r,e,t){var n=t(55510).w_;r.exports.w=function(r){return n({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M13 10V3L4 14h7v7l9-11h-7z"}}]})(r)}},39137:function(r,e,t){var n=t(55510).w_;r.exports.a=function(r){return n({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M14.752 11.168l-3.197-2.132A1 1 0 0010 9.87v4.263a1 1 0 001.555.832l3.197-2.132a1 1 0 000-1.664z"}},{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 12a9 9 0 11-18 0 9 9 0 0118 0z"}}]})(r)}},6155:function(r,e,t){var n=t(55510).w_;r.exports.O=function(r){return n({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"}}]})(r)}},55510:function(r,e,t){"use strict";t.d(e,{w_:function(){return s}});var n=t(2265),o={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},i=n.createContext&&n.createContext(o),a=function(){return(a=Object.assign||function(r){for(var e,t=1,n=arguments.length;t<n;t++)for(var o in e=arguments[t])Object.prototype.hasOwnProperty.call(e,o)&&(r[o]=e[o]);return r}).apply(this,arguments)},c=function(r,e){var t={};for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&0>e.indexOf(n)&&(t[n]=r[n]);if(null!=r&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(r);o<n.length;o++)0>e.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(r,n[o])&&(t[n[o]]=r[n[o]]);return t};function s(r){return function(e){return n.createElement(u,a({attr:a({},r.attr)},e),function r(e){return e&&e.map(function(e,t){return n.createElement(e.tag,a({key:t},e.attr),r(e.child))})}(r.child))}}function u(r){var e=function(e){var t,o=r.attr,i=r.size,s=r.title,u=c(r,["attr","size","title"]),l=i||e.size||"1em";return e.className&&(t=e.className),r.className&&(t=(t?t+" ":"")+r.className),n.createElement("svg",a({stroke:"currentColor",fill:"
1currentColor",strokeWidth:"0"},e.attr,o,u,{className:t,style:a(a({color:r.color||e.color},e.style),r.style),height:l,width:l,xmlns:"http://www.w3.org/2000/svg"}),s&&n.createElement("title",null,s),r.children)};return void 0!==i?n.createElement(i.Consumer,null,function(r){return e(r)}):e(o)}},27648:function(r,e,t){"use strict";t.d(e,{default:function(){return o.a}});var n=t(72972),o=t.n(n)},99376:function(r,e,t){"use strict";var n=t(35475);t.o(n,"useParams")&&t.d(e,{useParams:function(){return n.useParams}}),t.o(n,"usePathname")&&t.d(e,{usePathname:function(){return n.usePathname}}),t.o(n,"useRouter")&&t.d(e,{useRouter:function(){return n.useRouter}}),t.o(n,"useSearchParams")&&t.d(e,{useSearchParams:function(){return n.useSearchParams}})},71931:function(r,e,t){"use strict";t.d(e,{Nr:function(){return a}});var n=t(2265);function o(r,e){return r===e}function i(r){return"function"==typeof r?function(){return r}:r}function a(r,e,t){var a,c,s=t&&t.equalityFn||o,u=(c=(a=(0,n.useState)(i(r)))[1],[a[0],(0,n.useCallback)(function(r){return c(i(r))},[])]),l=u[0],d=u[1],p=function(r,e,t){var o=this,i=(0,n.useRef)(null),a=(0,n.useRef)(0),c=(0,n.useRef)(null),s=(0,n.useRef)([]),u=(0,n.useRef)(),l=(0,n.useRef)(),d=(0,n.useRef)(r),p=(0,n.useRef)(!0);(0,n.useEffect)(function(){d.current=r},[r]);var f=!e&&0!==e&&"undefined"!=typeof window;if("function"!=typeof r)throw TypeError("Expected a function");e=+e||0;var h=!!(t=t||{}).leading,g=!("trailing"in t)||!!t.trailing,x="maxWait"in t,m=x?Math.max(+t.maxWait||0,e):null;return(0,n.useEffect)(function(){return p.current=!0,function(){p.current=!1}},[]),(0,n.useMemo)(function(){var r=function(r){var e=s.current,t=u.current;return s.current=u.current=null,a.current=r,l.current=d.current.apply(t,e)},t=function(r,e){f&&cancelAnimationFrame(c.current),c.current=f?requestAnimationFrame(r):setTimeout(r,e)},n=function(r){if(!p.current)return!1;var t=r-i.current;return!i.current||t>=e||t<0||x&&r-a.current>=m},b=function(e){return c.current=null,g&&s.current?r(e):(s.current=u.current=null,l.current)},v=function r(){var o=Date.now();if(n(o))return b(o);if(p.current){var c=e-(o-i.current);t(r,x?Math.min(c,m-(o-a.current)):c)}},k=function(){var d=Date.now(),f=n(d);if(s.current=[].slice.call(arguments),u.current=o,i.current=d,f){if(!c.current&&p.current)return a.current=i.current,t(v,e),h?r(i.current):l.current;if(x)return t(v,e),r(i.current)}return c.current||t(v,e),l.current};return k.cancel=function(){c.current&&(f?cancelAnimationFrame(c.current):clearTimeout(c.current)),a.current=0,s.current=i.current=u.current=c.current=null},k.isPending=function(){return!!c.current},k.flush=function(){return c.current?b(Date.now()):l.current},k},[h,x,e,m,g,f])}((0,n.useCallback)(function(r){return d(r)},[d]),e,t),f=(0,n.useRef)(r);return s(f.current,r)||(p(r),f.current=r),[l,p]}},26838:function(r,e,t){"use strict";var n=t(57437),o=t(21183),i=t(60373),a=t(85322),c=t(39292),s=t(85702),u=t(39137),l=t(45328),d=t(12833);let p=[{title:"Getting Started",description:"Set up your first AI agent in under 5 minutes with our step-by-step guide.",href:"/docs/getting-started",icon:u.a,subtitle:"5 min read",accentColor:"blue"},{title:"How ChatSpark Works",description:"Discover the ChatSpark AI Engine and how it delivers 80%+ resolution rates.",href:"/docs/how-chatspark-works",icon:s.w,subtitle:"8 min read",accentColor:"purple"},{title:"AI Agents",description:"Learn about agent capabilities, customization, and best practices.",href:"/docs/ai-agents",icon:l.g,subtitle:"10 min read",accentColor:"green"}],f=[{title:"Training Your Agent",description:"Add knowledge from files, websites, and text to make your agent smarter.",href:"/docs/training-your-agent"},{title:"Lead Capture",description:"Automatically capture and qualify leads with AI-powered forms.",href:"/docs/lead-capture"},{title:"Conversations",description:"View, search, and manage all customer conversations.",href:"/docs/conversations"},{title:"Integrations",description:"Connect to WhatsApp, Messenger, Slack, and 5000+ apps via Zapier.",href:"/docs/integrations"},{title:"ChatSpark CoPilot",description:"AI assistant sidebar for Gmail, Zendesk, Salesforce, and any web app your team uses.",href:"/docs/copilot"},{title:"Analytics & Dashboard",description:"Track performance, identify knowledge gaps, and measure ROI.",href:"/docs/analytics"},{title:"Security & Privacy",description:"Enterprise-grade security and data protection practices.",href:"/docs/security-and-privacy"}];e.default=()=>(0,n.jsxs)(o.Box,{children:[(0,n.jsx)(d.UH,{title:"ChatSpark Documentation",description:"Everything you need to build, train, and deploy AI-powered customer service agents. From quick start guides to advanced features."}),(0,n.jsxs)(o.Box,{mb:12,children:[(0,n.jsx)(i.Text,{fontSize:"13px",fontWeight:600,color:"gray.500",textTransform:"uppercase",letterSpacing:"0.06em",mb:4,children:"Qu
1ick Start"}),(0,n.jsx)(a.SimpleGrid,{columns:{base:1,md:2},spacing:4,children:p.map(r=>(0,n.jsx)(d.CU,{title:r.title,description:r.description,href:r.href,icon:r.icon,subtitle:r.subtitle,accentColor:r.accentColor},r.href))})]}),(0,n.jsxs)(o.Box,{mb:12,children:[(0,n.jsx)(i.Text,{fontSize:"13px",fontWeight:600,color:"gray.500",textTransform:"uppercase",letterSpacing:"0.06em",mb:4,children:"Explore Features"}),(0,n.jsx)(a.SimpleGrid,{columns:{base:1,md:2},spacing:4,children:f.map(r=>(0,n.jsx)(d.CU,{title:r.title,description:r.description,href:r.href},r.href))})]}),(0,n.jsx)(o.Box,{bg:"gray.50",borderRadius:"12px",p:6,border:"1px solid",borderColor:"gray.200",children:(0,n.jsxs)(c.VStack,{spacing:1,align:"start",children:[(0,n.jsx)(i.Text,{fontSize:"18px",lineHeight:2,fontWeight:600,color:"gray.900",children:"Need Help?"}),(0,n.jsx)(i.Text,{fontSize:"15px",color:"gray.600",lineHeight:1.7,children:"Can't find what you're looking for? Our Help Center AI Agent is available 24/7 in your dashboard. Just click the chat icon to get instant answers about any ChatSpark feature or question."})]})})]})},12833:function(r,e,t){"use strict";t.d(e,{pB:function(){return C},dn:function(){return w.default},ns:function(){return x},CU:function(){return m.default},s2:function(){return b.default},UH:function(){return d},gQ:function(){return v.default},Ad:function(){return n.default},Gz:function(){return k.default},mG:function(){return S},u3:function(){return y.default}});var n=t(61072),o=t(66238),i=t(57437),a=t(21183),c=t(35331),s=t(60373),u=t(40006),l=t(30578),d=r=>{let{title:e,description:t,readingTime:n,lastUpdated:d,breadcrumb:p}=r;return(0,i.jsxs)(a.Box,{mb:8,children:[p&&(0,i.jsx)(o.default,{items:p}),(0,i.jsx)(c.Heading,{as:"h1",fontSize:{base:"32px",md:"40px",lg:"48px"},fontWeight:700,letterSpacing:"-1px",lineHeight:1.2,color:"gray.900",mb:4,children:e}),t&&(0,i.jsx)(s.Text,{fontSize:{base:"16px",md:"18px"},color:"gray.600",lineHeight:1.7,maxW:"720px",mb:4,children:t}),(n||d)&&(0,i.jsxs)(u.HStack,{spacing:4,color:"gray.500",fontSize:"14px",children:[n&&(0,i.jsxs)(u.HStack,{spacing:1,children:[(0,i.jsx)(l.X,{size:16}),(0,i.jsxs)(s.Text,{children:[n," min read"]})]}),d&&(0,i.jsxs)(s.Text,{children:["Updated ",d]})]})]})},p=t(62013),f=t(8737),h=t(81005);let g={tip:{bg:"blue.50",borderColor:"blue.400",iconColor:"blue.500",Icon:p.W,title:"Tip"},warning:{bg:"orange.50",borderColor:"orange.400",iconColor:"orange.500",Icon:f.f,title:"Warning"},info:{bg:"gray.50",borderColor:"gray.400",iconColor:"gray.500",Icon:h.i,title:"Note"}};var x=r=>{let{type:e="info",title:t,children:n}=r,o=g[e]||g.info,{Icon:c}=o,s=t||o.title;return(0,i.jsxs)(a.Box,{bg:o.bg,borderLeft:"3px solid",borderColor:o.borderColor,borderRadius:"4px",pt:3,pb:3,pl:4,pr:4,my:6,children:[(0,i.jsxs)(u.HStack,{spacing:2,mb:n?2:0,align:"center",children:[(0,i.jsx)(a.Box,{color:o.iconColor,flexShrink:0,children:(0,i.jsx)(c,{size:18})}),(0,i.jsx)(a.Box,{fontWeight:600,color:"gray.800",fontSize:"15px",lineHeight:"1.4",children:s})]}),n&&(0,i.jsx)(a.Box,{pl:7,color:"gray.700",fontSize:"15px",lineHeight:1.7,children:n})]})},m=t(92785),b=t(54700),v=t(31684),k=t(26996);t(25723),t(73819),t(53093);var y=t(46035);t(66574);var w=t(77625);let j={GET:{bg:"green.50",color:"green.700",border:"green.200"},POST:{bg:"blue.50",color:"blue.700",border:"blue.200"},PUT:{bg:"blue.50",color:"blue.700",border:"blue.200"},PATCH:{bg:"orange.50",color:"orange.700",border:"orange.200"},DELETE:{bg:"red.50",color:"red.700",border:"red.200"}};var C=r=>{let{method:e,endpoint:t,plan:n}=r,o=(e||"GET").toUpperCase(),c=j[o]||j.GET,l=t.split(/(\{[^}]+\})/g);return(0,i.jsxs)(u.HStack,{spacing:3,bg:"gray.50",border:"1px solid",borderColor:"gray.200",borderRadius:"8px",px:4,py:3,mb:6,flexWrap:"wrap",children:[(0,i.jsx)(a.Box,{as:"span",px:2.5,py:1,borderRadius:"6px",fontSize:"12px",fontWeight:700,letterSpacing:"0.03em",bg:c.bg,color:c.color,lineHeight:"1",flexShrink:0,children:o}),(0,i.jsx)(s.Text,{fontFamily:"'SF Mono', 'Fira Code', Menlo, Consolas, monospace",fontSize:"14px",color:"gray.800",wordBreak:"break-all",children:l.map((r,e)=>r.startsWith("{")?(0,i.jsx)(a.Box,{as:"span",color:"blue.500",children:r},e):(0,i.jsx)(a.Box,{as:"span",children:r},e))}),n&&(0,i.jsx)(a.Box,{as:"span",ml:"auto",px:2,py:.5,borderRadius:"4px",fontSize:"11px",fontWeight:500,bg:"gray.100",color:"gray.600",letterSpacing:"0.02em",flexShrink:0,children:n})]})},S=r=>{let{params:e=[]}=r;return 0===e.length?null:(0,i.jsx)(a.Box,{overflowX:"auto",my:6,children:(0,i.jsxs)(a.Box,{as:"table",w:"100%",sx:{borderCollapse:"collapse"},children:[(0,i.jsx)(a.Box,{as:"thead",children:(0,i.jsx)(a.Box,{as:"tr",children:["Name","Type","Required","Description"].map(r=>(0,i.jsx)(a.Box,{as:"th",textAlign:"left",pb:3,pr:4,fontSize:"11px",fontWeight:600,textTransform:"uppercase",letterSpacing:"0.06em",color:"gray.400",borderBottom:"1px solid",borderColor:"gray.100",children:r},r))})}),(0,i.jsx)(a.Box,{as:"tbody",children:e.map((r,e)=>(0,i.jsxs)(a.Box,{as:"tr",transition:"background 0.1s ease",_hover:{bg:"gray.50"},children:[(0,i.jsx)(a.Box,{as:"td",py:3,pr:4,fontFamily:"'SF Mono', 'Fira Code', Menlo, Consolas, monospace",fontSize:"13px",fontWeight:600,color:"gray.900",borderBottom:"1px solid",borderColor:"gray.100",whiteSpace:"nowrap",children:r.name}),(0,i.jsx)(a.Box,{as:"td",py:3,pr:4,borderBottom:"1px solid",borderColor:"gray.100",children:(0,i.jsx)(a.Box,{as:"span",px:2,py:.5,borderRadius:"4px",fontSize:"12px",fontWeight:500,bg:"gray.100",color:"gray.700",whiteSpace:"nowrap",children:r.type})}),(0,i.jsx)(a.Box,{as:"td",py:3,pr:4,borderBottom:"1px solid",borderColor:"gray.100",children:r.required&&(0,i.jsx)(a.Box,{as:"span",px:2,py:.5,borderRadius:"4px",fontSize:"11px",fontWeight:600,bg:"red.50",color:"red.600",children:"Required"})}),(0,i.jsx)(a.Box,{as:"td",py:3,borderBottom:"1px solid",borderColor:"gray.100",children:(0,i.jsx)(s.Text,{fontSize:"14px",color:"gray.600",lineHeight:1.5,children:r.description})})]},e))})]})})}}},function(r){r.O(0,[2071,4496,7834,5839,1465,7929,1270,7560,3808,5001,8405,5692,7075,9285,5075,5925,7771,2972,6802,4462,2971,2117,1744],function(){return r(r.s=57880)}),_N_E=r.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.