# タスクをフォロー

`POST /api/task/{taskId}/follow`

URL: https://repsona.com/ja/api/post-task-taskid-follow

タスクをフォローします。

## パラメーター

| name | in | type | required | description |
| --- | --- | --- | --- | --- |
| `taskId` | path | integer | 必須 | タスクの ID です。 |

## リクエスト

```sh
curl -X POST "https://<space>.repsona.com/api/task/{taskId}/follow" \
  -H "Authorization: Bearer $REPSONA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

## レスポンス

- 200: Following state
- 401: Authentication is required
- 403: Not a project member
- 404: Task not found

## レスポンスの例

```json
{
  "isFollowing": true
}
```
