---
title: "Default folder"
method: GET
path: "/folders/default"
tags: ["Organizing locations"]
---

# Default folder

`GET /folders/default`

## Request

- Base URL: `https://api.synup.com/api/v4`
- URL: `https://api.synup.com/api/v4/folders/default`
- Auth: none required
- TypeScript: <https://skmtc.dev/synup/apis/synup-api/docs/folders/default/get.ts> (a function with typed inputs; its response is checked against the schema)

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.

## Query parameters

- `userId` integer, required

## Headers

- `Synup-Version` string, required
- `Authorization` string, required

## Response `200`

Successful response

- object
  - `data` object
    - `defaultFolder` DefaultFolderType
      - `id` string: Default folder ID.
      - `name` string: Default folder name.

## Other responses

- `401`: Unauthorized - Invalid or missing API key

---

[API](https://skmtc.dev/synup/apis/synup-api.md) - [All operations](https://skmtc.dev/synup/apis/synup-api/llms.txt) - [OpenAPI document](https://skmtc.dev/synup/apis/synup-api/revisions/67de2d51c22e?raw)
