---
title: "List all attachments"
method: POST
path: "/attachments.list"
tags: ["Attachments"]
---

# List all attachments

`POST /attachments.list`

## Request

- Base URL: `https://app.getoutline.com/api`
- URL: `https://app.getoutline.com/api/attachments.list`
- Auth: one of:
  - HTTP bearer
  - OAuth 2
    - Authorization code: `https://app.getoutline.com/oauth/authorize`
    - Token URL: `https://app.getoutline.com/oauth/token` scopes: `read`, `write`

List all attachments in the workspace, optionally filtered by the document or user they are associated with.

## Request body

- object
  - `offset` number
  - `limit` number
  - `sort` string
  - `direction` 'ASC' | 'DESC'
  - `documentId` string, uuid: Filter to attachments associated with this document.
  - `userId` string, uuid: Filter to attachments uploaded by this user.

## Response `200`

OK

- object
  - `data` Attachment[]
    - `contentType` string
    - `size` string: The size of the attachment in bytes. Returned as a string as the value may exceed the safe integer range.
    - `name` string
    - `url` string, uri
    - `documentId` string, uuid, nullable: Identifier for the associated document, if any.
    - `userId` string, uuid: Identifier for the user that created the attachment.
  - `pagination` Pagination
    - `offset` number
    - `limit` number
  - `policies` Policy[]
    - `id` string, uuid: Unique identifier for the object this policy references.
    - `abilities` object: The abilities that are allowed by this policy, if an array is returned then the individual ID's in the array represent the memberships that grant the ability.

## Other responses

- `400`: The request failed one or more validations.
- `401`: The API key is missing or otherwise invalid.
- `403`: The current API key is not authorized to perform this action.
- `429`: The request was rate limited.

## Changes

- **2026-09-05** `6287bce7caad`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/defaulr/apis/outline-api/changes/attachments.list/post.md)

---

[API](https://skmtc.dev/defaulr/apis/outline-api.md) - [All operations](https://skmtc.dev/defaulr/apis/outline-api/llms.txt) - [OpenAPI document](https://skmtc.dev/defaulr/apis/outline-api/revisions/5ddf01ffba84?raw)
