# Default folder

```http
GET https://api.synup.com/api/v4/folders/default
```

Returns the default folder (ID and name) configured for the specified user within the account. Returns null if the user has no default folder set.

Source: https://developer.synup.com/api/organizing-locations/default-folder

## Query parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `userId` | integer | required | ID of the user whose default folder should be fetched. |

## Header parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `Synup-Version` | string | required | API version date (YYYY-MM-DD). |

## Example request

```bash
curl -X GET 'https://api.synup.com/api/v4/folders/default' \
  -H 'Authorization: API YOUR_API_KEY' \
  -H 'Content-Type: application/json'
```

## Responses

| Status | Description |
| --- | --- |
| `200` | Successful response |
| `401` | Unauthorized - Invalid or missing API key |
