---
title: "List my assets"
method: GET
path: "/api/assets/mine"
tags: ["Media"]
---

# List my assets

`GET /api/assets/mine`

## Request

- Base URL: `https://api-app.postnext.io`
- URL: `https://api-app.postnext.io/api/assets/mine`
- Auth: API key in header `x-api-key`

## Query parameters

- `page` integer
- `limit` integer
- `folderId` string

## Response `200`

Paginated assets

- object
  - `success` boolean
  - `data` Asset[]
    - `_id` string
    - `teamId` string
    - `userId` string
    - `folderId` string, nullable
    - `name` string: Stored (S3) filename.
    - `originalName` string
    - `type` string: MIME type (stored under `type`, not `mimeType`).
    - `url` string, uri
    - `size` integer: Bytes.
    - `width` integer
    - `height` integer
    - `displayName` string
    - `source` 'user_upload' | 'unsplash' | 'pixabay' | 'pexels' | 'brand_scraper' | 'ai_generated' | 'other'
    - `createdAt` string, date-time
    - `updatedAt` string, date-time
  - `pagination` AssetPagination
    - `total` integer
    - `page` integer
    - `limit` integer
    - `totalPages` integer
    - `hasMore` boolean

## Other responses

- `400`: Invalid pagination parameters
- `401`: Missing or invalid API key

---

[API](https://skmtc.dev/postnext/apis/postnext-public-api.md) · [All operations](https://skmtc.dev/postnext/apis/postnext-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/postnext/apis/postnext-public-api/revisions/c0bf3aa03271?raw)
