1import{j as e}from"./vendor-query-DhjOgUDD.js";import{F as t,j as i,W as m,L as y,R as r,S as n,m as g,H as d,G as p,l as f}from"./index-4ZDWxsof.js";import"./vendor-radix-Bi3hcZEw.js";import"./vendor-router-BMMoSqdB.js";import"./vendor-icons-443ez2nG.js";import"./vendor-motion-BL_E91F5.js";const c='ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", monospace';function o({children:s}){return e.jsx("code",{style:{fontFamily:c,fontSize:"0.9em",background:p,border:`1px solid ${d}`,borderRadius:"6px",padding:"1px 6px",color:i},children:s})}function a({children:s}){return e.jsx("pre",{style:{background:p,border:`1px solid ${d}`,borderRadius:"14px",padding:"18px",fontSize:"12.5px",lineHeight:1.6,overflowX:"auto",fontFamily:c,color:i},children:e.jsx("code",{style:{fontFamily:c,color:i},children:s})})}function l({method:s,path:x}){const h=s==="GET"?f:s==="POST"?"#2563eb":s==="DELETE"?"#dc2626":i;return e.jsxs("div",{className:"flex items-center gap-2",style:{fontFamily:c,fontSize:"14px"},children:[e.jsx("span",{style:{fontWeight:700,color:h},children:s}),e.jsx("span",{style:{color:i},children:x})]})}function F(){return e.jsxs("div",{style:{background:m,color:i,fontFamily:t},children:[e.jsx(y,{}),e.jsxs("main",{className:"mx-auto max-w-3xl px-6",style:{paddingTop:"clamp(56px,8vw,96px)",paddingBottom:"clamp(56px,8vw,96px)"},children:[e.jsxs(r,{children:[e.jsx("h1",{style:{fontFamily:t,fontSize:"clamp(34px,5vw,48px)",fontWeight:700,letterSpacing:"-0.03em",color:i,marginBottom:"8px"},"data-testid":"text-page-title",children:"GIGABOOST API"}),e.jsxs("p",{style:{fontFamily:t,fontSize:"15px",lineHeight:1.6,color:n,marginBottom:"40px"},children:["A simple REST API to pull your investor replies and matched investors into your own tools and CRM. Available on request â book a call for pricing. Base URL: ",e.jsx(o,{children:"https://gigaboost.ai/api/v1"})]})]}),e.jsxs("div",{className:"space-y-10",children:[e.jsx(r,{children:e.jsxs("section",{children:[e.jsx("h2",{style:{fontFamily:t,fontSize:"20px",fontWeight:700,letterSpacing:"-0.02em",color:i,marginBottom:"12px"},children:"Authentication"}),e.jsxs("p",{style:{fontFamily:t,fontSize:"15px",lineHeight:1.6,color:n,marginBottom:"12px"},children:["Create an API key in ",e.jsx("span",{style:{color:i,fontWeight:500},children:"Account â Integrations & API"}),". The key is shown once â store it securely. Pass it as a bearer token on every request. Each key is scoped to your account: it can only ever read your own data."]}),e.jsx(a,{children:`curl https://gigaboost.ai/api/v1/me \\ 2 -H "Authorization: Bearer gb_live_xxxxxxxxxxxxxxxx" 3 4# â { "userId": "...", "email": "[email protected]", "plan": "institutional" }`})]})}),e.jsx(r,{children:e.jsxs("section",{children:[e.jsx("h2",{style:{fontFamily:t,fontSize:"20px",fontWeight:700,letterSpacing:"-0.02em",color:i,marginBottom:"12px"},children:"Pagination"}),e.jsx("p",{style:{fontFamily:t,fontSize:"15px",lineHeight:1.6,color:n,marginBottom:"12px"},children:"List endpoints are cursor-paginated and return at most 100 records per page."}),e.jsxs("ul",{className:"list-disc pl-5 space-y-1.5",style:{fontFamily:t,fontSize:"15px",color:n,marginBottom:"12px"},children:[e.jsxs("li",{children:[e.jsx(o,{children:"limit"})," â page size, 1â100 (default 50)."]}),e.jsxs("li",{children:[e.jsx(o,{children:"order"})," â ",e.jsx(o,{children:"asc"})," (oldest first, for backfilling) or ",e.jsx(o,{children:"desc"})," (newest first). Default ",e.jsx(o,{children:"asc"}),"."]}),e.jsxs("li",{children:[e.jsx(o,{children:"since"})," â record id to page from. Use the ",e.jsx(o,{children:"nextSince"})," value returned by the previous page."]})]}),e.jsx(a,{children:'{ "data": [ /* records */ ], "nextSince": 9123, "hasMore": true }'})]})}),e.jsx(r,{children:e.jsxs("section",{children:[e.jsx("h2",{style:{fontFamily:t,fontSize:"20px",fontWeight:700,letterSpacing:"-0.02em",color:i,marginBottom:"12px"},children:"Investor replies"}),e.jsx(l,{method:"GET",path:"/api/v1/replies"}),e.jsx("p",{style:{fontFamily:t,fontSize:"15px",lineHeight:1.6,color:n,margin:"12px 0"},children:"Investors who replied to your outreach."}),e.jsx(a,{children:`curl "https://gigaboost.ai/api/v1/replies?order=desc&limit=50" \\ 5 -H "Authorization: Bearer gb_live_..." 6 7# data[] item: 8{ 9 "id": 9123, 10 "investorId": 4471, 11 "investorName": "Nancy Bailes",
12 "investorEmail": "[email protected]", 13 "company": "Werklund Family Office", 14 "deckUploadId": 64, 15 "replyBody": "Thanks â can you send the data room?", 16 "sentAt": "2026-06-17T15:40:00.000Z" 17}`})]})}),e.jsx(r,{children:e.jsxs("section",{children:[e.jsx("h2",{style:{fontFamily:t,fontSize:"20px",fontWeight:700,letterSpacing:"-0.02em",color:i,marginBottom:"12px"},children:"Matched investors"}),e.jsx(l,{method:"GET",path:"/api/v1/matches"}),e.jsxs("p",{style:{fontFamily:t,fontSize:"15px",lineHeight:1.6,color:n,margin:"12px 0"},children:["Investors matched to your raises. Optional ",e.jsx(o,{children:"deckId"})," filters to a single project."]}),e.jsx(a,{children:`curl "https://gigaboost.ai/api/v1/matches?order=desc&limit=100&deckId=64" \\ 18 -H "Authorization: Bearer gb_live_..." 19 20# data[] item: 21{ 22 "id": 50211, 23 "deckUploadId": 64, 24 "investorId": 4471, 25 "fitScore": 89, 26 "investorName": "Nancy Bailes", 27 "investorEmail": "[email protected]", 28 "company": "Werklund Family Office", 29 "matchedAt": "2026-06-16T03:40:00.000Z" 30}`})]})}),e.jsx(r,{children:e.jsxs("section",{children:[e.jsx("h2",{style:{fontFamily:t,fontSize:"20px",fontWeight:700,letterSpacing:"-0.02em",color:i,marginBottom:"12px"},children:"Webhooks"}),e.jsxs("p",{style:{fontFamily:t,fontSize:"15px",lineHeight:1.6,color:n,marginBottom:"12px"},children:["Subscribe a URL to receive events in real time. Currently we emit ",e.jsx(o,{children:"investor.replied"}),". You can also create and manage webhooks from ",e.jsx("span",{style:{color:i,fontWeight:500},children:"Account â Integrations & API"}),"."]}),e.jsx(l,{method:"POST",path:"/api/v1/webhooks/subscribe"}),e.jsx("div",{className:"my-3"}),e.jsx(l,{method:"DELETE",path:"/api/v1/webhooks/{id}"}),e.jsx("div",{style:{marginTop:12},children:e.jsx(a,{children:`curl -X POST https://gigaboost.ai/api/v1/webhooks/subscribe \\ 31 -H "Authorization: Bearer gb_live_..." \\ 32 -H "Content-Type: application/json" \\ 33 -d '{ "targetUrl": "https://your-server.com/hook", "event": "investor.replied" }' 34 35# â { "id": 12 }`})}),e.jsx("h3",{style:{fontFamily:t,fontSize:"15px",fontWeight:600,color:i,margin:"20px 0 8px"},children:"Event payload"}),e.jsx(a,{children:`POST https://your-server.com/hook 36X-Gigaboost-Event: investor.replied 37X-Gigaboost-Timestamp: 1781626253 38X-Gigaboost-Signature: sha256=<hex> 39 40{ 41 "event": "investor.replied", 42 "createdAt": "2026-06-17T15:40:00.000Z", 43 "data": { 44 "emailLogId": 9123, 45 "investorId": 4471, 46 "investorName": "Nancy Bailes", 47 "investorEmail": "[email protected]", 48 "company": "Werklund Family Office", 49 "deckUploadId": 64, 50 "replyBody": "Thanks â can you send the data room?" 51 } 52}`}),e.jsx("h3",{style:{fontFamily:t,fontSize:"15px",fontWeight:600,color:i,margin:"20px 0 8px"},children:"Verifying signatures"}),e.jsxs("p",{style:{fontFamily:t,fontSize:"15px",lineHeight:1.6,color:n,marginBottom:"12px"},children:["Each delivery is signed with your endpoint's secret. Recompute the HMAC over",e.jsx("span",{style:{margin:"0 4px"},children:e.jsx(o,{children:"<timestamp>.<raw body>"})})," and compare to the",e.jsx("span",{style:{margin:"0 4px"},children:e.jsx(o,{children:"X-Gigaboost-Signature"})})," header."]}),e.jsx(a,{children:`const expected = "sha256=" + crypto 53 .createHmac("sha256", endpointSecret) 54 .update(timestamp + "." + rawBody) 55 .digest("hex"); 56// constant-time compare expected vs the X-Gigaboost-Signature header`})]})}),e.jsx(r,{children:e.jsxs("section",{children:[e.jsx("h2",{style:{fontFamily:t,fontSize:"20px",fontWeight:700,letterSpacing:"-0.02em",color:i,marginBottom:"12px"},children:"Zapier"}),e.jsxs("p",{style:{fontFamily:t,fontSize:"15px",lineHeight:1.6,color:n},children:["Prefer no code? Connect GIGABOOST in Zapier and route replies and matched investors into HubSpot, Salesforce, Pipedrive and 6,000+ apps. Connect with your API key, then pick the",e.jsx("span",{style:{color:i,fontWeight:500},children:" New Investor Reply"})," or",e.jsx("span",{style:{color:i,fontWeight:500},children:" New Matched Investor"})," trigger."]}),e.jsxs("p",{style:{fontFamily:t,fontSize:"15px",lineHeight:1.6,color:n,marginTop:"12px"},children:["Step-by-step guide: ",e.jsx("a",{href:"/docs/connect-crm",style:{color:i,textDecoration:"underline",textUnderlineOffset:"2px"},children:"Connect your CRM"}),"."]})]})}),e.jsx(r,{children:e.jsxs("section",{children:[e.jsx("h2",{style:{fontFamily:t,fontSize:"20px",fontWeight:700,letterSpacing:"-0.02em",color:i,marginBottom:"12px"},children:"Errors & limits"}),e.jsxs("ul",{className:"list-disc pl-5 space-y-1.5",style:{fontFamily:t,fontSize:"15px",color:n},children:[e.jsxs("li",{children:[e.jsx(o,{children:"401"})," â missing, invalid, or revoked API key."]}),e.jsxs("li",{children:[e.jsx(o,{children:"403"})," â your plan doesn't include API access. It's available on request; book a call to get set up."]}),e.jsxs("li",{children:["Errors return ",e.jsx(o,{children:'{ "error": "message" }'}),"."]}),e.jsx("li",{children:"Reads are scoped to your account only and capped at 100 records per page."})]})]})})]})]}),e.jsx(g,{})]})}
56export{F as default};
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.