[{"data":1,"prerenderedAt":1263},["ShallowReactive",2],{"navigation_docs":3,"-belong-checkin-developer-api-reference":354,"-belong-checkin-developer-api-reference-surround":1258},[4,14,146,163,170,176,183,248,255],{"title":5,"path":6,"page":7,"children":8},"Start here","\u002Fgetting-started",false,[9],{"title":10,"path":11,"stem":12,"icon":13},"Public products","\u002Fgetting-started\u002Fintroduction","1.getting-started\u002F1.introduction","i-lucide-compass",{"title":15,"path":16,"page":7,"children":17,"icon":61},"Belong CheckIn","\u002Fbelong-checkin",[18,22,27,32,37,42,47,52,57,62,67,71,76,81,86,91,96,100,105],{"title":19,"path":16,"stem":20,"icon":21},"Overview","3.belong-checkin\u002Findex","i-lucide-map-pin",{"title":23,"path":24,"stem":25,"icon":26},"App Features","\u002Fbelong-checkin\u002Fapp-features","3.belong-checkin\u002F1.app-features","i-lucide-list-checks",{"title":28,"path":29,"stem":30,"icon":31},"Telegram Bot","\u002Fbelong-checkin\u002Ftelegram-bot","3.belong-checkin\u002F10.telegram-bot","i-lucide-send",{"title":33,"path":34,"stem":35,"icon":36},"Apple Wallet","\u002Fbelong-checkin\u002Fapple-wallet","3.belong-checkin\u002F11.apple-wallet","i-lucide-ticket",{"title":38,"path":39,"stem":40,"icon":41},"Payments","\u002Fbelong-checkin\u002Fpayments-and-onramp","3.belong-checkin\u002F12.payments-and-onramp","i-lucide-credit-card",{"title":43,"path":44,"stem":45,"icon":46},"Sponsored Gas","\u002Fbelong-checkin\u002Fsponsored-gas","3.belong-checkin\u002F13.sponsored-gas","i-lucide-fuel",{"title":48,"path":49,"stem":50,"icon":51},"Fees & Staking","\u002Fbelong-checkin\u002Ffees-and-staking","3.belong-checkin\u002F14.fees-and-staking","i-lucide-percent",{"title":53,"path":54,"stem":55,"icon":56},"Connect AI Deploy","\u002Fbelong-checkin\u002Fconnect-ai-deploy","3.belong-checkin\u002F15.connect-ai-deploy","i-lucide-bot",{"title":58,"path":59,"stem":60,"icon":61},"QR Signage Examples","\u002Fbelong-checkin\u002Fvenue-qr-signage-examples","3.belong-checkin\u002F16.venue-qr-signage-examples","i-lucide-qr-code",{"title":63,"path":64,"stem":65,"icon":66},"Whitepaper","\u002Fbelong-checkin\u002Fwhitepaper","3.belong-checkin\u002F18.whitepaper","i-lucide-file-text",{"title":68,"path":69,"stem":70,"icon":61},"Check-In Modes","\u002Fbelong-checkin\u002Fcheck-in-modes","3.belong-checkin\u002F2.check-in-modes",{"title":72,"path":73,"stem":74,"icon":75},"Venue Quick Start","\u002Fbelong-checkin\u002Fvenue-quickstart","3.belong-checkin\u002F3.venue-quickstart","i-lucide-store",{"title":77,"path":78,"stem":79,"icon":80},"Customer Rewards","\u002Fbelong-checkin\u002Fcustomer_rewards_guide","3.belong-checkin\u002F4.customer_rewards_guide","i-lucide-gift",{"title":82,"path":83,"stem":84,"icon":85},"Promoter Earnings","\u002Fbelong-checkin\u002Fpromoter-earnings-guide","3.belong-checkin\u002F5.promoter-earnings-guide","i-lucide-wallet",{"title":87,"path":88,"stem":89,"icon":90},"Venue Partner","\u002Fbelong-checkin\u002Fvenue-partner","3.belong-checkin\u002F6.venue-partner","i-lucide-building",{"title":92,"path":93,"stem":94,"icon":95},"Event Creation","\u002Fbelong-checkin\u002Fevent-creation","3.belong-checkin\u002F7.event-creation","i-lucide-calendar-plus",{"title":97,"path":98,"stem":99,"icon":85},"Wallet & Sign-In","\u002Fbelong-checkin\u002Fwallet-and-auth","3.belong-checkin\u002F8.wallet-and-auth",{"title":101,"path":102,"stem":103,"icon":104},"AI & Voice","\u002Fbelong-checkin\u002Fai-and-voice","3.belong-checkin\u002F9.ai-and-voice","i-lucide-mic",{"title":106,"path":107,"page":7,"children":108},"Developer integration","\u002Fbelong-checkin\u002Fdeveloper",[109,112,117,122,126,131,136,141],{"title":15,"path":110,"stem":111,"icon":21},"\u002Fguides\u002Fcrypto\u002Fcheckin","2.guides\u002F1.crypto\u002FcheckIn",{"title":113,"path":114,"stem":115,"icon":116},"Integration Overview","\u002Fbelong-checkin\u002Fdeveloper\u002Fintegration-overview","3.belong-checkin\u002F19.developer\u002F1.integration-overview","i-lucide-plug",{"title":118,"path":119,"stem":120,"icon":121},"API Reference","\u002Fbelong-checkin\u002Fdeveloper\u002Fapi-reference","3.belong-checkin\u002F19.developer\u002F2.api-reference","i-lucide-book-open-text",{"title":123,"path":124,"stem":125,"icon":56},"MCP Tools","\u002Fbelong-checkin\u002Fdeveloper\u002Fmcp-tools","3.belong-checkin\u002F19.developer\u002F3.mcp-tools",{"title":127,"path":128,"stem":129,"icon":130},"Networks","\u002Fbelong-checkin\u002Fdeveloper\u002Fnetworks","3.belong-checkin\u002F19.developer\u002F4.networks","i-lucide-network",{"title":132,"path":133,"stem":134,"icon":135},"Enterprise Apps","\u002Fbelong-checkin\u002Fdeveloper\u002Fenterprise-whitelabel","3.belong-checkin\u002F19.developer\u002F5.enterprise-whitelabel","i-lucide-package",{"title":137,"path":138,"stem":139,"icon":140},"POS & Events","\u002Fbelong-checkin\u002Fdeveloper\u002Fwebhooks-and-pos","3.belong-checkin\u002F19.developer\u002F6.webhooks-and-pos","i-lucide-receipt",{"title":142,"path":143,"stem":144,"icon":145},"NFT Checkout","\u002Fbelong-checkin\u002Fdeveloper\u002Fnft-checkout","3.belong-checkin\u002F19.developer\u002F7.nft-checkout","i-lucide-shopping-cart",{"title":147,"path":148,"page":7,"children":149,"icon":152},"Belong Platform","\u002Fbelong-platform",[150,153,158],{"title":19,"path":148,"stem":151,"icon":152},"6.belong-platform\u002Findex","i-lucide-panels-top-left",{"title":154,"path":155,"stem":156,"icon":157},"Media Upload","\u002Fguides\u002Fmedia\u002Fcollection","2.guides\u002F2.media\u002Fcollection","i-lucide-image",{"title":159,"path":160,"stem":161,"icon":162},"Whitelabel","\u002Fguides\u002Fwhitelabel","2.guides\u002F5.whitelabel","i-lucide-badge-check",{"title":164,"path":165,"page":7,"children":166,"icon":169},"Belong Events","\u002Fbelong-events",[167],{"title":19,"path":165,"stem":168,"icon":169},"7.belong-events\u002Findex","i-lucide-calendar-days",{"title":171,"path":172,"page":7,"children":173,"icon":56},"LONG Events","\u002Flong-events",[174],{"title":19,"path":172,"stem":175,"icon":56},"8.long-events\u002Findex",{"title":177,"path":178,"page":7,"children":179,"icon":182},"Crypto Events","\u002Fcrypto-events",[180],{"title":19,"path":178,"stem":181,"icon":182},"9.crypto-events\u002Findex","i-lucide-globe",{"title":184,"path":185,"page":7,"children":186,"icon":189},"AI Deploy","\u002Fai-deploy\u002Foverview",[187,190,195,200,205,210,228,233,238,243],{"title":19,"path":185,"stem":188,"icon":189},"5.ai-deploy\u002F1.overview","i-lucide-rocket",{"title":191,"path":192,"stem":193,"icon":194},"Open Source","\u002Fai-deploy\u002Fopen-source","5.ai-deploy\u002F10.open-source","i-lucide-github",{"title":196,"path":197,"stem":198,"icon":199},"Quick Start","\u002Fai-deploy\u002Fquickstart","5.ai-deploy\u002F2.quickstart","i-lucide-zap",{"title":201,"path":202,"stem":203,"icon":204},"Cloud Providers","\u002Fai-deploy\u002Fcloud-providers","5.ai-deploy\u002F3.cloud-providers","i-lucide-cloud",{"title":206,"path":207,"stem":208,"icon":209},"AI Providers","\u002Fai-deploy\u002Fai-providers","5.ai-deploy\u002F4.ai-providers","i-lucide-brain",{"title":211,"path":212,"page":7,"children":213},"Channels","\u002Fai-deploy\u002Fchannels",[214,218,223],{"title":215,"path":216,"stem":217,"icon":31},"Telegram","\u002Fai-deploy\u002Fchannels\u002Ftelegram","5.ai-deploy\u002F5.channels\u002F1.telegram",{"title":219,"path":220,"stem":221,"icon":222},"WhatsApp","\u002Fai-deploy\u002Fchannels\u002Fwhatsapp","5.ai-deploy\u002F5.channels\u002F2.whatsapp","i-lucide-message-circle",{"title":224,"path":225,"stem":226,"icon":227},"Slack","\u002Fai-deploy\u002Fchannels\u002Fslack","5.ai-deploy\u002F5.channels\u002F3.slack","i-lucide-hash",{"title":229,"path":230,"stem":231,"icon":232},"Private Access","\u002Fai-deploy\u002Fprivate-access","5.ai-deploy\u002F6.private-access","i-lucide-shield",{"title":234,"path":235,"stem":236,"icon":237},"Troubleshooting","\u002Fai-deploy\u002Ftroubleshooting","5.ai-deploy\u002F7.troubleshooting","i-lucide-wrench",{"title":239,"path":240,"stem":241,"icon":242},"Enterprise & API","\u002Fai-deploy\u002Fenterprise-api","5.ai-deploy\u002F8.enterprise-api","i-lucide-server-cog",{"title":244,"path":245,"stem":246,"icon":247},"OVHcloud","\u002Fai-deploy\u002Fovhcloud","5.ai-deploy\u002F9.ovhcloud","i-lucide-cloud-cog",{"title":249,"path":250,"page":7,"children":251,"icon":254},"Hexagon MM","\u002Fhexagon-mm",[252],{"title":19,"path":250,"stem":253,"icon":254},"10.hexagon-mm\u002Findex","i-lucide-chart-no-axes-combined",{"title":256,"path":257,"page":7,"children":258,"icon":261},"Belong API & Docs","\u002Fdeveloper-platform",[259,262,282,311],{"title":19,"path":257,"stem":260,"icon":261},"11.developer-platform\u002Findex","i-lucide-code-xml",{"title":263,"path":6,"page":7,"children":264},"API, SDK & contracts",[265,269,273,277],{"title":266,"path":267,"stem":268,"icon":121},"API","\u002Fgetting-started\u002Fapi-docs","1.getting-started\u002F2.api-docs",{"title":270,"path":271,"stem":272,"icon":56},"MCP","\u002Fgetting-started\u002Fmcp","1.getting-started\u002F3.mcp",{"title":274,"path":275,"stem":276,"icon":261},"SDK","\u002Fgetting-started\u002Fsdk","1.getting-started\u002F4.sdk",{"title":278,"path":279,"stem":280,"icon":281},"Smart Contract","\u002Fgetting-started\u002Fcontracts","1.getting-started\u002F5.contracts","i-lucide-clock",{"title":283,"path":284,"page":7,"children":285},"Contract guides","\u002Fguides\u002Fcrypto",[286,291,294,298,303,307],{"title":287,"path":288,"stem":289,"icon":290},"EVM NFT Minting","\u002Fguides\u002Fcrypto\u002Fminting","2.guides\u002F1.crypto\u002Fminting","i-lucide-box",{"title":43,"path":292,"stem":293,"icon":85},"\u002Fguides\u002Fcrypto\u002Fsponsorship","2.guides\u002F1.crypto\u002Fsponsorship",{"title":295,"path":296,"stem":297,"icon":290},"LONG Staking","\u002Fguides\u002Fcrypto\u002Fstaking","2.guides\u002F1.crypto\u002Fstaking",{"title":299,"path":300,"stem":301,"icon":302},"Starknet NFT Minting","\u002Fguides\u002Fcrypto\u002Fstarknet","2.guides\u002F1.crypto\u002Fstarknet","i-lucide-circuit-board",{"title":304,"path":305,"stem":306,"icon":290},"Sui NFT Minting","\u002Fguides\u002Fcrypto\u002Fsui","2.guides\u002F1.crypto\u002Fsui",{"title":308,"path":309,"stem":310,"icon":281},"LONG Vesting","\u002Fguides\u002Fcrypto\u002Fvesting","2.guides\u002F1.crypto\u002Fvesting",{"title":312,"path":313,"page":7,"children":314},"MCP tool reference","\u002Fmcp",[315,318,322,326,330,334,338,342,346,350],{"title":19,"path":316,"stem":317,"icon":56},"\u002Fmcp\u002Foverview","4.mcp\u002Foverview",{"title":319,"path":320,"stem":321,"icon":56},"Addresses","\u002Fmcp\u002Ftools-addresses","4.mcp\u002Ftools-addresses",{"title":323,"path":324,"stem":325,"icon":56},"CheckIn","\u002Fmcp\u002Ftools-check-in","4.mcp\u002Ftools-check-In",{"title":327,"path":328,"stem":329,"icon":56},"Events","\u002Fmcp\u002Ftools-events","4.mcp\u002Ftools-events",{"title":331,"path":332,"stem":333,"icon":56},"Hubs","\u002Fmcp\u002Ftools-hubs","4.mcp\u002Ftools-hubs",{"title":335,"path":336,"stem":337,"icon":290},"Minting","\u002Fmcp\u002Ftools-minting","4.mcp\u002Ftools-minting",{"title":339,"path":340,"stem":341,"icon":56},"Notes","\u002Fmcp\u002Ftools-notes","4.mcp\u002Ftools-notes",{"title":343,"path":344,"stem":345,"icon":56},"Registration","\u002Fmcp\u002Ftools-registration","4.mcp\u002Ftools-registration",{"title":347,"path":348,"stem":349,"icon":56},"Starknet","\u002Fmcp\u002Ftools-starknet","4.mcp\u002Ftools-starknet",{"title":351,"path":352,"stem":353,"icon":281},"Vesting","\u002Fmcp\u002Ftools-vesting","4.mcp\u002Ftools-vesting",{"id":355,"title":118,"body":356,"description":1251,"extension":1252,"links":1253,"meta":1254,"navigation":1255,"path":119,"seo":1256,"stem":120,"__hash__":1257},"docs\u002F3.belong-checkin\u002F19.developer\u002F2.api-reference.md",{"type":357,"value":358,"toc":1239},"minimark",[359,369,373,382,385,388,392,399,402,412,625,843,846,851,858,865,963,966,971,974,981,1038,1043,1046,1053,1097,1101,1131,1135,1207,1214,1218,1235],[360,361],"doc-figure",{":height":362,":width":363,"alt":364,"caption":365,"placement":366,"source-url":367,"src":368},"450","800","Developer tools and digital assets beside Ship Faster with Belong.","Use authenticated API requests from a trusted backend and follow the documented inputs and responses.","lead","https:\u002F\u002Ft.me\u002Fbelongnet\u002F362","\u002Fmedia\u002Fsocial\u002Fbuild-with-belong.webp",[370,371,19],"h2",{"id":372},"overview",[374,375,376,377,381],"p",{},"Belong CheckIn's app backend exposes serverless functions that handle AI chat, audio transcription, and MCP tool discovery. They complement the core ",[378,379,380],"a",{"href":267},"Belong REST API","; this page documents the CheckIn-specific functions.",[374,383,384],{},"Use this reference when extending the CheckIn app's assistant or voice experience. For example, an audio message is transcribed before its text can enter the chat workflow. These functions use an app-session bearer token; the core Belong REST API has its own API-key authentication described in the integration guide.",[374,386,387],{},"All functions enable CORS and validate the caller's app session.",[370,389,391],{"id":390},"edge-functions","Edge functions",[393,394,396],"h3",{"id":395},"chat-with-claude",[397,398,395],"code",{},[374,400,401],{},"Processes a user message through the AI assistant with MCP tool integration.",[374,403,404,408,409],{},[405,406,407],"strong",{},"Endpoint:"," ",[397,410,411],{},"POST \u002Ffunctions\u002Fv1\u002Fchat-with-claude",[413,414,419],"pre",{"className":415,"code":416,"language":417,"meta":418,"style":418},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","interface ChatRequest {\n  roomId: string\n  message: string\n  messageId: string\n  model?: string\n  useMCP?: boolean\n  aiProvider?: string\n  audioData?: boolean\n  imageData?: boolean\n  textContent?: string\n  originalType?: string\n}\n\ninterface ChatResponse {\n  success: boolean\n  message?: string\n  tool_results?: ToolResult[]\n  session_id?: string\n  error?: string\n}\n","ts","",[397,420,421,438,451,461,471,482,493,503,513,523,533,543,549,556,566,576,585,600,610,620],{"__ignoreMap":418},[422,423,426,430,434],"span",{"class":424,"line":425},"line",1,[422,427,429],{"class":428},"spNyl","interface",[422,431,433],{"class":432},"sBMFI"," ChatRequest",[422,435,437],{"class":436},"sMK4o"," {\n",[422,439,441,445,448],{"class":424,"line":440},2,[422,442,444],{"class":443},"swJcz","  roomId",[422,446,447],{"class":436},":",[422,449,450],{"class":432}," string\n",[422,452,454,457,459],{"class":424,"line":453},3,[422,455,456],{"class":443},"  message",[422,458,447],{"class":436},[422,460,450],{"class":432},[422,462,464,467,469],{"class":424,"line":463},4,[422,465,466],{"class":443},"  messageId",[422,468,447],{"class":436},[422,470,450],{"class":432},[422,472,474,477,480],{"class":424,"line":473},5,[422,475,476],{"class":443},"  model",[422,478,479],{"class":436},"?:",[422,481,450],{"class":432},[422,483,485,488,490],{"class":424,"line":484},6,[422,486,487],{"class":443},"  useMCP",[422,489,479],{"class":436},[422,491,492],{"class":432}," boolean\n",[422,494,496,499,501],{"class":424,"line":495},7,[422,497,498],{"class":443},"  aiProvider",[422,500,479],{"class":436},[422,502,450],{"class":432},[422,504,506,509,511],{"class":424,"line":505},8,[422,507,508],{"class":443},"  audioData",[422,510,479],{"class":436},[422,512,492],{"class":432},[422,514,516,519,521],{"class":424,"line":515},9,[422,517,518],{"class":443},"  imageData",[422,520,479],{"class":436},[422,522,492],{"class":432},[422,524,526,529,531],{"class":424,"line":525},10,[422,527,528],{"class":443},"  textContent",[422,530,479],{"class":436},[422,532,450],{"class":432},[422,534,536,539,541],{"class":424,"line":535},11,[422,537,538],{"class":443},"  originalType",[422,540,479],{"class":436},[422,542,450],{"class":432},[422,544,546],{"class":424,"line":545},12,[422,547,548],{"class":436},"}\n",[422,550,552],{"class":424,"line":551},13,[422,553,555],{"emptyLinePlaceholder":554},true,"\n",[422,557,559,561,564],{"class":424,"line":558},14,[422,560,429],{"class":428},[422,562,563],{"class":432}," ChatResponse",[422,565,437],{"class":436},[422,567,569,572,574],{"class":424,"line":568},15,[422,570,571],{"class":443},"  success",[422,573,447],{"class":436},[422,575,492],{"class":432},[422,577,579,581,583],{"class":424,"line":578},16,[422,580,456],{"class":443},[422,582,479],{"class":436},[422,584,450],{"class":432},[422,586,588,591,593,596],{"class":424,"line":587},17,[422,589,590],{"class":443},"  tool_results",[422,592,479],{"class":436},[422,594,595],{"class":432}," ToolResult",[422,597,599],{"class":598},"sTEyZ","[]\n",[422,601,603,606,608],{"class":424,"line":602},18,[422,604,605],{"class":443},"  session_id",[422,607,479],{"class":436},[422,609,450],{"class":432},[422,611,613,616,618],{"class":424,"line":612},19,[422,614,615],{"class":443},"  error",[422,617,479],{"class":436},[422,619,450],{"class":432},[422,621,623],{"class":424,"line":622},20,[422,624,548],{"class":436},[413,626,628],{"className":415,"code":627,"language":417,"meta":418,"style":418},"const response = await fetch('https:\u002F\u002F\u003Capp-host>\u002Ffunctions\u002Fv1\u002Fchat-with-claude', {\n  method: 'POST',\n  headers: {\n    'Content-Type': 'application\u002Fjson',\n    Authorization: `Bearer ${sessionToken}`,\n  },\n  body: JSON.stringify({\n    roomId: 'room-123',\n    message: 'Create an NFT event for a music concert',\n    messageId: 'msg-456',\n    useMCP: true,\n  }),\n})\n",[397,629,630,666,684,693,714,738,743,764,780,796,812,825,835],{"__ignoreMap":418},[422,631,632,635,638,641,645,649,652,655,659,661,664],{"class":424,"line":425},[422,633,634],{"class":428},"const",[422,636,637],{"class":598}," response ",[422,639,640],{"class":436},"=",[422,642,644],{"class":643},"s7zQu"," await",[422,646,648],{"class":647},"s2Zo4"," fetch",[422,650,651],{"class":598},"(",[422,653,654],{"class":436},"'",[422,656,658],{"class":657},"sfazB","https:\u002F\u002F\u003Capp-host>\u002Ffunctions\u002Fv1\u002Fchat-with-claude",[422,660,654],{"class":436},[422,662,663],{"class":436},",",[422,665,437],{"class":436},[422,667,668,671,673,676,679,681],{"class":424,"line":440},[422,669,670],{"class":443},"  method",[422,672,447],{"class":436},[422,674,675],{"class":436}," '",[422,677,678],{"class":657},"POST",[422,680,654],{"class":436},[422,682,683],{"class":436},",\n",[422,685,686,689,691],{"class":424,"line":453},[422,687,688],{"class":443},"  headers",[422,690,447],{"class":436},[422,692,437],{"class":436},[422,694,695,698,701,703,705,707,710,712],{"class":424,"line":463},[422,696,697],{"class":436},"    '",[422,699,700],{"class":443},"Content-Type",[422,702,654],{"class":436},[422,704,447],{"class":436},[422,706,675],{"class":436},[422,708,709],{"class":657},"application\u002Fjson",[422,711,654],{"class":436},[422,713,683],{"class":436},[422,715,716,719,721,724,727,730,733,736],{"class":424,"line":473},[422,717,718],{"class":443},"    Authorization",[422,720,447],{"class":436},[422,722,723],{"class":436}," `",[422,725,726],{"class":657},"Bearer ",[422,728,729],{"class":436},"${",[422,731,732],{"class":598},"sessionToken",[422,734,735],{"class":436},"}`",[422,737,683],{"class":436},[422,739,740],{"class":424,"line":484},[422,741,742],{"class":436},"  },\n",[422,744,745,748,750,753,756,759,761],{"class":424,"line":495},[422,746,747],{"class":443},"  body",[422,749,447],{"class":436},[422,751,752],{"class":598}," JSON",[422,754,755],{"class":436},".",[422,757,758],{"class":647},"stringify",[422,760,651],{"class":598},[422,762,763],{"class":436},"{\n",[422,765,766,769,771,773,776,778],{"class":424,"line":505},[422,767,768],{"class":443},"    roomId",[422,770,447],{"class":436},[422,772,675],{"class":436},[422,774,775],{"class":657},"room-123",[422,777,654],{"class":436},[422,779,683],{"class":436},[422,781,782,785,787,789,792,794],{"class":424,"line":515},[422,783,784],{"class":443},"    message",[422,786,447],{"class":436},[422,788,675],{"class":436},[422,790,791],{"class":657},"Create an NFT event for a music concert",[422,793,654],{"class":436},[422,795,683],{"class":436},[422,797,798,801,803,805,808,810],{"class":424,"line":525},[422,799,800],{"class":443},"    messageId",[422,802,447],{"class":436},[422,804,675],{"class":436},[422,806,807],{"class":657},"msg-456",[422,809,654],{"class":436},[422,811,683],{"class":436},[422,813,814,817,819,823],{"class":424,"line":535},[422,815,816],{"class":443},"    useMCP",[422,818,447],{"class":436},[422,820,822],{"class":821},"sfNiH"," true",[422,824,683],{"class":436},[422,826,827,830,833],{"class":424,"line":545},[422,828,829],{"class":436},"  }",[422,831,832],{"class":598},")",[422,834,683],{"class":436},[422,836,837,840],{"class":424,"line":551},[422,838,839],{"class":436},"}",[422,841,842],{"class":598},")\n",[374,844,845],{},"Responses stream via Server-Sent Events for real-time output.",[393,847,849],{"id":848},"transcribe-audio",[397,850,848],{},[374,852,853,854,857],{},"Converts an audio message to text (used by ",[378,855,856],{"href":102},"Voice Mode",").",[374,859,860,408,862],{},[405,861,407],{},[397,863,864],{},"POST \u002Ffunctions\u002Fv1\u002Ftranscribe-audio",[413,866,868],{"className":415,"code":867,"language":417,"meta":418,"style":418},"interface TranscriptionRequest {\n  messageId: string\n  audioData: string \u002F\u002F base64-encoded audio\n  roomId: string\n}\n\ninterface TranscriptionResponse {\n  success: boolean\n  transcription?: string\n  message_id: string\n  error?: string\n}\n",[397,869,870,879,887,900,908,912,916,925,933,942,951,959],{"__ignoreMap":418},[422,871,872,874,877],{"class":424,"line":425},[422,873,429],{"class":428},[422,875,876],{"class":432}," TranscriptionRequest",[422,878,437],{"class":436},[422,880,881,883,885],{"class":424,"line":440},[422,882,466],{"class":443},[422,884,447],{"class":436},[422,886,450],{"class":432},[422,888,889,891,893,896],{"class":424,"line":453},[422,890,508],{"class":443},[422,892,447],{"class":436},[422,894,895],{"class":432}," string",[422,897,899],{"class":898},"sHwdD"," \u002F\u002F base64-encoded audio\n",[422,901,902,904,906],{"class":424,"line":463},[422,903,444],{"class":443},[422,905,447],{"class":436},[422,907,450],{"class":432},[422,909,910],{"class":424,"line":473},[422,911,548],{"class":436},[422,913,914],{"class":424,"line":484},[422,915,555],{"emptyLinePlaceholder":554},[422,917,918,920,923],{"class":424,"line":495},[422,919,429],{"class":428},[422,921,922],{"class":432}," TranscriptionResponse",[422,924,437],{"class":436},[422,926,927,929,931],{"class":424,"line":505},[422,928,571],{"class":443},[422,930,447],{"class":436},[422,932,492],{"class":432},[422,934,935,938,940],{"class":424,"line":515},[422,936,937],{"class":443},"  transcription",[422,939,479],{"class":436},[422,941,450],{"class":432},[422,943,944,947,949],{"class":424,"line":525},[422,945,946],{"class":443},"  message_id",[422,948,447],{"class":436},[422,950,450],{"class":432},[422,952,953,955,957],{"class":424,"line":535},[422,954,615],{"class":443},[422,956,479],{"class":436},[422,958,450],{"class":432},[422,960,961],{"class":424,"line":545},[422,962,548],{"class":436},[374,964,965],{},"Supports common audio formats up to 25 MB and stores the transcription automatically.",[393,967,969],{"id":968},"discover-mcp-capabilities",[397,970,968],{},[374,972,973],{},"Discovers and registers the available MCP tools.",[374,975,976,408,978],{},[405,977,407],{},[397,979,980],{},"POST \u002Ffunctions\u002Fv1\u002Fdiscover-mcp-capabilities",[413,982,984],{"className":415,"code":983,"language":417,"meta":418,"style":418},"interface CapabilitiesResponse {\n  success: boolean\n  capabilities: MCPCapability[]\n  total_discovered: number\n  new_capabilities: number\n}\n",[397,985,986,995,1003,1015,1025,1034],{"__ignoreMap":418},[422,987,988,990,993],{"class":424,"line":425},[422,989,429],{"class":428},[422,991,992],{"class":432}," CapabilitiesResponse",[422,994,437],{"class":436},[422,996,997,999,1001],{"class":424,"line":440},[422,998,571],{"class":443},[422,1000,447],{"class":436},[422,1002,492],{"class":432},[422,1004,1005,1008,1010,1013],{"class":424,"line":453},[422,1006,1007],{"class":443},"  capabilities",[422,1009,447],{"class":436},[422,1011,1012],{"class":432}," MCPCapability",[422,1014,599],{"class":598},[422,1016,1017,1020,1022],{"class":424,"line":463},[422,1018,1019],{"class":443},"  total_discovered",[422,1021,447],{"class":436},[422,1023,1024],{"class":432}," number\n",[422,1026,1027,1030,1032],{"class":424,"line":473},[422,1028,1029],{"class":443},"  new_capabilities",[422,1031,447],{"class":436},[422,1033,1024],{"class":432},[422,1035,1036],{"class":424,"line":484},[422,1037,548],{"class":436},[393,1039,1041],{"id":1040},"rename-chat-for-event",[397,1042,1040],{},[374,1044,1045],{},"Generates a meaningful chat-room name from event-creation context.",[374,1047,1048,408,1050],{},[405,1049,407],{},[397,1051,1052],{},"POST \u002Ffunctions\u002Fv1\u002Frename-chat-for-event",[413,1054,1056],{"className":415,"code":1055,"language":417,"meta":418,"style":418},"interface RenameChatRequest {\n  roomId: string\n  eventTitle?: string\n  context?: string\n}\n",[397,1057,1058,1067,1075,1084,1093],{"__ignoreMap":418},[422,1059,1060,1062,1065],{"class":424,"line":425},[422,1061,429],{"class":428},[422,1063,1064],{"class":432}," RenameChatRequest",[422,1066,437],{"class":436},[422,1068,1069,1071,1073],{"class":424,"line":440},[422,1070,444],{"class":443},[422,1072,447],{"class":436},[422,1074,450],{"class":432},[422,1076,1077,1080,1082],{"class":424,"line":453},[422,1078,1079],{"class":443},"  eventTitle",[422,1081,479],{"class":436},[422,1083,450],{"class":432},[422,1085,1086,1089,1091],{"class":424,"line":463},[422,1087,1088],{"class":443},"  context",[422,1090,479],{"class":436},[422,1092,450],{"class":432},[422,1094,1095],{"class":424,"line":473},[422,1096,548],{"class":436},[370,1098,1100],{"id":1099},"security","Security",[1102,1103,1104,1115,1125],"ul",{},[1105,1106,1107,1110,1111,1114],"li",{},[405,1108,1109],{},"Authentication"," — each function validates the app session token from the ",[397,1112,1113],{},"Authorization: Bearer \u003Cjwt>"," header",[1105,1116,1117,1120,1121,1124],{},[405,1118,1119],{},"CORS"," — preflight ",[397,1122,1123],{},"OPTIONS"," requests are handled and standard CORS headers returned",[1105,1126,1127,1130],{},[405,1128,1129],{},"Input validation"," — requests are validated and length-limited (for example, chat messages are capped) before processing",[370,1132,1134],{"id":1133},"error-format","Error format",[413,1136,1138],{"className":415,"code":1137,"language":417,"meta":418,"style":418},"interface ErrorResponse {\n  error: true\n  message: string\n  code?: string\n  details?: unknown\n  timestamp: string\n  request_id: string\n}\n",[397,1139,1140,1149,1158,1166,1175,1185,1194,1203],{"__ignoreMap":418},[422,1141,1142,1144,1147],{"class":424,"line":425},[422,1143,429],{"class":428},[422,1145,1146],{"class":432}," ErrorResponse",[422,1148,437],{"class":436},[422,1150,1151,1153,1155],{"class":424,"line":440},[422,1152,615],{"class":443},[422,1154,447],{"class":436},[422,1156,1157],{"class":432}," true\n",[422,1159,1160,1162,1164],{"class":424,"line":453},[422,1161,456],{"class":443},[422,1163,447],{"class":436},[422,1165,450],{"class":432},[422,1167,1168,1171,1173],{"class":424,"line":463},[422,1169,1170],{"class":443},"  code",[422,1172,479],{"class":436},[422,1174,450],{"class":432},[422,1176,1177,1180,1182],{"class":424,"line":473},[422,1178,1179],{"class":443},"  details",[422,1181,479],{"class":436},[422,1183,1184],{"class":432}," unknown\n",[422,1186,1187,1190,1192],{"class":424,"line":484},[422,1188,1189],{"class":443},"  timestamp",[422,1191,447],{"class":436},[422,1193,450],{"class":432},[422,1195,1196,1199,1201],{"class":424,"line":495},[422,1197,1198],{"class":443},"  request_id",[422,1200,447],{"class":436},[422,1202,450],{"class":432},[422,1204,1205],{"class":424,"line":505},[422,1206,548],{"class":436},[374,1208,1209,1210,1213],{},"Functions use URL versioning (",[397,1211,1212],{},"\u002Ffunctions\u002Fv1\u002F...","). Transient upstream errors are retried with exponential backoff.",[370,1215,1217],{"id":1216},"related","Related",[1102,1219,1220,1225,1231],{},[1105,1221,1222,1224],{},[378,1223,113],{"href":114}," — Belong API auth",[1105,1226,1227,1230],{},[378,1228,1229],{"href":267},"API Documentation"," — core Belong REST API",[1105,1232,1233],{},[378,1234,123],{"href":124},[1236,1237,1238],"style",{},"html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sfNiH, html code.shiki .sfNiH{--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}",{"title":418,"searchDepth":440,"depth":440,"links":1240},[1241,1242,1248,1249,1250],{"id":372,"depth":440,"text":19},{"id":390,"depth":440,"text":391,"children":1243},[1244,1245,1246,1247],{"id":395,"depth":453,"text":395},{"id":848,"depth":453,"text":848},{"id":968,"depth":453,"text":968},{"id":1040,"depth":453,"text":1040},{"id":1099,"depth":440,"text":1100},{"id":1133,"depth":440,"text":1134},{"id":1216,"depth":440,"text":1217},"The serverless functions that power Belong CheckIn's AI chat, transcription, and tool discovery.","md",null,{},{"title":118,"icon":121},{"title":118,"description":1251},"ubox17hd-WcZvj16GoitzJEdo-bSe1uvepasiK8pf1M",[1259,1261],{"title":113,"path":114,"stem":115,"description":1260,"icon":116,"children":-1},"Authenticate with the Belong API, identify users, and query hubs and events for Belong CheckIn integrations.",{"title":123,"path":124,"stem":125,"description":1262,"icon":56,"children":-1},"The MCP tools that power AI-driven event, NFT, and check-in operations in Belong CheckIn.",1795861628541]