[{"data":1,"prerenderedAt":367},["ShallowReactive",2],{"page:\u002Fapi-references\u002Fproject\u002Fcomment-create":3},{"id":4,"title":5,"apiPage":6,"body":7,"description":337,"extension":338,"layout":339,"meta":340,"navigation":6,"path":341,"playground":342,"seo":364,"stem":365,"__hash__":366},"docs\u002Fapi-references\u002Fproject\u002Fcomment-create.md","Create Comment (Project)",true,{"type":8,"value":9,"toc":329},"minimark",[10,14,19,26,30,224,228,233,242,246,254,261,271,279,288,300,304,310,316,325],[11,12,5],"h1",{"id":13},"create-comment-project",[15,16],"api-endpoint",{"method":17,"url":18},"POST","\u002Fapi\u002Fprojects\u002F:id\u002Fcomments",[20,21],"api-requirements",{":roles":22,"mcp":23,"scope":24,"tier":25},"[\"OWNER\",\"ADMIN\",\"MEMBER\",\"REVIEWER\",\"RESTRICTED_REVIEWER\"]","create_project_comment","comments:write","4",[27,28,29],"p",{},"Creates a comment or reply on a project.",[31,32,34,39,102,149,190],"api-example",{"method":17,"url":18,"status":33},"201 Created",[35,36,38],"h2",{"id":37},"example","Example",[40,41,46],"pre",{"className":42,"code":43,"language":44,"meta":45,"style":45},"language-bash shiki shiki-themes ayu-light ayu-light ayu-dark","curl -X POST 'https:\u002F\u002Fapi.youvico.com\u002Fapi\u002Fprojects\u002Fbdbff5de-96d7-468f-9db0-85fe28bd6b62\u002Fcomments' \\\n  -H 'Authorization: Bearer YOUR_API_KEY' \\\n  -H 'Content-Type: application\u002Fjson' \\\n  -d '{ \"content\": \"Project brief is ready for review.\", \"attachments\": [{ \"id\": \"CA1234567890ABCD\" }] }'\n","bash","",[47,48,49,72,83,93],"code",{"__ignoreMap":45},[50,51,54,58,62,66,69],"span",{"class":52,"line":53},"line",1,[50,55,57],{"class":56},"s6MYo","curl",[50,59,61],{"class":60},"sTJUr"," -X",[50,63,65],{"class":64},"sHwJV"," POST",[50,67,68],{"class":64}," 'https:\u002F\u002Fapi.youvico.com\u002Fapi\u002Fprojects\u002Fbdbff5de-96d7-468f-9db0-85fe28bd6b62\u002Fcomments'",[50,70,71],{"class":60}," \\\n",[50,73,75,78,81],{"class":52,"line":74},2,[50,76,77],{"class":60},"  -H",[50,79,80],{"class":64}," 'Authorization: Bearer YOUR_API_KEY'",[50,82,71],{"class":60},[50,84,86,88,91],{"class":52,"line":85},3,[50,87,77],{"class":60},[50,89,90],{"class":64}," 'Content-Type: application\u002Fjson'",[50,92,71],{"class":60},[50,94,96,99],{"class":52,"line":95},4,[50,97,98],{"class":60},"  -d",[50,100,101],{"class":64}," '{ \"content\": \"Project brief is ready for review.\", \"attachments\": [{ \"id\": \"CA1234567890ABCD\" }] }'\n",[40,103,107],{"className":104,"code":105,"language":106,"meta":45,"style":45},"language-json shiki shiki-themes ayu-light ayu-light ayu-dark","{\n  \"data\": {\n    \"id\": \"e3a9c4f1-5b2d-4c8e-9f7a-1d6b8e2c4a90\"\n  }\n}\n","json",[47,108,109,115,128,138,143],{"__ignoreMap":45},[50,110,111],{"class":52,"line":53},[50,112,114],{"class":113},"snvv_","{\n",[50,116,117,121,125],{"class":52,"line":74},[50,118,120],{"class":119},"soLcz","  \"data\"",[50,122,124],{"class":123},"sgRSP",":",[50,126,127],{"class":113}," {\n",[50,129,130,133,135],{"class":52,"line":85},[50,131,132],{"class":119},"    \"id\"",[50,134,124],{"class":123},[50,136,137],{"class":64}," \"e3a9c4f1-5b2d-4c8e-9f7a-1d6b8e2c4a90\"\n",[50,139,140],{"class":52,"line":95},[50,141,142],{"class":113},"  }\n",[50,144,146],{"class":52,"line":145},5,[50,147,148],{"class":113},"}\n",[150,151,152],"template",{"v-slot:request":45},[40,153,154],{"className":42,"code":43,"language":44,"meta":45,"style":45},[47,155,156,168,176,184],{"__ignoreMap":45},[50,157,158,160,162,164,166],{"class":52,"line":53},[50,159,57],{"class":56},[50,161,61],{"class":60},[50,163,65],{"class":64},[50,165,68],{"class":64},[50,167,71],{"class":60},[50,169,170,172,174],{"class":52,"line":74},[50,171,77],{"class":60},[50,173,80],{"class":64},[50,175,71],{"class":60},[50,177,178,180,182],{"class":52,"line":85},[50,179,77],{"class":60},[50,181,90],{"class":64},[50,183,71],{"class":60},[50,185,186,188],{"class":52,"line":95},[50,187,98],{"class":60},[50,189,101],{"class":64},[150,191,192],{"v-slot:response":45},[40,193,194],{"className":104,"code":105,"language":106,"meta":45,"style":45},[47,195,196,200,208,216,220],{"__ignoreMap":45},[50,197,198],{"class":52,"line":53},[50,199,114],{"class":113},[50,201,202,204,206],{"class":52,"line":74},[50,203,120],{"class":119},[50,205,124],{"class":123},[50,207,127],{"class":113},[50,209,210,212,214],{"class":52,"line":85},[50,211,132],{"class":119},[50,213,124],{"class":123},[50,215,137],{"class":64},[50,217,218],{"class":52,"line":95},[50,219,142],{"class":113},[50,221,222],{"class":52,"line":145},[50,223,148],{"class":113},[35,225,227],{"id":226},"request","Request",[229,230,232],"h3",{"id":231},"path","Path",[234,235,239],"param-field",{"name":236,"type":237,":required":238},"id","string","true",[27,240,241],{},"Project ID",[229,243,245],{"id":244},"body","Body",[234,247,251],{"name":248,"type":237,"constraints":249,"example":250},"content","Maximum 5000 characters","Project brief is ready for review.",[27,252,253],{},"Comment text",[234,255,258],{"name":256,"type":257},"parent","object",[27,259,260],{},"Parent comment. Omit to create a top-level comment",[262,263,264],"param-children",{},[234,265,268],{"name":266,"type":237,":indent":238,":required":238,"constraints":267},"parent.id","UUID",[27,269,270],{},"Top-level comment ID",[234,272,276],{"name":273,"type":274,"constraints":275},"attachments","array","1-10 items, unique IDs",[27,277,278],{},"Comment attachments",[262,280,281],{},[234,282,285],{"name":283,"type":237,":indent":238,":required":238,"example":284},"attachments[].id","CA1234567890ABCD",[27,286,287],{},"Completed comment attachment ID",[289,290,291],"note",{},[27,292,293,294,296,297,299],{},"Send at least one of ",[47,295,248],{}," or ",[47,298,273],{}," with a value.",[35,301,303],{"id":302},"response","Response",[27,305,306,307,309],{},"Returns ",[47,308,33],{},".",[234,311,313],{"name":312,"type":257},"data",[27,314,315],{},"Created comment",[262,317,318],{},[234,319,322],{"name":320,"type":237,":indent":238,"example":321},"data.id","e3a9c4f1-5b2d-4c8e-9f7a-1d6b8e2c4a90",[27,323,324],{},"ID of the created comment",[326,327,328],"style",{},"html pre.shiki code .s6MYo, html code.shiki .s6MYo{--shiki-light:#22A4E6;--shiki-default:#22A4E6;--shiki-dark:#59C2FF}html pre.shiki code .sTJUr, html code.shiki .sTJUr{--shiki-light:#4CBF99;--shiki-default:#4CBF99;--shiki-dark:#95E6CB}html pre.shiki code .sHwJV, html code.shiki .sHwJV{--shiki-light:#86B300;--shiki-default:#86B300;--shiki-dark:#AAD94C}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 .snvv_, html code.shiki .snvv_{--shiki-light:#5C6166;--shiki-default:#5C6166;--shiki-dark:#BFBDB6}html pre.shiki code .soLcz, html code.shiki .soLcz{--shiki-light:#55B4D4;--shiki-default:#55B4D4;--shiki-dark:#39BAE6}html pre.shiki code .sgRSP, html code.shiki .sgRSP{--shiki-light:#5C6166B3;--shiki-default:#5C6166B3;--shiki-dark:#BFBDB6B3}",{"title":45,"searchDepth":95,"depth":95,"links":330},[331,332,336],{"id":37,"depth":74,"text":38},{"id":226,"depth":74,"text":227,"children":333},[334,335],{"id":231,"depth":85,"text":232},{"id":244,"depth":85,"text":245},{"id":302,"depth":74,"text":303},"Post a comment or reply on a whole project rather than a single file. You can mention teammates and attach uploaded files.","md",null,{},"\u002Fapi-references\u002Fproject\u002Fcomment-create",{"method":17,"path":18,"params":343,"body":346,"fields":347},[344],{"name":236,"example":345,"type":237,"required":6,"constraints":45,"description":241},"bdbff5de-96d7-468f-9db0-85fe28bd6b62","{\n  \"content\": \"Project brief is ready for review.\",\n  \"attachments\": [\n    {\n      \"id\": \"CA1234567890ABCD\"\n    }\n  ]\n}",[348,352,358],{"key":248,"type":237,"required":349,"constraints":249,"description":253,"values":350,"array":349,"children":351},false,[],[],{"key":256,"type":257,"required":349,"constraints":45,"description":260,"values":353,"array":349,"children":354},[],[355],{"key":236,"type":237,"required":6,"constraints":267,"description":270,"values":356,"array":349,"children":357},[],[],{"key":273,"type":274,"required":349,"constraints":275,"description":278,"values":359,"array":6,"children":360},[],[361],{"key":236,"type":237,"required":6,"constraints":45,"description":287,"values":362,"array":349,"children":363},[],[],{"title":5,"description":337},"api-references\u002Fproject\u002Fcomment-create","GiV96wn5TsAnbXpssol-CPNGDMz-AQ-R9UJ-F90KXWU",1792305902954]