# Set time spent **POST /actions/tasks/{task_id}/time-spents/{date}/persons/{person_id}** ## Servers - http://api.example.com: http://api.example.com () ## Authentication methods - Jwt authorization ## Parameters ### Path parameters - **task_id** (string(uuid)) - **date** (string(date)) - **person_id** (string(uuid)) ### Body: application/json (object) - **duration** (number) ## Responses ### 201 Time spent set for the person on the task and day #### Body: application/json (object) - **id** (string(uuid)) - **task_id** (string(uuid)) - **person_id** (string(uuid)) - **date** (string(date)) - **duration** (number) - **created_at** (string(date-time)) ### 400 Invalid parameters [Powered by Bump.sh](https://bump.sh)