# Get project detail

`GET /api/project/{projectId}`

URL: https://repsona.com/api/get-project-projectid

Returns project profile, holiday settings and members. Project members only.

## Parameters

| name | in | type | required | description |
| --- | --- | --- | --- | --- |
| `projectId` | path | integer | required | The project ID. |

## Request

```sh
curl -X GET "https://<space>.repsona.com/api/project/{projectId}" \
  -H "Authorization: Bearer $REPSONA_API_KEY"
```

## Responses

- 200: Project detail
- 401: Authentication is required
- 403: Not a project member
- 404: Project not found

## Example response

```json
{
  "id": 253,
  "name": "WEB",
  "fullName": "Website renewal",
  "purpose": "",
  "avatarUrl": "",
  "backgroundUrl": "",
  "productImageUrl": "",
  "isClosed": false,
  "isPublic": false,
  "free": true,
  "holidays": [],
  "regularHolidays": [
    0,
    6
  ],
  "members": [
    {
      "id": 987,
      "name": "sam.carter",
      "fullName": "Sam Carter",
      "avatarUrl": null,
      "color": null,
      "state": "active"
    },
    {
      "id": 988,
      "name": "reon.walls",
      "fullName": "Reon Walls",
      "avatarUrl": null,
      "color": null,
      "state": "active"
    }
  ],
  "hasTask": false
}
```
