[{"data":1,"prerenderedAt":666},["ShallowReactive",2],{"navigation_docs":3,"-getting-started-projects":183,"-getting-started-projects-surround":661},[4,21,58,85,126,142],{"title":5,"path":6,"stem":7,"children":8,"icon":10},"Getting started","\u002Fgetting-started","1.getting-started\u002F1.index",[9,11,16],{"title":5,"path":6,"stem":7,"icon":10},"i-lucide-rocket",{"title":12,"path":13,"stem":14,"icon":15},"API keys and requests","\u002Fgetting-started\u002Fapi-keys","1.getting-started\u002F2.api-keys","i-lucide-key-round",{"title":17,"path":18,"stem":19,"icon":20},"Projects","\u002Fgetting-started\u002Fprojects","1.getting-started\u002F3.projects","i-lucide-folder",{"title":22,"path":23,"stem":24,"children":25,"icon":27},"Embed the widget","\u002Fembed-the-widget","2.embed-the-widget\u002F1.index",[26,28,33,38,43,48,53],{"title":22,"path":23,"stem":24,"icon":27},"i-lucide-code",{"title":29,"path":30,"stem":31,"icon":32},"Placement modes","\u002Fembed-the-widget\u002Fplacement-modes","2.embed-the-widget\u002F2.placement-modes","i-lucide-layout-panel-top",{"title":34,"path":35,"stem":36,"icon":37},"JavaScript API","\u002Fembed-the-widget\u002Fjavascript-api","2.embed-the-widget\u002F3.javascript-api","i-lucide-braces",{"title":39,"path":40,"stem":41,"icon":42},"Appearance options","\u002Fembed-the-widget\u002Fappearance-options","2.embed-the-widget\u002F4.appearance-options","i-lucide-sliders-horizontal",{"title":44,"path":45,"stem":46,"icon":47},"Events","\u002Fembed-the-widget\u002Fevents","2.embed-the-widget\u002F5.events","i-lucide-radio",{"title":49,"path":50,"stem":51,"icon":52},"Styling with CSS","\u002Fembed-the-widget\u002Fstyling-with-css","2.embed-the-widget\u002F6.styling-with-css","i-lucide-paintbrush",{"title":54,"path":55,"stem":56,"icon":57},"Troubleshooting","\u002Fembed-the-widget\u002Ftroubleshooting","2.embed-the-widget\u002F7.troubleshooting","i-lucide-wrench",{"title":59,"path":60,"stem":61,"children":62,"icon":64},"Surveys","\u002Fsurveys","3.surveys\u002F1.index",[63,65,70,75,80],{"title":59,"path":60,"stem":61,"icon":64},"i-lucide-clipboard-list",{"title":66,"path":67,"stem":68,"icon":69},"Questions","\u002Fsurveys\u002Fquestions","3.surveys\u002F2.questions","i-lucide-list-checks",{"title":71,"path":72,"stem":73,"icon":74},"Appearance and wording","\u002Fsurveys\u002Fappearance-and-wording","3.surveys\u002F3.appearance-and-wording","i-lucide-palette",{"title":76,"path":77,"stem":78,"icon":79},"Publishing changes","\u002Fsurveys\u002Flimits-and-status","3.surveys\u002F4.limits-and-status","i-lucide-clock",{"title":81,"path":82,"stem":83,"icon":84},"Fill links","\u002Fsurveys\u002Ffill-links","3.surveys\u002F5.fill-links","i-lucide-link",{"title":86,"path":87,"stem":88,"children":89,"icon":91},"Responses and insights","\u002Fresponses-and-insights","4.responses-and-insights\u002F1.index",[90,92,97,102,107,112,116,121],{"title":86,"path":87,"stem":88,"icon":91},"i-lucide-inbox",{"title":93,"path":94,"stem":95,"icon":96},"Answers","\u002Fresponses-and-insights\u002Fanswers","4.responses-and-insights\u002F2.answers","i-lucide-message-square-text",{"title":98,"path":99,"stem":100,"icon":101},"Insights","\u002Fresponses-and-insights\u002Finsights","4.responses-and-insights\u002F3.insights","i-lucide-lightbulb",{"title":103,"path":104,"stem":105,"icon":106},"Verification and threshold","\u002Fresponses-and-insights\u002Fverification-and-threshold","4.responses-and-insights\u002F4.verification-and-threshold","i-lucide-shield-check",{"title":108,"path":109,"stem":110,"icon":111},"Statistics","\u002Fresponses-and-insights\u002Fresponsiveness-funnel","4.responses-and-insights\u002F5.responsiveness-funnel","i-lucide-bar-chart-3",{"title":113,"path":114,"stem":115,"icon":91},"Feedback you already have","\u002Fresponses-and-insights\u002Ffeedback-you-already-have","4.responses-and-insights\u002F6.feedback-you-already-have",{"title":117,"path":118,"stem":119,"icon":120},"Import a file","\u002Fresponses-and-insights\u002Fimport-a-file","4.responses-and-insights\u002F7.import-a-file","i-lucide-file-up",{"title":122,"path":123,"stem":124,"icon":125},"Send through the API","\u002Fresponses-and-insights\u002Fsend-feedback-through-the-api","4.responses-and-insights\u002F8.send-feedback-through-the-api","i-lucide-send",{"title":127,"path":128,"stem":129,"children":130,"page":141},"Account And Billing","\u002Faccount-and-billing","5.account-and-billing",[131,136],{"title":132,"path":133,"stem":134,"icon":135},"Plans and billing","\u002Faccount-and-billing\u002Fplans-and-billing","5.account-and-billing\u002F1.plans-and-billing","i-lucide-credit-card",{"title":137,"path":138,"stem":139,"icon":140},"Security and profile","\u002Faccount-and-billing\u002Fsecurity-and-profile","5.account-and-billing\u002F2.security-and-profile","i-lucide-shield",false,{"title":143,"path":144,"stem":145,"children":146,"icon":148},"Connect an AI assistant","\u002Fconnect-an-ai-assistant","6.connect-an-ai-assistant\u002F1.index",[147,149,154,159,164,169,173,178],{"title":143,"path":144,"stem":145,"icon":148},"i-lucide-bot",{"title":150,"path":151,"stem":152,"icon":153},"Claude","\u002Fconnect-an-ai-assistant\u002Fclaude","6.connect-an-ai-assistant\u002F2.claude","i-lucide-message-circle",{"title":155,"path":156,"stem":157,"icon":158},"ChatGPT","\u002Fconnect-an-ai-assistant\u002Fchatgpt","6.connect-an-ai-assistant\u002F3.chatgpt","i-lucide-message-square",{"title":160,"path":161,"stem":162,"icon":163},"Claude Code","\u002Fconnect-an-ai-assistant\u002Fclaude-code","6.connect-an-ai-assistant\u002F4.claude-code","i-lucide-terminal",{"title":165,"path":166,"stem":167,"icon":168},"Cursor","\u002Fconnect-an-ai-assistant\u002Fcursor","6.connect-an-ai-assistant\u002F5.cursor","i-lucide-mouse-pointer-2",{"title":170,"path":171,"stem":172,"icon":57},"Tools and permissions","\u002Fconnect-an-ai-assistant\u002Ftools-and-permissions","6.connect-an-ai-assistant\u002F6.tools-and-permissions",{"title":174,"path":175,"stem":176,"icon":177},"What the assistant sees","\u002Fconnect-an-ai-assistant\u002Fwhat-the-assistant-sees","6.connect-an-ai-assistant\u002F7.what-the-assistant-sees","i-lucide-eye",{"title":179,"path":180,"stem":181,"icon":182},"Example prompts","\u002Fconnect-an-ai-assistant\u002Fexample-prompts","6.connect-an-ai-assistant\u002F8.example-prompts","i-lucide-sparkles",{"id":184,"title":185,"body":186,"description":654,"extension":655,"links":656,"meta":657,"navigation":658,"path":18,"seo":659,"stem":19,"__hash__":660},"docs\u002F1.getting-started\u002F3.projects.md","Projects and the API",{"type":187,"value":188,"toc":648},"minimark",[189,193,198,202,215,218,222,255,297,453,459,463,469,528,540,544,547,575,584,635,644],[190,191,185],"h1",{"id":192},"projects-and-the-api",[194,195,197],"h2",{"id":196},"what-projects-are-for","What projects are for",[199,200,201],"p",{},"A project is one product, brand or client you collect feedback for. Each project has its own\nsurveys, responses and insights, and nothing from one project shows up in another. One account,\none plan and one set of API keys cover all of your projects.",[199,203,204,205,209,210,214],{},"In the panel, the project is part of the page address as a short code, for example\n",[206,207,208],"code",{},"app.rawquotes.io\u002Fk7x2m9qa\u002Fsurveys",", and you switch projects with the project switcher in the\nsidebar, which is always there, even when you have only one project. Every account starts with\none project, named ",[211,212,213],"strong",{},"Default","; rename it in the panel.",[199,216,217],{},"Each survey belongs to exactly one project, chosen when the survey is created, and it can't be\nmoved later. Projects hold surveys and other sources: how a survey is shown, answered and counted doesn't\nchange. Projects are created, renamed and deleted in the panel.",[194,219,221],{"id":220},"find-your-project-ids","Find your project ids",[199,223,224,225,229,230,233,234,236,237,240,241,244,245,247,248,251,252,254],{},"List the projects with your ",[226,227,228],"a",{"href":13},"API key",". Each item has an ",[206,231,232],{},"id",", a ",[206,235,206],{},", a\n",[206,238,239],{},"name"," and a ",[206,242,243],{},"createdAt",". The API always takes the ",[206,246,232],{}," as ",[206,249,250],{},"projectId","; the ",[206,253,206],{}," is only the\npanel's short address.",[256,257,262],"pre",{"className":258,"code":259,"language":260,"meta":261,"style":261},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","curl https:\u002F\u002Fapp.rawquotes.io\u002Fapi\u002Fv1\u002Fprojects \\\n  -H \"Authorization: Bearer rq_live_YOUR_KEY\"\n","bash","",[206,263,264,281],{"__ignoreMap":261},[265,266,269,273,277],"span",{"class":267,"line":268},"line",1,[265,270,272],{"class":271},"sBMFI","curl",[265,274,276],{"class":275},"sfazB"," https:\u002F\u002Fapp.rawquotes.io\u002Fapi\u002Fv1\u002Fprojects",[265,278,280],{"class":279},"sTEyZ"," \\\n",[265,282,284,287,291,294],{"class":267,"line":283},2,[265,285,286],{"class":275},"  -H",[265,288,290],{"class":289},"sMK4o"," \"",[265,292,293],{"class":275},"Authorization: Bearer rq_live_YOUR_KEY",[265,295,296],{"class":289},"\"\n",[256,298,302],{"className":299,"code":300,"language":301,"meta":261,"style":261},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"items\": [{ \"id\": \"YOUR-PROJECT-ID\", \"code\": \"k7x2m9qa\", \"name\": \"My product\", \"createdAt\": \"2026-10-14T09:00:00+00:00\" }],\n  \"total\": 1,\n  \"page\": 1,\n  \"perPage\": 50\n}\n","json",[206,303,304,309,397,416,432,447],{"__ignoreMap":261},[265,305,306],{"class":267,"line":268},[265,307,308],{"class":289},"{\n",[265,310,311,314,318,321,324,327,329,331,333,335,337,340,342,345,347,349,351,353,355,358,360,362,364,366,368,370,372,375,377,379,381,383,385,387,389,392,394],{"class":267,"line":283},[265,312,313],{"class":289},"  \"",[265,315,317],{"class":316},"spNyl","items",[265,319,320],{"class":289},"\"",[265,322,323],{"class":289},":",[265,325,326],{"class":289}," [{",[265,328,290],{"class":289},[265,330,232],{"class":271},[265,332,320],{"class":289},[265,334,323],{"class":289},[265,336,290],{"class":289},[265,338,339],{"class":275},"YOUR-PROJECT-ID",[265,341,320],{"class":289},[265,343,344],{"class":289},",",[265,346,290],{"class":289},[265,348,206],{"class":271},[265,350,320],{"class":289},[265,352,323],{"class":289},[265,354,290],{"class":289},[265,356,357],{"class":275},"k7x2m9qa",[265,359,320],{"class":289},[265,361,344],{"class":289},[265,363,290],{"class":289},[265,365,239],{"class":271},[265,367,320],{"class":289},[265,369,323],{"class":289},[265,371,290],{"class":289},[265,373,374],{"class":275},"My product",[265,376,320],{"class":289},[265,378,344],{"class":289},[265,380,290],{"class":289},[265,382,243],{"class":271},[265,384,320],{"class":289},[265,386,323],{"class":289},[265,388,290],{"class":289},[265,390,391],{"class":275},"2026-10-14T09:00:00+00:00",[265,393,320],{"class":289},[265,395,396],{"class":289}," }],\n",[265,398,400,402,405,407,409,413],{"class":267,"line":399},3,[265,401,313],{"class":289},[265,403,404],{"class":316},"total",[265,406,320],{"class":289},[265,408,323],{"class":289},[265,410,412],{"class":411},"sbssI"," 1",[265,414,415],{"class":289},",\n",[265,417,419,421,424,426,428,430],{"class":267,"line":418},4,[265,420,313],{"class":289},[265,422,423],{"class":316},"page",[265,425,320],{"class":289},[265,427,323],{"class":289},[265,429,412],{"class":411},[265,431,415],{"class":289},[265,433,435,437,440,442,444],{"class":267,"line":434},5,[265,436,313],{"class":289},[265,438,439],{"class":316},"perPage",[265,441,320],{"class":289},[265,443,323],{"class":289},[265,445,446],{"class":411}," 50\n",[265,448,450],{"class":267,"line":449},6,[265,451,452],{"class":289},"}\n",[199,454,455,458],{},[206,456,457],{},"GET \u002Fapi\u002Fv1\u002Fprojects\u002F{projectId}"," returns one project.",[194,460,462],{"id":461},"create-a-survey-in-a-project","Create a survey in a project",[199,464,465,466,468],{},"Send the project in the request body as ",[206,467,250],{},". It is required.",[256,470,472],{"className":258,"code":471,"language":260,"meta":261,"style":261},"curl -X POST https:\u002F\u002Fapp.rawquotes.io\u002Fapi\u002Fv1\u002Fsurveys \\\n  -H \"Authorization: Bearer rq_live_YOUR_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"projectId\": \"YOUR-PROJECT-ID\", \"name\": \"Post-purchase\", \"questions\": [ … ]}'\n",[206,473,474,489,501,514],{"__ignoreMap":261},[265,475,476,478,481,484,487],{"class":267,"line":268},[265,477,272],{"class":271},[265,479,480],{"class":275}," -X",[265,482,483],{"class":275}," POST",[265,485,486],{"class":275}," https:\u002F\u002Fapp.rawquotes.io\u002Fapi\u002Fv1\u002Fsurveys",[265,488,280],{"class":279},[265,490,491,493,495,497,499],{"class":267,"line":283},[265,492,286],{"class":275},[265,494,290],{"class":289},[265,496,293],{"class":275},[265,498,320],{"class":289},[265,500,280],{"class":279},[265,502,503,505,507,510,512],{"class":267,"line":399},[265,504,286],{"class":275},[265,506,290],{"class":289},[265,508,509],{"class":275},"Content-Type: application\u002Fjson",[265,511,320],{"class":289},[265,513,280],{"class":279},[265,515,516,519,522,525],{"class":267,"line":418},[265,517,518],{"class":275},"  -d",[265,520,521],{"class":289}," '",[265,523,524],{"class":275},"{\"projectId\": \"YOUR-PROJECT-ID\", \"name\": \"Post-purchase\", \"questions\": [ … ]}",[265,526,527],{"class":289},"'\n",[199,529,530,531,534,535,539],{},"The ",[206,532,533],{},"questions"," list is shown in full in the ",[226,536,538],{"href":537},"\u002Fapi-reference","API reference",".",[194,541,543],{"id":542},"list-data-from-a-project","List data from a project",[199,545,546],{},"The lists of surveys and responses take the project as a query parameter. It is required.",[256,548,550],{"className":258,"code":549,"language":260,"meta":261,"style":261},"curl \"https:\u002F\u002Fapp.rawquotes.io\u002Fapi\u002Fv1\u002Fsurveys?projectId=YOUR-PROJECT-ID\" \\\n  -H \"Authorization: Bearer rq_live_YOUR_KEY\"\n",[206,551,552,565],{"__ignoreMap":261},[265,553,554,556,558,561,563],{"class":267,"line":268},[265,555,272],{"class":271},[265,557,290],{"class":289},[265,559,560],{"class":275},"https:\u002F\u002Fapp.rawquotes.io\u002Fapi\u002Fv1\u002Fsurveys?projectId=YOUR-PROJECT-ID",[265,562,320],{"class":289},[265,564,280],{"class":279},[265,566,567,569,571,573],{"class":267,"line":283},[265,568,286],{"class":275},[265,570,290],{"class":289},[265,572,293],{"class":275},[265,574,296],{"class":289},[199,576,577,578,580,581,539],{},"The same ",[206,579,250],{}," is required on ",[206,582,583],{},"GET \u002Fapi\u002Fv1\u002Fresponses",[585,586,587,600],"table",{},[588,589,590],"thead",{},[591,592,593,597],"tr",{},[594,595,596],"th",{},"Request",[594,598,599],{},"Result",[601,602,603,620],"tbody",{},[591,604,605,611],{},[606,607,608,610],"td",{},[206,609,250],{}," missing",[606,612,613,616,617],{},[206,614,615],{},"400"," with ",[206,618,619],{},"validation.failed",[591,621,622,627],{},[606,623,624,626],{},[206,625,250],{}," unknown, or belonging to another account",[606,628,629,616,632],{},[206,630,631],{},"404",[206,633,634],{},"project.not_found",[199,636,637,638,641,642,539],{},"Routes that already name a single survey or response in the address, such as\n",[206,639,640],{},"POST \u002Fapi\u002Fv1\u002Fsurveys\u002F{surveyId}\u002Ffills",", need no ",[206,643,250],{},[645,646,647],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}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 .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 .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}",{"title":261,"searchDepth":283,"depth":283,"links":649},[650,651,652,653],{"id":196,"depth":283,"text":197},{"id":220,"depth":283,"text":221},{"id":461,"depth":283,"text":462},{"id":542,"depth":283,"text":543},"What a project is, how to find project ids with an API key, and how to pass projectId when you create surveys and list data.","md",null,{},{"title":17,"icon":20},{"title":185,"description":654},"FG1plWC0y35DTTwG0zAXVDfTSkN12KGENRA5lYkS7kc",[662,664],{"title":12,"path":13,"stem":14,"description":663,"icon":15,"children":-1},"Create an API key in the panel, send an authenticated request and retry safely with an Idempotency-Key.",{"title":22,"path":23,"stem":24,"description":665,"icon":27,"children":-1},"How to add the RawQuotes survey widget to your site.",1793642221791]