---
title: "Assign Lists To Folder"
method: PUT
path: "/lists/folders/assignments"
tags: ["Lists"]
---

# Assign Lists To Folder

`PUT /lists/folders/assignments`

## Request

- Base URL: `https://be.graph8.com/api/v1`
- URL: `https://be.graph8.com/api/v1/lists/folders/assignments`
- Auth: HTTP bearer

File up to 500 lists into one folder, or out of every folder. FREE.

All or nothing: if ANY list is not visible to the key the whole call is a
404 and nothing moves, so a caller cannot learn which ids exist by which
ones were filed. `folder_id` null unfiles them.

## Headers

- `Authorization` string, nullable
- `X-Target-Org-Id` string, nullable

## Request body

- ListFolderBulkAssignRequest: File several lists into one folder.
  - `folder_id` string, uuid, nullable: The folder. Null takes the list OUT of every folder.
  - `audience_ids` integer[], required: The lists to move, 1 to 500.

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/graph8/apis/graph8-developer-api.md) · [All operations](https://skmtc.dev/graph8/apis/graph8-developer-api/llms.txt) · [OpenAPI document](https://skmtc.dev/graph8/apis/graph8-developer-api/revisions/2e7cfa0ca921?raw)
