# Add preview to comment **POST /actions/tasks/{task_id}/comments/{comment_id}/preview-files/{preview_file_id}** Add a preview to a comment by uploading a file in multipart form data. ## Servers - http://api.example.com: http://api.example.com () ## Authentication methods - Jwt authorization ## Parameters ### Path parameters - **task_id** (string(uuid)) - **comment_id** (string(uuid)) - **preview_file_id** (string(uuid)) ### Body: multipart/form-data (object) - **file** (string(binary)) Preview file to upload ## Responses ### 201 Preview added to comment #### Body: application/json (object) - **id** (string(uuid)) - **comment_id** (string(uuid)) - **task_id** (string(uuid)) - **revision** (integer) - **person_id** (string(uuid)) ### 400 Bad request [Powered by Bump.sh](https://bump.sh)