# Star a note

`POST /api/note/{noteId}/star`

URL: https://repsona.com/api/post-note-noteid-star

## Parameters

| name | in | type | required | description |
| --- | --- | --- | --- | --- |
| `noteId` | path | integer | required | ID of the note. |

## Request

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

## Responses

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

## Example response

```json
{
  "isStarred": true
}
```
