---
title: "Content API"
description: "Browse synced and generated content"
canonical_url: https://reelmirror.com/docs/api/content
markdown_url: https://reelmirror.com/docs/api/content.md
last_updated: 2026-11-09
---
# ReelMirror API reference: Content

> Browse synced and generated content

The ReelMirror API is in beta. Base URL: `https://reelmirror.com/api` (every path starts with `/v1`). Authenticate every request with `Authorization: Bearer rm_...`. Machine-readable contract: https://reelmirror.com/docs/openapi.json.

## Endpoints

- [Get generated post](https://reelmirror.com/docs/api/content#get-generated-post): `GET /v1/generated-posts/{post_id}`
- [Delete generated post](https://reelmirror.com/docs/api/content#delete-generated-post): `DELETE /v1/generated-posts/{post_id}`
- [Get generated media item](https://reelmirror.com/docs/api/content#get-generated-media-item): `GET /v1/generated-media-items/{item_id}`
- [Delete generated media item](https://reelmirror.com/docs/api/content#delete-generated-media-item): `DELETE /v1/generated-media-items/{item_id}`
- [List source posts](https://reelmirror.com/docs/api/content#list-source-posts): `GET /v1/personas/{persona_id}/source-posts`
- [List generated posts](https://reelmirror.com/docs/api/content#list-generated-posts): `GET /v1/personas/{persona_id}/generated-posts`

### Get generated post

`GET /v1/generated-posts/{post_id}`

Authentication: bearer token · Operation ID: `getGeneratedPost`

Get a generated post with all its media items. Use for polling generation status. Soft-deleted posts are excluded.

#### Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `post_id` | string | Yes |  |

#### Response 200

Generated post with media items

Fields inside `data`:

- `id` (string, uuid; optional)
- `persona_id` (string, uuid; optional)
- `source_post_id` (string, uuid; optional)
- `status` (string, one of `pending`, `generating`, `completed`, `partial`, `failed`; optional)
- `review_status` (string | null, one of `pending_review`, `approved`, `rejected`, `published`; optional): Review lifecycle state. `pending_review` = awaiting action; `approved` = approved but not yet published; `rejected` = rejected; `published` = published to at least one account.
- `trigger_source` (string | null, one of `manual`, `auto_clone`, `api`; optional): How this generation was triggered. `manual` = user-initiated, `auto_clone` = automatic cloning from source, `api` = via API.
- `caption` (string | null; optional)
- `error` (string | null; optional): Error message when status is `failed`
- `media_items` (array of object; optional)
  - `id` (string, uuid; optional)
  - `media_type` (string, one of `image`, `video`; optional)
  - `position` (integer; optional)
  - `status` (string, one of `pending`, `generating`, `completed`, `failed`; optional)
  - `url` (string | null; optional)
  - `is_public` (boolean; optional)
  - `discount_applied` (boolean; optional)
  - `voice_conversion_status` (string | null; optional)
  - `created_at` (string, date-time; optional)
- `created_at` (string, date-time; optional)
- `updated_at` (string, date-time; optional)

#### Example request

```bash
curl "https://reelmirror.com/api/v1/generated-posts/$POST_ID" \
  -H "Authorization: Bearer $REELMIRROR_API_KEY"
```

### Delete generated post

`DELETE /v1/generated-posts/{post_id}`

Authentication: bearer token · Operation ID: `deleteGeneratedPost`

Soft-delete a generated post and all its media items. The source post can then be re-cloned. R2 files are cleaned up asynchronously.

#### Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `post_id` | string | Yes |  |

#### Response 200

Post deleted

Fields inside `data`:

- `id` (string; optional)
- `deleted` (boolean, one of `true`; optional)

#### Example request

```bash
curl -X DELETE "https://reelmirror.com/api/v1/generated-posts/$POST_ID" \
  -H "Authorization: Bearer $REELMIRROR_API_KEY"
```

### Get generated media item

`GET /v1/generated-media-items/{item_id}`

Authentication: bearer token · Operation ID: `getGeneratedMediaItem`

Get a single generated media item. Use for polling item-level status. Soft-deleted items are excluded.

#### Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `item_id` | string | Yes |  |

#### Response 200

Generated media item

Fields inside `data`:

- `id` (string, uuid; optional)
- `media_type` (string, one of `image`, `video`; optional)
- `position` (integer; optional)
- `status` (string, one of `pending`, `generating`, `completed`, `failed`; optional)
- `url` (string | null; optional)
- `is_public` (boolean; optional)
- `discount_applied` (boolean; optional)
- `voice_conversion_status` (string | null; optional)
- `created_at` (string, date-time; optional)

#### Example request

```bash
curl "https://reelmirror.com/api/v1/generated-media-items/$ITEM_ID" \
  -H "Authorization: Bearer $REELMIRROR_API_KEY"
```

### Delete generated media item

`DELETE /v1/generated-media-items/{item_id}`

Authentication: bearer token · Operation ID: `deleteGeneratedMediaItem`

Soft-delete a single generated media item. R2 files are cleaned up asynchronously.

#### Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `item_id` | string | Yes |  |

#### Response 200

Item deleted

Fields inside `data`:

- `id` (string; optional)
- `deleted` (boolean, one of `true`; optional)

#### Example request

```bash
curl -X DELETE "https://reelmirror.com/api/v1/generated-media-items/$ITEM_ID" \
  -H "Authorization: Bearer $REELMIRROR_API_KEY"
```

### List source posts

`GET /v1/personas/{persona_id}/source-posts`

Authentication: bearer token · Operation ID: `listSourcePosts`

List synced source posts from a persona's tracked creators.

#### Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `persona_id` | string | Yes |  |

#### Query parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `limit` | integer, ≤ 100, default 20 | No | Maximum number of results to return |
| `offset` | integer, default 0 | No | Number of results to skip |

#### Response 200

List of source posts with media items

- `data` (array of object; optional)
  - `id` (string, uuid; optional)
  - `creator_id` (string, uuid; optional)
  - `platform` (string, one of `instagram`, `tiktok`; optional)
  - `platform_post_id` (string; optional)
  - `post_type` (string, one of `image`, `video`, `carousel`; optional)
  - `caption` (string | null; optional)
  - `like_count` (integer | null; optional)
  - `comment_count` (integer | null; optional)
  - `posted_at` (string | null, date-time; optional)
  - `media_items` (array of object; optional)
    - `id` (string, uuid; optional)
    - `media_type` (string, one of `image`, `video`; optional)
    - `position` (integer; optional)
    - `url` (string | null; optional)
    - `duration_seconds` (number | null; optional)
  - `created_at` (string, date-time; optional)
- `count` (integer; optional)

#### Example request

```bash
curl "https://reelmirror.com/api/v1/personas/$PERSONA_ID/source-posts" \
  -H "Authorization: Bearer $REELMIRROR_API_KEY"
```

### List generated posts

`GET /v1/personas/{persona_id}/generated-posts`

Authentication: bearer token · Operation ID: `listGeneratedPosts`

List generated posts for a persona with their media items.

#### Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `persona_id` | string | Yes |  |

#### Query parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `limit` | integer, ≤ 100, default 20 | No | Maximum number of results to return |
| `offset` | integer, default 0 | No | Number of results to skip |
| `status` | string, one of `pending`, `generating`, `completed`, `partial`, `failed` | No | Filter by generation status |
| `review_status` | string, one of `pending_review`, `approved`, `rejected`, `published` | No | Filter by review status |

#### Response 200

List of generated posts

- `data` (array of object; optional)
  - `id` (string, uuid; optional)
  - `persona_id` (string, uuid; optional)
  - `source_post_id` (string, uuid; optional)
  - `status` (string, one of `pending`, `generating`, `completed`, `partial`, `failed`; optional)
  - `review_status` (string | null, one of `pending_review`, `approved`, `rejected`, `published`; optional): Review lifecycle state. `pending_review` = awaiting action; `approved` = approved but not yet published; `rejected` = rejected; `published` = published to at least one account.
  - `trigger_source` (string | null, one of `manual`, `auto_clone`, `api`; optional): How this generation was triggered. `manual` = user-initiated, `auto_clone` = automatic cloning from source, `api` = via API.
  - `caption` (string | null; optional)
  - `error` (string | null; optional): Error message when status is `failed`
  - `media_items` (array of object; optional)
    - `id` (string, uuid; optional)
    - `media_type` (string, one of `image`, `video`; optional)
    - `position` (integer; optional)
    - `status` (string, one of `pending`, `generating`, `completed`, `failed`; optional)
    - `url` (string | null; optional)
    - `is_public` (boolean; optional)
    - `discount_applied` (boolean; optional)
    - `voice_conversion_status` (string | null; optional)
    - `created_at` (string, date-time; optional)
  - `created_at` (string, date-time; optional)
  - `updated_at` (string, date-time; optional)
- `count` (integer; optional)

#### Example request

```bash
curl "https://reelmirror.com/api/v1/personas/$PERSONA_ID/generated-posts" \
  -H "Authorization: Bearer $REELMIRROR_API_KEY"
```

