[{"data":1,"prerenderedAt":1407},["ShallowReactive",2],{"navigation_docs":3,"-belong-checkin-developer-integration-overview":354,"-belong-checkin-developer-integration-overview-surround":1402},[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":113,"body":356,"description":1395,"extension":1396,"links":1397,"meta":1398,"navigation":1399,"path":114,"seo":1400,"stem":115,"__hash__":1401},"docs\u002F3.belong-checkin\u002F19.developer\u002F1.integration-overview.md",{"type":357,"value":358,"toc":1378},"minimark",[359,369,373,387,390,435,442,457,593,609,613,616,664,667,671,677,785,796,801,846,850,854,857,946,953,957,968,1093,1097,1249,1267,1271,1305,1315,1319,1349,1353,1374],[360,361],"doc-figure",{":height":362,":width":363,"alt":364,"caption":365,"placement":366,"source-url":367,"src":368},"562","800","An event organizer with the words Create the Hub, Place the Event.","Use the correct hub and the additive event-linking update so existing event connections are retained.","lead","https:\u002F\u002Ft.me\u002Fbelongnet\u002F446","\u002Fmedia\u002Fsocial\u002Fcreate-hub-place-event.webp",[370,371,19],"h2",{"id":372},"overview",[374,375,376,377,381,382,386],"p",{},"Belong CheckIn is built on the ",[378,379,380],"strong",{},"Belong API",". This page covers the essentials for integrating with it: authentication, identifying users, and querying hubs and events. For the full REST reference and OpenAPI docs, see ",[383,384,385],"a",{"href":267},"API Documentation",".",[374,388,389],{},"For a first integration, authenticate from your trusted backend, identify the Belong user, and make a read-only hubs or events request. Keep your application's identifiers separate from Belong identifiers. This establishes ownership and request handling before you introduce payments or on-chain operations.",[391,392,393,404,419,427],"ul",{},[394,395,396,399,400],"li",{},[378,397,398],{},"Base URL:"," ",[401,402,403],"code",{},"https:\u002F\u002Fapi.belong.net\u002Fapi\u002Fv3",[394,405,406,399,409],{},[378,407,408],{},"Interactive docs:",[383,410,417],{"href":411,"rel":412,"target":416},"https:\u002F\u002Fapi.belong.net\u002Fapi\u002Fv3\u002Fdocs",[413,414,415],"nofollow","noopener","noreferrer","_blank",[401,418,411],{},[394,420,421,399,424],{},[378,422,423],{},"Backend MCP endpoint:",[401,425,426],{},"https:\u002F\u002Fapi.belong.net\u002Fmcp",[394,428,429,399,432],{},[378,430,431],{},"Public assistant MCP endpoint:",[401,433,434],{},"https:\u002F\u002Fjoin.belong.net\u002Ffunctions\u002Fv1\u002Fbelong-agent-mcp\u002Fmcp",[370,436,438,439],{"id":437},"authentication-x-api-key","Authentication: ",[401,440,441],{},"x-api-key",[374,443,444,445,449,450,453,454,386],{},"All requests authenticate with the ",[378,446,447],{},[401,448,441],{}," header. Do ",[378,451,452],{},"not"," use ",[401,455,456],{},"Authorization: Bearer",[458,459,464],"pre",{"className":460,"code":461,"language":462,"meta":463,"style":463},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","const response = await fetch('https:\u002F\u002Fapi.belong.net\u002Fapi\u002Fv3\u002Fevents', {\n  method: 'GET',\n  headers: {\n    'x-api-key': userApiKey,\n    'Content-Type': 'application\u002Fjson',\n  },\n})\n","ts","",[401,465,466,509,530,540,557,578,584],{"__ignoreMap":463},[467,468,471,475,479,483,487,491,494,497,501,503,506],"span",{"class":469,"line":470},"line",1,[467,472,474],{"class":473},"spNyl","const",[467,476,478],{"class":477},"sTEyZ"," response ",[467,480,482],{"class":481},"sMK4o","=",[467,484,486],{"class":485},"s7zQu"," await",[467,488,490],{"class":489},"s2Zo4"," fetch",[467,492,493],{"class":477},"(",[467,495,496],{"class":481},"'",[467,498,500],{"class":499},"sfazB","https:\u002F\u002Fapi.belong.net\u002Fapi\u002Fv3\u002Fevents",[467,502,496],{"class":481},[467,504,505],{"class":481},",",[467,507,508],{"class":481}," {\n",[467,510,512,516,519,522,525,527],{"class":469,"line":511},2,[467,513,515],{"class":514},"swJcz","  method",[467,517,518],{"class":481},":",[467,520,521],{"class":481}," '",[467,523,524],{"class":499},"GET",[467,526,496],{"class":481},[467,528,529],{"class":481},",\n",[467,531,533,536,538],{"class":469,"line":532},3,[467,534,535],{"class":514},"  headers",[467,537,518],{"class":481},[467,539,508],{"class":481},[467,541,543,546,548,550,552,555],{"class":469,"line":542},4,[467,544,545],{"class":481},"    '",[467,547,441],{"class":514},[467,549,496],{"class":481},[467,551,518],{"class":481},[467,553,554],{"class":477}," userApiKey",[467,556,529],{"class":481},[467,558,560,562,565,567,569,571,574,576],{"class":469,"line":559},5,[467,561,545],{"class":481},[467,563,564],{"class":514},"Content-Type",[467,566,496],{"class":481},[467,568,518],{"class":481},[467,570,521],{"class":481},[467,572,573],{"class":499},"application\u002Fjson",[467,575,496],{"class":481},[467,577,529],{"class":481},[467,579,581],{"class":469,"line":580},6,[467,582,583],{"class":481},"  },\n",[467,585,587,590],{"class":469,"line":586},7,[467,588,589],{"class":481},"}",[467,591,592],{"class":477},")\n",[374,594,595,596,599,600,603,604,608],{},"The same API key works for all endpoints, including MCP operations, ",[401,597,598],{},"\u002Fme",", and ",[401,601,602],{},"\u002Fme\u002Fcrypto-addresses",". See ",[383,605,607],{"href":606},"\u002Fgetting-started\u002Fapi-docs#getting-an-api-key","Getting an API Key"," to create one.",[370,610,612],{"id":611},"mcp-endpoint-choice","MCP endpoint choice",[374,614,615],{},"CheckIn uses a two-tier MCP structure:",[617,618,619,635],"table",{},[620,621,622],"thead",{},[623,624,625,629,632],"tr",{},[626,627,628],"th",{},"Surface",[626,630,631],{},"Use it for",[626,633,634],{},"Auth",[636,637,638,651],"tbody",{},[623,639,640,645,648],{},[641,642,643],"td",{},[401,644,434],{},[641,646,647],{},"External assistants and public AI connectors that need event, hub, venue, check-in, bracelet, reservation, and signing-link workflows",[641,649,650],{},"OAuth 2.1 with email-code sign-in and scoped permissions",[623,652,653,657,660],{},[641,654,655],{},[401,656,426],{},[641,658,659],{},"Trusted backend integrations and first-party services that need raw Belong API, event, NFT, and transaction primitives",[641,661,662],{},[401,663,441],{},[374,665,666],{},"Do not expose the backend API-key MCP as a public assistant connector. Public assistants should use the OAuth MCP gateway, which audits tool calls and sends sensitive wallet or payment work to a Belong confirmation link.",[370,668,670],{"id":669},"identifying-the-user","Identifying the user",[374,672,673,674,518],{},"To find which user a request belongs to (for filtering hubs and events by ownership), call ",[401,675,676],{},"\u002Fapi\u002Fauth\u002Fget-session",[458,678,680],{"className":460,"code":679,"language":462,"meta":463,"style":463},"const res = await fetch('https:\u002F\u002Fapi.belong.net\u002Fapi\u002Fauth\u002Fget-session', {\n  headers: { 'x-api-key': userApiKey },\n})\nconst { user } = await res.json()\nconst belongUserId = user.id \u002F\u002F Mongo-style ObjectID, e.g. \"507f1f77bcf86cd799439011\"\n",[401,681,682,708,731,737,764],{"__ignoreMap":463},[467,683,684,686,689,691,693,695,697,699,702,704,706],{"class":469,"line":470},[467,685,474],{"class":473},[467,687,688],{"class":477}," res ",[467,690,482],{"class":481},[467,692,486],{"class":485},[467,694,490],{"class":489},[467,696,493],{"class":477},[467,698,496],{"class":481},[467,700,701],{"class":499},"https:\u002F\u002Fapi.belong.net\u002Fapi\u002Fauth\u002Fget-session",[467,703,496],{"class":481},[467,705,505],{"class":481},[467,707,508],{"class":481},[467,709,710,712,714,717,719,721,723,725,728],{"class":469,"line":511},[467,711,535],{"class":514},[467,713,518],{"class":481},[467,715,716],{"class":481}," {",[467,718,521],{"class":481},[467,720,441],{"class":514},[467,722,496],{"class":481},[467,724,518],{"class":481},[467,726,727],{"class":477}," userApiKey ",[467,729,730],{"class":481},"},\n",[467,732,733,735],{"class":469,"line":532},[467,734,589],{"class":481},[467,736,592],{"class":477},[467,738,739,741,743,746,748,751,753,756,758,761],{"class":469,"line":542},[467,740,474],{"class":473},[467,742,716],{"class":481},[467,744,745],{"class":477}," user ",[467,747,589],{"class":481},[467,749,750],{"class":481}," =",[467,752,486],{"class":485},[467,754,755],{"class":477}," res",[467,757,386],{"class":481},[467,759,760],{"class":489},"json",[467,762,763],{"class":477},"()\n",[467,765,766,768,771,773,776,778,781],{"class":469,"line":559},[467,767,474],{"class":473},[467,769,770],{"class":477}," belongUserId ",[467,772,482],{"class":481},[467,774,775],{"class":477}," user",[467,777,386],{"class":481},[467,779,780],{"class":477},"id ",[467,782,784],{"class":783},"sHwdD","\u002F\u002F Mongo-style ObjectID, e.g. \"507f1f77bcf86cd799439011\"\n",[786,787,788,789,792,793,386],"warning",{},"The Belong user ID is a Mongo-style ObjectID — not a UUID. If your app stores its own user IDs (for example a database UUID), keep them separate: never compare your internal IDs to Belong's ",[401,790,791],{},"ownerId"," \u002F ",[401,794,795],{},"membersIDs",[797,798,800],"h3",{"id":799},"profile-endpoints","Profile endpoints",[617,802,803,813],{},[620,804,805],{},[623,806,807,810],{},[626,808,809],{},"Endpoint",[626,811,812],{},"Returns",[636,814,815,825],{},[623,816,817,822],{},[641,818,819],{},[401,820,821],{},"GET \u002Fapi\u002Fv3\u002Fme",[641,823,824],{},"The authenticated user's profile",[623,826,827,832],{},[641,828,829],{},[401,830,831],{},"GET \u002Fapi\u002Fv3\u002Fme\u002Fcrypto-addresses",[641,833,834,835,838,839,838,842,845],{},"The user's linked crypto addresses (",[401,836,837],{},"address",", ",[401,840,841],{},"chainId",[401,843,844],{},"connector",")",[370,847,849],{"id":848},"hubs-events","Hubs & events",[797,851,853],{"id":852},"filtering-my-hubs","Filtering \"My Hubs\"",[374,855,856],{},"Fetch hubs with the user's API key, then filter by the Belong user ID:",[458,858,860],{"className":460,"code":859,"language":462,"meta":463,"style":463},"const userHubs = allHubs.filter(hub =>\n  hub.ownerId === belongUserId ||\n  (Array.isArray(hub.membersIDs) && hub.membersIDs.includes(belongUserId))\n)\n",[401,861,862,888,906,942],{"__ignoreMap":463},[467,863,864,866,869,871,874,876,879,881,885],{"class":469,"line":470},[467,865,474],{"class":473},[467,867,868],{"class":477}," userHubs ",[467,870,482],{"class":481},[467,872,873],{"class":477}," allHubs",[467,875,386],{"class":481},[467,877,878],{"class":489},"filter",[467,880,493],{"class":477},[467,882,884],{"class":883},"sHdIc","hub",[467,886,887],{"class":473}," =>\n",[467,889,890,893,895,898,901,903],{"class":469,"line":511},[467,891,892],{"class":477},"  hub",[467,894,386],{"class":481},[467,896,897],{"class":477},"ownerId ",[467,899,900],{"class":481},"===",[467,902,770],{"class":477},[467,904,905],{"class":481},"||\n",[467,907,908,911,913,916,919,921,924,927,930,932,934,936,939],{"class":469,"line":532},[467,909,910],{"class":477},"  (Array",[467,912,386],{"class":481},[467,914,915],{"class":489},"isArray",[467,917,918],{"class":477},"(hub",[467,920,386],{"class":481},[467,922,923],{"class":477},"membersIDs) ",[467,925,926],{"class":481},"&&",[467,928,929],{"class":477}," hub",[467,931,386],{"class":481},[467,933,795],{"class":477},[467,935,386],{"class":481},[467,937,938],{"class":489},"includes",[467,940,941],{"class":477},"(belongUserId))\n",[467,943,944],{"class":469,"line":542},[467,945,592],{"class":477},[374,947,948,949,952],{},"For a ",[378,950,951],{},"Discover"," view (public hubs the user hasn't joined), fetch a larger batch (50+) and filter out the user's own hubs — a small page may contain only the user's hubs and leave nothing to discover.",[797,954,956],{"id":955},"connecting-events-to-a-hub","Connecting events to a hub",[374,958,959,960,963,964,967],{},"Use ",[401,961,962],{},"connectEventIds"," (additive, de-duplicates automatically) rather than replacing the whole ",[401,965,966],{},"categorySubEventIDs"," array:",[458,969,971],{"className":460,"code":970,"language":462,"meta":463,"style":463},"await fetch(`https:\u002F\u002Fapi.belong.net\u002Fapi\u002Fv3\u002Fhubs\u002F${hubId}`, {\n  method: 'PUT',\n  headers: { 'Content-Type': 'application\u002Fjson', 'x-api-key': apiKey },\n  body: JSON.stringify({ connectEventIds: [eventId] }),\n})\n",[401,972,973,1001,1016,1053,1087],{"__ignoreMap":463},[467,974,975,978,980,982,985,988,991,994,997,999],{"class":469,"line":470},[467,976,977],{"class":485},"await",[467,979,490],{"class":489},[467,981,493],{"class":477},[467,983,984],{"class":481},"`",[467,986,987],{"class":499},"https:\u002F\u002Fapi.belong.net\u002Fapi\u002Fv3\u002Fhubs\u002F",[467,989,990],{"class":481},"${",[467,992,993],{"class":477},"hubId",[467,995,996],{"class":481},"}`",[467,998,505],{"class":481},[467,1000,508],{"class":481},[467,1002,1003,1005,1007,1009,1012,1014],{"class":469,"line":511},[467,1004,515],{"class":514},[467,1006,518],{"class":481},[467,1008,521],{"class":481},[467,1010,1011],{"class":499},"PUT",[467,1013,496],{"class":481},[467,1015,529],{"class":481},[467,1017,1018,1020,1022,1024,1026,1028,1030,1032,1034,1036,1038,1040,1042,1044,1046,1048,1051],{"class":469,"line":532},[467,1019,535],{"class":514},[467,1021,518],{"class":481},[467,1023,716],{"class":481},[467,1025,521],{"class":481},[467,1027,564],{"class":514},[467,1029,496],{"class":481},[467,1031,518],{"class":481},[467,1033,521],{"class":481},[467,1035,573],{"class":499},[467,1037,496],{"class":481},[467,1039,505],{"class":481},[467,1041,521],{"class":481},[467,1043,441],{"class":514},[467,1045,496],{"class":481},[467,1047,518],{"class":481},[467,1049,1050],{"class":477}," apiKey ",[467,1052,730],{"class":481},[467,1054,1055,1058,1060,1063,1065,1068,1070,1073,1076,1078,1081,1083,1085],{"class":469,"line":542},[467,1056,1057],{"class":514},"  body",[467,1059,518],{"class":481},[467,1061,1062],{"class":477}," JSON",[467,1064,386],{"class":481},[467,1066,1067],{"class":489},"stringify",[467,1069,493],{"class":477},[467,1071,1072],{"class":481},"{",[467,1074,1075],{"class":514}," connectEventIds",[467,1077,518],{"class":481},[467,1079,1080],{"class":477}," [eventId] ",[467,1082,589],{"class":481},[467,1084,845],{"class":477},[467,1086,529],{"class":481},[467,1088,1089,1091],{"class":469,"line":559},[467,1090,589],{"class":481},[467,1092,592],{"class":477},[797,1094,1096],{"id":1095},"query-parameters","Query parameters",[617,1098,1099,1111],{},[620,1100,1101],{},[623,1102,1103,1106,1109],{},[626,1104,1105],{},"Parameter",[626,1107,1108],{},"Type",[626,1110,339],{},[636,1112,1113,1135,1148,1161,1182,1201,1213,1231],{},[623,1114,1115,1120,1123],{},[641,1116,1117],{},[401,1118,1119],{},"take",[641,1121,1122],{},"integer (1–100, default 20)",[641,1124,1125,1126],{},"Items per page — ",[378,1127,1128,1129,1131,1132],{},"use ",[401,1130,1119],{},", not ",[401,1133,1134],{},"limit",[623,1136,1137,1142,1145],{},[641,1138,1139],{},[401,1140,1141],{},"page",[641,1143,1144],{},"integer",[641,1146,1147],{},"1-based page index",[623,1149,1150,1155,1158],{},[641,1151,1152],{},[401,1153,1154],{},"cursor",[641,1156,1157],{},"string",[641,1159,1160],{},"Cursor from a previous page",[623,1162,1163,1168,1177],{},[641,1164,1165],{},[401,1166,1167],{},"sort",[641,1169,1170,1173,1174],{},[401,1171,1172],{},"createdAt"," | ",[401,1175,1176],{},"updatedAt",[641,1178,1179,1180],{},"Default ",[401,1181,1172],{},[623,1183,1184,1189,1197],{},[641,1185,1186],{},[401,1187,1188],{},"order",[641,1190,1191,1173,1194],{},[401,1192,1193],{},"asc",[401,1195,1196],{},"desc",[641,1198,1179,1199],{},[401,1200,1196],{},[623,1202,1203,1208,1210],{},[641,1204,1205],{},[401,1206,1207],{},"search",[641,1209,1157],{},[641,1211,1212],{},"Case-insensitive across name, slug, description",[623,1214,1215,1220,1228],{},[641,1216,1217],{},[401,1218,1219],{},"hubType",[641,1221,1222,1173,1225],{},[401,1223,1224],{},"group",[401,1226,1227],{},"nftCollection",[641,1229,1230],{},"Filter by hub type",[623,1232,1233,1238,1246],{},[641,1234,1235],{},[401,1236,1237],{},"status",[641,1239,1240,1173,1243],{},[401,1241,1242],{},"PUBLISHED",[401,1244,1245],{},"INCOMPLETE",[641,1247,1248],{},"Filter by status",[786,1250,1251,1258,1259,1262,1263,1266],{},[378,1252,1253,1254,1257],{},"The ",[401,1255,1256],{},"private"," parameter pitfall."," It expects a boolean, but query strings are always strings — sending ",[401,1260,1261],{},"private=false"," causes a ",[401,1264,1265],{},"400",". Omit the parameter entirely and user-specific access rules apply automatically.",[370,1268,1270],{"id":1269},"ticketing-and-payment-routes","Ticketing and payment routes",[391,1272,1273,1279,1289,1299],{},[394,1274,1275,1278],{},[378,1276,1277],{},"Regular (non-NFT) tickets:"," Stripe Connect and hosted Stripe Checkout through the event ticket-order API. Confirmed payment is fulfilled into ticket registrations and entry QR codes; an NFT collection is not required.",[394,1280,1281,1284,1285,1288],{},[378,1282,1283],{},"NFT tickets:"," the configured NFT checkout partner handles supported wallet or card methods. The ",[383,1286,1287],{"href":143},"hosted NFT Checkout"," has its own session and verification contract.",[394,1290,1291,1294,1295,1298],{},[378,1292,1293],{},"Venue payments:"," the existing venue payment-account and ",[401,1296,1297],{},"payToVenue"," flow is separate from Stripe ticket orders. Do not route venue requests to ticket-order endpoints or infer availability from the ticket capability.",[394,1300,1301,1304],{},[378,1302,1303],{},"Bracelet card top-ups:"," a separate Stripe Connect capability and order type; only offer it when available.",[374,1306,1307,1308,1311,1312,1314],{},"Check ",[401,1309,1310],{},"GET \u002Fapi\u002Fv3\u002Fpayments\u002Fcapabilities"," before exposing Stripe ticket or bracelet checkout. Ticket and bracelet availability are independent; organizer\u002Fevent configuration still applies. See ",[383,1313,38],{"href":39}," for the product-level distinction.",[370,1316,1318],{"id":1317},"common-mistakes","Common mistakes",[1320,1321,1322,1330,1333,1340,1346],"ol",{},[394,1323,1324,1325,1327,1328],{},"Using ",[401,1326,456],{}," instead of ",[401,1329,441],{},[394,1331,1332],{},"Comparing your internal user IDs to Belong's Mongo-style IDs",[394,1334,1324,1335,1327,1337,1339],{},[401,1336,1134],{},[401,1338,1119],{}," for pagination",[394,1341,1342,1343,1345],{},"Sending ",[401,1344,1261],{}," as a string (omit it instead)",[394,1347,1348],{},"Fetching too few hubs for a Discover view",[370,1350,1352],{"id":1351},"related","Related",[391,1354,1355,1360,1365,1370],{},[394,1356,1357,1359],{},[383,1358,385],{"href":267}," — full REST reference",[394,1361,1362,1364],{},[383,1363,142],{"href":143}," — embed crypto payment and NFT issuance in an external store",[394,1366,1367,1369],{},[383,1368,118],{"href":119}," — CheckIn edge functions",[394,1371,1372],{},[383,1373,123],{"href":124},[1375,1376,1377],"style",{},"html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}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 .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}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 .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}html pre.shiki code .sHdIc, html code.shiki .sHdIc{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic}",{"title":463,"searchDepth":511,"depth":511,"links":1379},[1380,1381,1383,1384,1387,1392,1393,1394],{"id":372,"depth":511,"text":19},{"id":437,"depth":511,"text":1382},"Authentication: x-api-key",{"id":611,"depth":511,"text":612},{"id":669,"depth":511,"text":670,"children":1385},[1386],{"id":799,"depth":532,"text":800},{"id":848,"depth":511,"text":849,"children":1388},[1389,1390,1391],{"id":852,"depth":532,"text":853},{"id":955,"depth":532,"text":956},{"id":1095,"depth":532,"text":1096},{"id":1269,"depth":511,"text":1270},{"id":1317,"depth":511,"text":1318},{"id":1351,"depth":511,"text":1352},"Authenticate with the Belong API, identify users, and query hubs and events for Belong CheckIn integrations.","md",null,{},{"title":113,"icon":116},{"title":113,"description":1395},"YIsNct3M1gmsc3Ez5X65FT0evUte1ef5mVB_stZfE68",[1403,1405],{"title":63,"path":64,"stem":65,"description":1404,"icon":66,"children":-1},"Belong CheckIn whitepaper covering platform, economics, and architecture.",{"title":118,"path":119,"stem":120,"description":1406,"icon":121,"children":-1},"The serverless functions that power Belong CheckIn's AI chat, transcription, and tool discovery.",1795861629535]