cURL
curl --request POST \ --url https://app.usequeue.com/api/v1/files/{file_id}/file_comments \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "text": "<string>", "private": true } '
{ "id": 97, "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "text": "changed hehe", "file": { "id": "529e15ad83ee", "title": "10x faster.png", "link": "<string>" }, "user": { "username": "<string>", "email": "[email protected]", "avatar": "<string>" }, "private": false, "comments": [ { "id": 3, "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "body": "<p>nested reply</p>", "user": { "username": "<string>", "email": "[email protected]", "avatar": "<string>" }, "file_comment_id": 97, "private": true } ] }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Created file comment
97
"changed hehe"
Show child attributes
"529e15ad83ee"
"10x faster.png"
false
3
"<p>nested reply</p>"