# Add task preview **POST /actions/tasks/{task_id}/comments/{comment_id}/add-preview** Add preview metadata to a task. The preview file is uploaded after. Revision is auto set to last + 1. It can also be set manually. ## Servers - http://api.example.com: http://api.example.com () ## Authentication methods - Jwt authorization ## Parameters ### Path parameters - **task_id** (string(uuid)) - **comment_id** (string(uuid)) ### Body: application/json (object) - **revision** (integer) Revision number for the preview ## Responses ### 201 Preview metadata added to task #### Body: application/json (object) - **id** (string(uuid)) - **comment_id** (string(uuid)) - **task_id** (string(uuid)) - **revision** (integer) - **person_id** (string(uuid)) - **created_at** (string(date-time)) ### 400 Bad request [Powered by Bump.sh](https://bump.sh)