# Media review API reference

Base URL `https://api.beplan.io/v1`. Every operation is listed with its scope, permission, inputs, answers, errors and an example. Conventions: https://beplan.io/docs/api.md. OpenAPI document: https://beplan.io/docs/api/openapi.json.

## Assign raw footage

`POST /organizations/{organizationId}/workspaces/{workspaceId}/media-library/items/{mediaId}/raw-footage/assignment` · operationId `media.rawFootage.assign`

- Scope: `media:write`
- Role permission: Manage raw footage (`media:rawFootageManage`)
- Effect (`write`): Changes data in Beplan.
- Idempotency: Send an `Idempotency-Key` to retry safely: the same key with the same body within 24 hours returns the stored response.
- Stability: Beta (May still change before it is marked stable.) Since 2026-11-19.

Assigns raw footage to an editor: `assigneeUserId` omitted assigns yourself, `null` unassigns, a user id assigns them (a member of the organization; assigning someone else also needs the `media:review` permission). Returns the footage. `409 MEDIA_REVIEW_STATE_CONFLICT` unless it is raw footage. Needs the organization's Team Collaboration add-on (`402 PLAN_UPGRADE_REQUIRED` with `details.feature: "team_collaboration"` without it).

**Parameters**

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `organizationId` | path | string | yes | 1–128 characters |
| `workspaceId` | path | string (uuid) | yes |  |
| `mediaId` | path | string (uuid) | yes |  |

**Request body** (JSON, required)

- `assigneeUserId` (string, optional, nullable): The user to assign (a member of the organization: see `…/media-library/mentionable-users`). Omitted: assign yourself; `null`: unassign.

**200 OK**

- `data` (object, required, RawFootageItem)
  - `id` (string, required)
  - `folderId` (string, required, nullable): The folder holding the media; `null` at the root of the library.
  - `filename` (string, required)
  - `altText` (string, required, nullable)
  - `mediaType` (string, required): one of `image`, `video`, `gif`, `audio` (may gain values).
  - `mimeType` (string, required, nullable)
  - `size` (number, required, nullable): File size in bytes, when known.
  - `width` (number, required, nullable): Width in pixels, when known (images at upload, videos once processed); `null` for audio.
  - `height` (number, required, nullable): Height in pixels, when known (images at upload, videos once processed); `null` for audio.
  - `aspectRatio` (number, required): Display ratio (width / height) from the dimensions, clamped to [0.45, 2.4]; `1` when unknown and for audio.
  - `duration` (number, required, nullable): Length in seconds, for videos, GIFs and audio once known (`null` for images).
  - `waveform` (array of number, required, nullable): Audio only: up to 1000 peaks (integers 0–100, 100 = full scale) spread evenly over `duration`. `null` while processing, when processing failed, and for every other type.
  - `createdAt` (string (date-time), required)
  - `formats` (array of object, required)
    - `id` (string, required)
    - `name` (string, required)
    - `color` (string, required)
  - `usage` (string, required): Where the media is used: `unused`; `used` in a post still to publish; `published` only in posts already published (or failed). one of `unused`, `used`, `published`.
  - `processing` (object, required): Upload and processing state: `processing` (videos and audio are being processed), `ready`, or `failed` with a readable `error`. A media can be put in a post while processing.
    - `state` (string, required): one of `processing`, `ready`, `failed` (may gain values).
    - `error` (string, required, nullable)
  - `previewUrl` (string, required, nullable): Signed URL (valid about one hour) of the image itself or of the video's poster; `null` while there is none yet, and always for audio.
  - `mediaUrl` (string, required): Signed URL (valid about one hour) of the original file, served inline. To save the file under its name, use the media's `download-url`.
  - `playback` (object, required, nullable): HLS playback of a processed video (`manifestUrl`, loaded by the Beplan app's player with its session), else `null`. Always `null` through the public API (`/v1`) and MCP: use `mediaUrl`, or the media's `download-url`, to fetch the file.
    - `manifestUrl` (string, required)
  - `publishCopy` (object, required, nullable): The copy sent to platforms that cannot take the original (a JPEG for images, an H.264/AAC MP4 of at most 1080p for videos): its type, pixels and bytes. `null` when every platform takes the original, or while it is being made.
    - `mimeType` (string, required)
    - `width` (number, required)
    - `height` (number, required)
    - `size` (number, required)
  - `transcriptMatch` (object, optional, MediaTranscriptMatch)
    - `snippet` (string, required)
    - `startMs` (number, required)
    - `source` (string, optional): one of `speech`, `scene`.
  - `uploadedBy` (object, required, nullable, MediaPerson)
    - `id` (string, required)
    - `name` (string, required): The member's name. "A member" for an integration that does not hold `members:read` (the id is kept; the Inbox always names them).
    - `image` (string, required, nullable): Their picture's URL; `null` without one, and for an integration that does not hold `members:read` (outside the Inbox).
  - `assignedTo` (object, required, nullable, MediaPerson)
    - `id` (string, required)
    - `name` (string, required): The member's name. "A member" for an integration that does not hold `members:read` (the id is kept; the Inbox always names them).
    - `image` (string, required, nullable): Their picture's URL; `null` without one, and for an integration that does not hold `members:read` (outside the Inbox).
  - `assignedAt` (string (date-time), required, nullable)

**Errors**

| Status | Code | Message |
|---|---|---|
| 402 | `PLAN_UPGRADE_REQUIRED` | Your current plan doesn't include this feature. |
| 403 | `MISSING_PERMISSION` | You don't have permission to do this. |
| 404 | `MEDIA_NOT_FOUND` | This media doesn't exist or was deleted. |
| 404 | `ORGANIZATION_NOT_FOUND` | This organization doesn't exist or you're not a member of it. |
| 404 | `WORKSPACE_NOT_FOUND` | This workspace doesn't exist or you don't have access to it. |
| 409 | `MEDIA_REVIEW_STATE_CONFLICT` | This media isn't at that step of the review anymore. |
| 422 | `ASSIGNEE_NOT_A_MEMBER` | This person isn't a member of the organization. |

Also, like every operation: `VALIDATION_FAILED` (400), `APP_SUSPENDED` (401), `TOKEN_EXPIRED` (401), `TOKEN_REVOKED` (401), `UNAUTHENTICATED` (401), `INSUFFICIENT_SCOPE` (403), `INTEGRATION_BLOCKED_BY_ORGANIZATION` (403), `INTEGRATION_PENDING_APPROVAL` (403), `CONFLICT` (409), `IDEMPOTENCY_KEY_REUSED` (409), `PAYLOAD_TOO_LARGE` (413), `UNSUPPORTED_MEDIA_TYPE` (415), `RATE_LIMITED` (429), `INTERNAL_ERROR` (500).

**Example: Take it yourself**

```bash
curl -X POST "https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/media-library/items/0b6f5a52-7f4e-4c55-9d6f-2f0a6a1c3e11/raw-footage/assignment" \
  -H "Authorization: Bearer beplan_pat_…" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'
```

Answers 200:

```json
{
  "data": {
    "id": "0b6f5a52-7f4e-4c55-9d6f-2f0a6a1c3e11",
    "folderId": null,
    "filename": "stream-2026-11-18.mp4",
    "altText": null,
    "mediaType": "video",
    "mimeType": "video/mp4",
    "size": 1073741824,
    "width": 1920,
    "height": 1080,
    "aspectRatio": 1.7778,
    "duration": 7243.5,
    "waveform": null,
    "createdAt": "2026-11-18T09:30:00.000Z",
    "formats": [],
    "usage": "unused",
    "processing": {
      "state": "ready",
      "error": null
    },
    "previewUrl": "https://storage.beplan.io/org-media/…/poster.jpg?X-Amz-Signature=…",
    "mediaUrl": "https://storage.beplan.io/org-media/…/v2.mp4?X-Amz-Signature=…",
    "playback": null,
    "publishCopy": null,
    "uploadedBy": {
      "id": "user_2x8Kq",
      "name": "Alex Martin",
      "image": null
    },
    "assignedTo": {
      "id": "user_7mQ4z",
      "name": "Sam Lee",
      "image": null
    },
    "assignedAt": "2026-11-19T09:00:00.000Z"
  }
}
```


## Approve a media

`POST /organizations/{organizationId}/workspaces/{workspaceId}/media-library/items/{mediaId}/review/approve` · operationId `media.review.approve`

- Scope: `media:review`
- Role permission: Review media (`media:review`)
- Effect (`write`): Changes data in Beplan.
- Idempotency: Send an `Idempotency-Key` to retry safely: the same key with the same body within 24 hours returns the stored response.
- Stability: Beta (May still change before it is marked stable.) Since 2026-11-19.

Approves the current version of a media waiting for review, with an optional `note`: it becomes the library file, older versions are dropped (this cannot be undone) and the media shows in the library. Returns the media. `409 MEDIA_REVIEW_STATE_CONFLICT` unless it is pending review; `409 MEDIA_UPLOAD_INCOMPLETE` while its version is still uploading. Needs the organization's Team Collaboration add-on (`402 PLAN_UPGRADE_REQUIRED` with `details.feature: "team_collaboration"` without it).

**Parameters**

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `organizationId` | path | string | yes | 1–128 characters |
| `workspaceId` | path | string (uuid) | yes |  |
| `mediaId` | path | string (uuid) | yes |  |

**Request body** (JSON, required)

- `note` (string, optional): at most 2000 characters.

**200 OK**

- `data` (object, required, MediaDetail)
  - `id` (string, required)
  - `folderId` (string, required, nullable): The folder holding the media; `null` at the root of the library.
  - `filename` (string, required)
  - `altText` (string, required, nullable)
  - `mediaType` (string, required): one of `image`, `video`, `gif`, `audio` (may gain values).
  - `mimeType` (string, required, nullable)
  - `size` (number, required, nullable): File size in bytes, when known.
  - `width` (number, required, nullable): Width in pixels, when known (images at upload, videos once processed); `null` for audio.
  - `height` (number, required, nullable): Height in pixels, when known (images at upload, videos once processed); `null` for audio.
  - `aspectRatio` (number, required): Display ratio (width / height) from the dimensions, clamped to [0.45, 2.4]; `1` when unknown and for audio.
  - `duration` (number, required, nullable): Length in seconds, for videos, GIFs and audio once known (`null` for images).
  - `waveform` (array of number, required, nullable): Audio only: up to 1000 peaks (integers 0–100, 100 = full scale) spread evenly over `duration`. `null` while processing, when processing failed, and for every other type.
  - `createdAt` (string (date-time), required)
  - `formats` (array of object, required)
    - `id` (string, required)
    - `name` (string, required)
    - `color` (string, required)
  - `usage` (string, required): Where the media is used: `unused`; `used` in a post still to publish; `published` only in posts already published (or failed). one of `unused`, `used`, `published`.
  - `processing` (object, required): Upload and processing state: `processing` (videos and audio are being processed), `ready`, or `failed` with a readable `error`. A media can be put in a post while processing.
    - `state` (string, required): one of `processing`, `ready`, `failed` (may gain values).
    - `error` (string, required, nullable)
  - `previewUrl` (string, required, nullable): Signed URL (valid about one hour) of the image itself or of the video's poster; `null` while there is none yet, and always for audio.
  - `mediaUrl` (string, required): Signed URL (valid about one hour) of the original file, served inline. To save the file under its name, use the media's `download-url`.
  - `playback` (object, required, nullable): HLS playback of a processed video (`manifestUrl`, loaded by the Beplan app's player with its session), else `null`. Always `null` through the public API (`/v1`) and MCP: use `mediaUrl`, or the media's `download-url`, to fetch the file.
    - `manifestUrl` (string, required)
  - `publishCopy` (object, required, nullable): The copy sent to platforms that cannot take the original (a JPEG for images, an H.264/AAC MP4 of at most 1080p for videos): its type, pixels and bytes. `null` when every platform takes the original, or while it is being made.
    - `mimeType` (string, required)
    - `width` (number, required)
    - `height` (number, required)
    - `size` (number, required)
  - `transcriptMatch` (object, optional, MediaTranscriptMatch)
    - `snippet` (string, required)
    - `startMs` (number, required)
    - `source` (string, optional): one of `speech`, `scene`.
  - `reviewStatus` (string, required, nullable): one of `pending_review`, `changes_requested`, `approved`, `raw_footage` (may gain values).

**Errors**

| Status | Code | Message |
|---|---|---|
| 402 | `PLAN_UPGRADE_REQUIRED` | Your current plan doesn't include this feature. |
| 403 | `MISSING_PERMISSION` | You don't have permission to do this. |
| 404 | `MEDIA_NOT_FOUND` | This media doesn't exist or was deleted. |
| 404 | `ORGANIZATION_NOT_FOUND` | This organization doesn't exist or you're not a member of it. |
| 404 | `WORKSPACE_NOT_FOUND` | This workspace doesn't exist or you don't have access to it. |
| 409 | `MEDIA_REVIEW_STATE_CONFLICT` | This media isn't at that step of the review anymore. |
| 409 | `MEDIA_UPLOAD_INCOMPLETE` | Wait for the upload to finish before approving this media. |
| 502 | `UPSTREAM_FAILED` | A service we depend on didn't respond. Please try again. |

Also, like every operation: `VALIDATION_FAILED` (400), `APP_SUSPENDED` (401), `TOKEN_EXPIRED` (401), `TOKEN_REVOKED` (401), `UNAUTHENTICATED` (401), `INSUFFICIENT_SCOPE` (403), `INTEGRATION_BLOCKED_BY_ORGANIZATION` (403), `INTEGRATION_PENDING_APPROVAL` (403), `CONFLICT` (409), `IDEMPOTENCY_KEY_REUSED` (409), `PAYLOAD_TOO_LARGE` (413), `UNSUPPORTED_MEDIA_TYPE` (415), `RATE_LIMITED` (429), `INTERNAL_ERROR` (500).

**Example: Approve with a note**

```bash
curl -X POST "https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/media-library/items/0b6f5a52-7f4e-4c55-9d6f-2f0a6a1c3e11/review/approve" \
  -H "Authorization: Bearer beplan_pat_…" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "note": "Perfect, thanks!"
}'
```

Answers 200:

```json
{
  "data": {
    "id": "0b6f5a52-7f4e-4c55-9d6f-2f0a6a1c3e11",
    "folderId": null,
    "filename": "launch-teaser.jpg",
    "altText": "Our new studio at sunrise",
    "mediaType": "image",
    "mimeType": "image/jpeg",
    "size": 482133,
    "width": 1080,
    "height": 1350,
    "aspectRatio": 0.8,
    "duration": null,
    "waveform": null,
    "createdAt": "2026-11-18T09:30:00.000Z",
    "formats": [],
    "usage": "unused",
    "processing": {
      "state": "ready",
      "error": null
    },
    "previewUrl": "https://storage.beplan.io/org-media/…/preview?X-Amz-Signature=…",
    "mediaUrl": "https://storage.beplan.io/org-media/…?X-Amz-Signature=…",
    "playback": null,
    "publishCopy": null,
    "reviewStatus": "approved"
  }
}
```


## Remove a media from review

`POST /organizations/{organizationId}/workspaces/{workspaceId}/media-library/items/{mediaId}/review/remove` · operationId `media.review.remove`

- Scope: `media:write`
- Role permission: Any of: Review media (`media:review`), Upload media (`media:create`), Upload raw footage (`media:rawFootageUpload`)
- Effect (`destructive`): Deletes data or cannot be undone.
- Idempotency: Send an `Idempotency-Key` to retry safely: the same key with the same body within 24 hours returns the stored response.
- Stability: Beta (May still change before it is marked stable.) Since 2026-11-19.

Deletes a media that is in review or raw footage (not yet approved) with all its versions and files; this cannot be undone. Reviewers can remove any; others only their own uploads. Answers `204`. Needs the organization's Team Collaboration add-on (`402 PLAN_UPGRADE_REQUIRED` with `details.feature: "team_collaboration"` without it).

**Parameters**

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `organizationId` | path | string | yes | 1–128 characters |
| `workspaceId` | path | string (uuid) | yes |  |
| `mediaId` | path | string (uuid) | yes |  |

**204 No content**

No content.

**Errors**

| Status | Code | Message |
|---|---|---|
| 402 | `PLAN_UPGRADE_REQUIRED` | Your current plan doesn't include this feature. |
| 403 | `MISSING_PERMISSION` | You don't have permission to do this. |
| 404 | `MEDIA_NOT_FOUND` | This media doesn't exist or was deleted. |
| 404 | `ORGANIZATION_NOT_FOUND` | This organization doesn't exist or you're not a member of it. |
| 404 | `WORKSPACE_NOT_FOUND` | This workspace doesn't exist or you don't have access to it. |

Also, like every operation: `VALIDATION_FAILED` (400), `APP_SUSPENDED` (401), `TOKEN_EXPIRED` (401), `TOKEN_REVOKED` (401), `UNAUTHENTICATED` (401), `INSUFFICIENT_SCOPE` (403), `INTEGRATION_BLOCKED_BY_ORGANIZATION` (403), `INTEGRATION_PENDING_APPROVAL` (403), `CONFLICT` (409), `IDEMPOTENCY_KEY_REUSED` (409), `PAYLOAD_TOO_LARGE` (413), `UNSUPPORTED_MEDIA_TYPE` (415), `RATE_LIMITED` (429), `INTERNAL_ERROR` (500).

**Example: Remove a media in review**

```bash
curl -X POST "https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/media-library/items/0b6f5a52-7f4e-4c55-9d6f-2f0a6a1c3e11/review/remove" \
  -H "Authorization: Bearer beplan_pat_…" \
  -H "Idempotency-Key: $(uuidgen)"
```

Answers 204 with no content.


## Ask for changes on a media

`POST /organizations/{organizationId}/workspaces/{workspaceId}/media-library/items/{mediaId}/review/request-changes` · operationId `media.review.requestChanges`

- Scope: `media:review`
- Role permission: Review media (`media:review`)
- Effect (`write`): Changes data in Beplan.
- Idempotency: Send an `Idempotency-Key` to retry safely: the same key with the same body within 24 hours returns the stored response.
- Stability: Beta (May still change before it is marked stable.) Since 2026-11-19.

Sends a media waiting for review back to its uploader with a `note` (required, up to 2,000 characters), which is emailed to them. They answer with a new version (`media.versions.create`). Returns the media. `409 MEDIA_REVIEW_STATE_CONFLICT` unless it is pending review. Needs the organization's Team Collaboration add-on (`402 PLAN_UPGRADE_REQUIRED` with `details.feature: "team_collaboration"` without it).

**Parameters**

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `organizationId` | path | string | yes | 1–128 characters |
| `workspaceId` | path | string (uuid) | yes |  |
| `mediaId` | path | string (uuid) | yes |  |

**Request body** (JSON, required)

- `note` (string, required): 1–2000 characters.

**200 OK**

- `data` (object, required, MediaDetail)
  - `id` (string, required)
  - `folderId` (string, required, nullable): The folder holding the media; `null` at the root of the library.
  - `filename` (string, required)
  - `altText` (string, required, nullable)
  - `mediaType` (string, required): one of `image`, `video`, `gif`, `audio` (may gain values).
  - `mimeType` (string, required, nullable)
  - `size` (number, required, nullable): File size in bytes, when known.
  - `width` (number, required, nullable): Width in pixels, when known (images at upload, videos once processed); `null` for audio.
  - `height` (number, required, nullable): Height in pixels, when known (images at upload, videos once processed); `null` for audio.
  - `aspectRatio` (number, required): Display ratio (width / height) from the dimensions, clamped to [0.45, 2.4]; `1` when unknown and for audio.
  - `duration` (number, required, nullable): Length in seconds, for videos, GIFs and audio once known (`null` for images).
  - `waveform` (array of number, required, nullable): Audio only: up to 1000 peaks (integers 0–100, 100 = full scale) spread evenly over `duration`. `null` while processing, when processing failed, and for every other type.
  - `createdAt` (string (date-time), required)
  - `formats` (array of object, required)
    - `id` (string, required)
    - `name` (string, required)
    - `color` (string, required)
  - `usage` (string, required): Where the media is used: `unused`; `used` in a post still to publish; `published` only in posts already published (or failed). one of `unused`, `used`, `published`.
  - `processing` (object, required): Upload and processing state: `processing` (videos and audio are being processed), `ready`, or `failed` with a readable `error`. A media can be put in a post while processing.
    - `state` (string, required): one of `processing`, `ready`, `failed` (may gain values).
    - `error` (string, required, nullable)
  - `previewUrl` (string, required, nullable): Signed URL (valid about one hour) of the image itself or of the video's poster; `null` while there is none yet, and always for audio.
  - `mediaUrl` (string, required): Signed URL (valid about one hour) of the original file, served inline. To save the file under its name, use the media's `download-url`.
  - `playback` (object, required, nullable): HLS playback of a processed video (`manifestUrl`, loaded by the Beplan app's player with its session), else `null`. Always `null` through the public API (`/v1`) and MCP: use `mediaUrl`, or the media's `download-url`, to fetch the file.
    - `manifestUrl` (string, required)
  - `publishCopy` (object, required, nullable): The copy sent to platforms that cannot take the original (a JPEG for images, an H.264/AAC MP4 of at most 1080p for videos): its type, pixels and bytes. `null` when every platform takes the original, or while it is being made.
    - `mimeType` (string, required)
    - `width` (number, required)
    - `height` (number, required)
    - `size` (number, required)
  - `transcriptMatch` (object, optional, MediaTranscriptMatch)
    - `snippet` (string, required)
    - `startMs` (number, required)
    - `source` (string, optional): one of `speech`, `scene`.
  - `reviewStatus` (string, required, nullable): one of `pending_review`, `changes_requested`, `approved`, `raw_footage` (may gain values).

**Errors**

| Status | Code | Message |
|---|---|---|
| 400 | `VALIDATION_FAILED` | Some of the information sent is invalid. |
| 402 | `PLAN_UPGRADE_REQUIRED` | Your current plan doesn't include this feature. |
| 403 | `MISSING_PERMISSION` | You don't have permission to do this. |
| 404 | `MEDIA_NOT_FOUND` | This media doesn't exist or was deleted. |
| 404 | `ORGANIZATION_NOT_FOUND` | This organization doesn't exist or you're not a member of it. |
| 404 | `WORKSPACE_NOT_FOUND` | This workspace doesn't exist or you don't have access to it. |
| 409 | `MEDIA_REVIEW_STATE_CONFLICT` | This media isn't at that step of the review anymore. |

Also, like every operation: `APP_SUSPENDED` (401), `TOKEN_EXPIRED` (401), `TOKEN_REVOKED` (401), `UNAUTHENTICATED` (401), `INSUFFICIENT_SCOPE` (403), `INTEGRATION_BLOCKED_BY_ORGANIZATION` (403), `INTEGRATION_PENDING_APPROVAL` (403), `CONFLICT` (409), `IDEMPOTENCY_KEY_REUSED` (409), `PAYLOAD_TOO_LARGE` (413), `UNSUPPORTED_MEDIA_TYPE` (415), `RATE_LIMITED` (429), `INTERNAL_ERROR` (500).

**Example: Ask for a shorter cut**

```bash
curl -X POST "https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/media-library/items/0b6f5a52-7f4e-4c55-9d6f-2f0a6a1c3e11/review/request-changes" \
  -H "Authorization: Bearer beplan_pat_…" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "note": "Please cut the intro to under 3 seconds."
}'
```

Answers 200:

```json
{
  "data": {
    "id": "0b6f5a52-7f4e-4c55-9d6f-2f0a6a1c3e11",
    "folderId": null,
    "filename": "launch-teaser.jpg",
    "altText": "Our new studio at sunrise",
    "mediaType": "image",
    "mimeType": "image/jpeg",
    "size": 482133,
    "width": 1080,
    "height": 1350,
    "aspectRatio": 0.8,
    "duration": null,
    "waveform": null,
    "createdAt": "2026-11-18T09:30:00.000Z",
    "formats": [],
    "usage": "unused",
    "processing": {
      "state": "ready",
      "error": null
    },
    "previewUrl": "https://storage.beplan.io/org-media/…/preview?X-Amz-Signature=…",
    "mediaUrl": "https://storage.beplan.io/org-media/…?X-Amz-Signature=…",
    "playback": null,
    "publishCopy": null,
    "reviewStatus": "changes_requested"
  }
}
```


## List a media's review threads

`GET /organizations/{organizationId}/workspaces/{workspaceId}/media-library/items/{mediaId}/threads` · operationId `media.threads.list`

- Scope: `media:read`
- Role permission: Any member who can see it
- Effect (`read`): Changes nothing.
- Stability: Beta (May still change before it is marked stable.) Since 2026-11-19.

Lists the review conversation of a media, oldest thread first: each thread is `open` or `closed` (resolved), may be anchored to a moment (`startMs`) or a range (`startMs`–`endMs`, milliseconds) of a video, and holds its comments oldest first (`type` `text`, or the trace of a resolve / reopen). `author` is `null` for a deleted account. Members whose role only uploads can follow their own uploads only. Needs the organization's Team Collaboration add-on (`402 PLAN_UPGRADE_REQUIRED` with `details.feature: "team_collaboration"` without it).

**Parameters**

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `organizationId` | path | string | yes | 1–128 characters |
| `workspaceId` | path | string (uuid) | yes |  |
| `mediaId` | path | string (uuid) | yes |  |

**200 OK**

- `data` (array of object, required)
  - `id` (string, required)
  - `status` (string, required): one of `open`, `closed`.
  - `startMs` (number, required, nullable)
  - `endMs` (number, required, nullable)
  - `versionNumber` (number, required, nullable)
  - `createdAt` (string (date-time), required)
  - `comments` (array of object, required)
    - `id` (string, required)
    - `author` (object, required, nullable, MediaPerson)
      - `id` (string, required)
      - `name` (string, required): The member's name. "A member" for an integration that does not hold `members:read` (the id is kept; the Inbox always names them).
      - `image` (string, required, nullable): Their picture's URL; `null` without one, and for an integration that does not hold `members:read` (outside the Inbox).
    - `body` (string, required)
    - `type` (string, required): one of `text`, `close_thread`, `open_thread` (may gain values).
    - `versionNumber` (number, required, nullable)
    - `mentions` (array of object, required)
      - `id` (string, required)
      - `name` (string, required): The member's name. "A member" for an integration that does not hold `members:read` (the id is kept; the Inbox always names them).
      - `image` (string, required, nullable): Their picture's URL; `null` without one, and for an integration that does not hold `members:read` (outside the Inbox).
    - `createdAt` (string (date-time), required)

**Errors**

| Status | Code | Message |
|---|---|---|
| 402 | `PLAN_UPGRADE_REQUIRED` | Your current plan doesn't include this feature. |
| 404 | `MEDIA_NOT_FOUND` | This media doesn't exist or was deleted. |
| 404 | `ORGANIZATION_NOT_FOUND` | This organization doesn't exist or you're not a member of it. |
| 404 | `WORKSPACE_NOT_FOUND` | This workspace doesn't exist or you don't have access to it. |

Also, like every operation: `VALIDATION_FAILED` (400), `APP_SUSPENDED` (401), `TOKEN_EXPIRED` (401), `TOKEN_REVOKED` (401), `UNAUTHENTICATED` (401), `INSUFFICIENT_SCOPE` (403), `INTEGRATION_BLOCKED_BY_ORGANIZATION` (403), `INTEGRATION_PENDING_APPROVAL` (403), `RATE_LIMITED` (429), `INTERNAL_ERROR` (500).

**Example: One open thread**

```bash
curl -X GET "https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/media-library/items/0b6f5a52-7f4e-4c55-9d6f-2f0a6a1c3e11/threads" \
  -H "Authorization: Bearer beplan_pat_…"
```

Answers 200:

```json
{
  "data": [
    {
      "id": "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
      "status": "open",
      "startMs": 4200,
      "endMs": null,
      "versionNumber": 1,
      "createdAt": "2026-11-18T10:02:00.000Z",
      "comments": [
        {
          "id": "4f3e2d1c-0b9a-4876-9543-210fedcba987",
          "author": {
            "id": "user_2x8Kq",
            "name": "Alex Martin",
            "image": null
          },
          "body": "The logo pops in too early here.",
          "type": "text",
          "versionNumber": 1,
          "mentions": [],
          "createdAt": "2026-11-18T10:02:00.000Z"
        }
      ]
    }
  ]
}
```


## Start a review thread

`POST /organizations/{organizationId}/workspaces/{workspaceId}/media-library/items/{mediaId}/threads` · operationId `media.threads.create`

- Scope: `media:review`
- Role permission: Review media (`media:review`)
- Effect (`write`): Changes data in Beplan.
- Idempotency: Send an `Idempotency-Key` to retry safely: the same key with the same body within 24 hours returns the stored response.
- Stability: Beta (May still change before it is marked stable.) Since 2026-11-19.

Starts a thread on a media in review with its first comment (`body`, up to 5,000 characters) on version `versionNumber` (the media's current one: `versionNumber` of `media.review.get`). Anchor it to a moment of a video with `startMs`, or to a range with `startMs` and a later `endMs` (milliseconds). `mentionedUserIds` (up to 50, from `media.mentionableUsers.list`) tags people: each gets an email with the comment and a link to it (never the author); someone who can't see the workspace is refused with `400 VALIDATION_FAILED`. Write their names as `@Name` in `body`. Answers `201` with the thread. Needs the organization's Team Collaboration add-on (`402 PLAN_UPGRADE_REQUIRED` with `details.feature: "team_collaboration"` without it).

**Parameters**

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `organizationId` | path | string | yes | 1–128 characters |
| `workspaceId` | path | string (uuid) | yes |  |
| `mediaId` | path | string (uuid) | yes |  |

**Request body** (JSON, required)

- `body` (string, required): 1–5000 characters.
- `versionNumber` (integer, required): at least 0.
- `startMs` (integer, optional): at least 0.
- `endMs` (integer, optional): at least 0.
- `mentionedUserIds` (array of string, required): at most 50 items.

**201 Created**

- `data` (object, required, MediaThread)
  - `id` (string, required)
  - `status` (string, required): one of `open`, `closed`.
  - `startMs` (number, required, nullable)
  - `endMs` (number, required, nullable)
  - `versionNumber` (number, required, nullable)
  - `createdAt` (string (date-time), required)
  - `comments` (array of object, required)
    - `id` (string, required)
    - `author` (object, required, nullable, MediaPerson)
      - `id` (string, required)
      - `name` (string, required): The member's name. "A member" for an integration that does not hold `members:read` (the id is kept; the Inbox always names them).
      - `image` (string, required, nullable): Their picture's URL; `null` without one, and for an integration that does not hold `members:read` (outside the Inbox).
    - `body` (string, required)
    - `type` (string, required): one of `text`, `close_thread`, `open_thread` (may gain values).
    - `versionNumber` (number, required, nullable)
    - `mentions` (array of object, required)
      - `id` (string, required)
      - `name` (string, required): The member's name. "A member" for an integration that does not hold `members:read` (the id is kept; the Inbox always names them).
      - `image` (string, required, nullable): Their picture's URL; `null` without one, and for an integration that does not hold `members:read` (outside the Inbox).
    - `createdAt` (string (date-time), required)

**Errors**

| Status | Code | Message |
|---|---|---|
| 400 | `VALIDATION_FAILED` | Some of the information sent is invalid. |
| 402 | `PLAN_UPGRADE_REQUIRED` | Your current plan doesn't include this feature. |
| 403 | `MISSING_PERMISSION` | You don't have permission to do this. |
| 404 | `MEDIA_NOT_FOUND` | This media doesn't exist or was deleted. |
| 404 | `ORGANIZATION_NOT_FOUND` | This organization doesn't exist or you're not a member of it. |
| 404 | `WORKSPACE_NOT_FOUND` | This workspace doesn't exist or you don't have access to it. |

Also, like every operation: `APP_SUSPENDED` (401), `TOKEN_EXPIRED` (401), `TOKEN_REVOKED` (401), `UNAUTHENTICATED` (401), `INSUFFICIENT_SCOPE` (403), `INTEGRATION_BLOCKED_BY_ORGANIZATION` (403), `INTEGRATION_PENDING_APPROVAL` (403), `CONFLICT` (409), `IDEMPOTENCY_KEY_REUSED` (409), `PAYLOAD_TOO_LARGE` (413), `UNSUPPORTED_MEDIA_TYPE` (415), `RATE_LIMITED` (429), `INTERNAL_ERROR` (500).

**Example: A comment at 4.2 seconds**

```bash
curl -X POST "https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/media-library/items/0b6f5a52-7f4e-4c55-9d6f-2f0a6a1c3e11/threads" \
  -H "Authorization: Bearer beplan_pat_…" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "body": "The logo pops in too early here.",
  "versionNumber": 1,
  "startMs": 4200,
  "mentionedUserIds": []
}'
```

Answers 201:

```json
{
  "data": {
    "id": "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
    "status": "open",
    "startMs": 4200,
    "endMs": null,
    "versionNumber": 1,
    "createdAt": "2026-11-18T10:02:00.000Z",
    "comments": [
      {
        "id": "4f3e2d1c-0b9a-4876-9543-210fedcba987",
        "author": {
          "id": "user_2x8Kq",
          "name": "Alex Martin",
          "image": null
        },
        "body": "The logo pops in too early here.",
        "type": "text",
        "versionNumber": 1,
        "mentions": [],
        "createdAt": "2026-11-18T10:02:00.000Z"
      }
    ]
  }
}
```


## List people who can be mentioned

`GET /organizations/{organizationId}/workspaces/{workspaceId}/media-library/mentionable-users` · operationId `media.mentionableUsers.list`

- Scope: `media:read`, and also `members:read`
- Role permission: Any member who can see it
- Effect (`read`): Changes nothing.
- Stability: Beta (May still change before it is marked stable.) Since 2026-11-19.

Lists the members of the organization who can see the workspace (id, name, signed avatar URL or `null`), by name: the people a review comment can mention, and the editors raw footage can be assigned to. No emails. Picking someone means knowing who the people are: it also needs `members:read`. Needs the organization's Team Collaboration add-on (`402 PLAN_UPGRADE_REQUIRED` with `details.feature: "team_collaboration"` without it).

**Parameters**

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `organizationId` | path | string | yes | 1–128 characters |
| `workspaceId` | path | string (uuid) | yes |  |

**200 OK**

- `data` (array of object, required)
  - `id` (string, required)
  - `name` (string, required): The member's name. "A member" for an integration that does not hold `members:read` (the id is kept; the Inbox always names them).
  - `image` (string, required, nullable): Their picture's URL; `null` without one, and for an integration that does not hold `members:read` (outside the Inbox).

**Errors**

| Status | Code | Message |
|---|---|---|
| 402 | `PLAN_UPGRADE_REQUIRED` | Your current plan doesn't include this feature. |
| 404 | `ORGANIZATION_NOT_FOUND` | This organization doesn't exist or you're not a member of it. |
| 404 | `WORKSPACE_NOT_FOUND` | This workspace doesn't exist or you don't have access to it. |

Also, like every operation: `VALIDATION_FAILED` (400), `APP_SUSPENDED` (401), `TOKEN_EXPIRED` (401), `TOKEN_REVOKED` (401), `UNAUTHENTICATED` (401), `INSUFFICIENT_SCOPE` (403), `INTEGRATION_BLOCKED_BY_ORGANIZATION` (403), `INTEGRATION_PENDING_APPROVAL` (403), `RATE_LIMITED` (429), `INTERNAL_ERROR` (500).

**Example: Two people**

```bash
curl -X GET "https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/media-library/mentionable-users" \
  -H "Authorization: Bearer beplan_pat_…"
```

Answers 200:

```json
{
  "data": [
    {
      "id": "user_2x8Kq",
      "name": "Alex Martin",
      "image": null
    }
  ]
}
```


## List raw footage

`GET /organizations/{organizationId}/workspaces/{workspaceId}/media-library/raw-footage` · operationId `media.rawFootage.list`

- Scope: `media:read`
- Role permission: Any member who can see it
- Effect (`read`): Changes nothing.
- Stability: Beta (May still change before it is marked stable.) Since 2026-11-19.

Lists the raw footage waiting for an editor, newest first, with who uploaded it and who it is assigned to. `filter`: `all` (default), `unassigned`, `assigned_to_me`. Paginated with `limit` and `cursor`. Needs the organization's Team Collaboration add-on (`402 PLAN_UPGRADE_REQUIRED` with `details.feature: "team_collaboration"` without it). URLs are signed and last about an hour: fetch them again rather than storing them. `playback` is always `null` through the API (video playback is for the Beplan app); use `mediaUrl` or the download URL to get the file.

**Parameters**

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `organizationId` | path | string | yes | 1–128 characters |
| `workspaceId` | path | string (uuid) | yes |  |
| `limit` | query | integer | no | from 1 to 100 |
| `cursor` | query | string | no | at most 512 characters |
| `filter` | query | string (all, unassigned, assigned_to_me) | no |  |

**200 OK**

- `data` (array of object, required)
  - `id` (string, required)
  - `folderId` (string, required, nullable): The folder holding the media; `null` at the root of the library.
  - `filename` (string, required)
  - `altText` (string, required, nullable)
  - `mediaType` (string, required): one of `image`, `video`, `gif`, `audio` (may gain values).
  - `mimeType` (string, required, nullable)
  - `size` (number, required, nullable): File size in bytes, when known.
  - `width` (number, required, nullable): Width in pixels, when known (images at upload, videos once processed); `null` for audio.
  - `height` (number, required, nullable): Height in pixels, when known (images at upload, videos once processed); `null` for audio.
  - `aspectRatio` (number, required): Display ratio (width / height) from the dimensions, clamped to [0.45, 2.4]; `1` when unknown and for audio.
  - `duration` (number, required, nullable): Length in seconds, for videos, GIFs and audio once known (`null` for images).
  - `waveform` (array of number, required, nullable): Audio only: up to 1000 peaks (integers 0–100, 100 = full scale) spread evenly over `duration`. `null` while processing, when processing failed, and for every other type.
  - `createdAt` (string (date-time), required)
  - `formats` (array of object, required)
    - `id` (string, required)
    - `name` (string, required)
    - `color` (string, required)
  - `usage` (string, required): Where the media is used: `unused`; `used` in a post still to publish; `published` only in posts already published (or failed). one of `unused`, `used`, `published`.
  - `processing` (object, required): Upload and processing state: `processing` (videos and audio are being processed), `ready`, or `failed` with a readable `error`. A media can be put in a post while processing.
    - `state` (string, required): one of `processing`, `ready`, `failed` (may gain values).
    - `error` (string, required, nullable)
  - `previewUrl` (string, required, nullable): Signed URL (valid about one hour) of the image itself or of the video's poster; `null` while there is none yet, and always for audio.
  - `mediaUrl` (string, required): Signed URL (valid about one hour) of the original file, served inline. To save the file under its name, use the media's `download-url`.
  - `playback` (object, required, nullable): HLS playback of a processed video (`manifestUrl`, loaded by the Beplan app's player with its session), else `null`. Always `null` through the public API (`/v1`) and MCP: use `mediaUrl`, or the media's `download-url`, to fetch the file.
    - `manifestUrl` (string, required)
  - `publishCopy` (object, required, nullable): The copy sent to platforms that cannot take the original (a JPEG for images, an H.264/AAC MP4 of at most 1080p for videos): its type, pixels and bytes. `null` when every platform takes the original, or while it is being made.
    - `mimeType` (string, required)
    - `width` (number, required)
    - `height` (number, required)
    - `size` (number, required)
  - `transcriptMatch` (object, optional, MediaTranscriptMatch)
    - `snippet` (string, required)
    - `startMs` (number, required)
    - `source` (string, optional): one of `speech`, `scene`.
  - `uploadedBy` (object, required, nullable, MediaPerson)
    - `id` (string, required)
    - `name` (string, required): The member's name. "A member" for an integration that does not hold `members:read` (the id is kept; the Inbox always names them).
    - `image` (string, required, nullable): Their picture's URL; `null` without one, and for an integration that does not hold `members:read` (outside the Inbox).
  - `assignedTo` (object, required, nullable, MediaPerson)
    - `id` (string, required)
    - `name` (string, required): The member's name. "A member" for an integration that does not hold `members:read` (the id is kept; the Inbox always names them).
    - `image` (string, required, nullable): Their picture's URL; `null` without one, and for an integration that does not hold `members:read` (outside the Inbox).
  - `assignedAt` (string (date-time), required, nullable)
- `page` (object, required)
  - `nextCursor` (string, required, nullable)
  - `hasMore` (boolean, required)

**Errors**

| Status | Code | Message |
|---|---|---|
| 400 | `VALIDATION_FAILED` | Some of the information sent is invalid. |
| 402 | `PLAN_UPGRADE_REQUIRED` | Your current plan doesn't include this feature. |
| 404 | `ORGANIZATION_NOT_FOUND` | This organization doesn't exist or you're not a member of it. |
| 404 | `WORKSPACE_NOT_FOUND` | This workspace doesn't exist or you don't have access to it. |

Also, like every operation: `APP_SUSPENDED` (401), `TOKEN_EXPIRED` (401), `TOKEN_REVOKED` (401), `UNAUTHENTICATED` (401), `INSUFFICIENT_SCOPE` (403), `INTEGRATION_BLOCKED_BY_ORGANIZATION` (403), `INTEGRATION_PENDING_APPROVAL` (403), `RATE_LIMITED` (429), `INTERNAL_ERROR` (500).

**Example: Unassigned footage**

```bash
curl -X GET "https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/media-library/raw-footage?filter=unassigned" \
  -H "Authorization: Bearer beplan_pat_…"
```

Answers 200:

```json
{
  "data": [],
  "page": {
    "nextCursor": null,
    "hasMore": false
  }
}
```


## List media in review

`GET /organizations/{organizationId}/workspaces/{workspaceId}/media-library/review` · operationId `media.review.list`

- Scope: `media:read`
- Role permission: Any member who can see it
- Effect (`read`): Changes nothing.
- Stability: Beta (May still change before it is marked stable.) Since 2026-11-19.

Lists the media in review, with their current version, uploader and open thread count. `status`: `all` (default), `pending_review` or `changes_requested`. Reviewers get pending media first; members whose role only uploads see their own uploads only. Paginated with `limit` and `cursor`. Needs the organization's Team Collaboration add-on (`402 PLAN_UPGRADE_REQUIRED` with `details.feature: "team_collaboration"` without it). URLs are signed and last about an hour: fetch them again rather than storing them. `playback` is always `null` through the API (video playback is for the Beplan app); use `mediaUrl` or the download URL to get the file.

**Parameters**

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `organizationId` | path | string | yes | 1–128 characters |
| `workspaceId` | path | string (uuid) | yes |  |
| `limit` | query | integer | no | from 1 to 100 |
| `cursor` | query | string | no | at most 512 characters |
| `status` | query | string (all, pending_review, changes_requested) | no |  |

**200 OK**

- `data` (array of object, required)
  - `id` (string, required)
  - `folderId` (string, required, nullable): The folder holding the media; `null` at the root of the library.
  - `filename` (string, required)
  - `altText` (string, required, nullable)
  - `mediaType` (string, required): one of `image`, `video`, `gif`, `audio` (may gain values).
  - `mimeType` (string, required, nullable)
  - `size` (number, required, nullable): File size in bytes, when known.
  - `width` (number, required, nullable): Width in pixels, when known (images at upload, videos once processed); `null` for audio.
  - `height` (number, required, nullable): Height in pixels, when known (images at upload, videos once processed); `null` for audio.
  - `aspectRatio` (number, required): Display ratio (width / height) from the dimensions, clamped to [0.45, 2.4]; `1` when unknown and for audio.
  - `duration` (number, required, nullable): Length in seconds, for videos, GIFs and audio once known (`null` for images).
  - `waveform` (array of number, required, nullable): Audio only: up to 1000 peaks (integers 0–100, 100 = full scale) spread evenly over `duration`. `null` while processing, when processing failed, and for every other type.
  - `createdAt` (string (date-time), required)
  - `formats` (array of object, required)
    - `id` (string, required)
    - `name` (string, required)
    - `color` (string, required)
  - `usage` (string, required): Where the media is used: `unused`; `used` in a post still to publish; `published` only in posts already published (or failed). one of `unused`, `used`, `published`.
  - `processing` (object, required): Upload and processing state: `processing` (videos and audio are being processed), `ready`, or `failed` with a readable `error`. A media can be put in a post while processing.
    - `state` (string, required): one of `processing`, `ready`, `failed` (may gain values).
    - `error` (string, required, nullable)
  - `previewUrl` (string, required, nullable): Signed URL (valid about one hour) of the image itself or of the video's poster; `null` while there is none yet, and always for audio.
  - `mediaUrl` (string, required): Signed URL (valid about one hour) of the original file, served inline. To save the file under its name, use the media's `download-url`.
  - `playback` (object, required, nullable): HLS playback of a processed video (`manifestUrl`, loaded by the Beplan app's player with its session), else `null`. Always `null` through the public API (`/v1`) and MCP: use `mediaUrl`, or the media's `download-url`, to fetch the file.
    - `manifestUrl` (string, required)
  - `publishCopy` (object, required, nullable): The copy sent to platforms that cannot take the original (a JPEG for images, an H.264/AAC MP4 of at most 1080p for videos): its type, pixels and bytes. `null` when every platform takes the original, or while it is being made.
    - `mimeType` (string, required)
    - `width` (number, required)
    - `height` (number, required)
    - `size` (number, required)
  - `transcriptMatch` (object, optional, MediaTranscriptMatch)
    - `snippet` (string, required)
    - `startMs` (number, required)
    - `source` (string, optional): one of `speech`, `scene`.
  - `reviewStatus` (string, required): one of `pending_review`, `changes_requested`.
  - `versionNumber` (number, required)
  - `versionCount` (number, required)
  - `openThreadCount` (number, required)
  - `uploadedBy` (object, required, nullable, MediaPerson)
    - `id` (string, required)
    - `name` (string, required): The member's name. "A member" for an integration that does not hold `members:read` (the id is kept; the Inbox always names them).
    - `image` (string, required, nullable): Their picture's URL; `null` without one, and for an integration that does not hold `members:read` (outside the Inbox).
- `page` (object, required)
  - `nextCursor` (string, required, nullable)
  - `hasMore` (boolean, required)

**Errors**

| Status | Code | Message |
|---|---|---|
| 400 | `VALIDATION_FAILED` | Some of the information sent is invalid. |
| 402 | `PLAN_UPGRADE_REQUIRED` | Your current plan doesn't include this feature. |
| 404 | `ORGANIZATION_NOT_FOUND` | This organization doesn't exist or you're not a member of it. |
| 404 | `WORKSPACE_NOT_FOUND` | This workspace doesn't exist or you don't have access to it. |

Also, like every operation: `APP_SUSPENDED` (401), `TOKEN_EXPIRED` (401), `TOKEN_REVOKED` (401), `UNAUTHENTICATED` (401), `INSUFFICIENT_SCOPE` (403), `INTEGRATION_BLOCKED_BY_ORGANIZATION` (403), `INTEGRATION_PENDING_APPROVAL` (403), `RATE_LIMITED` (429), `INTERNAL_ERROR` (500).

**Example: Media waiting for a reviewer**

```bash
curl -X GET "https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/media-library/review?status=pending_review" \
  -H "Authorization: Bearer beplan_pat_…"
```

Answers 200:

```json
{
  "data": [],
  "page": {
    "nextCursor": null,
    "hasMore": false
  }
}
```


## Count media in review

`GET /organizations/{organizationId}/workspaces/{workspaceId}/media-library/review-counts` · operationId `media.review.counts`

- Scope: `media:read`
- Role permission: Any member who can see it
- Effect (`read`): Changes nothing.
- Stability: Beta (May still change before it is marked stable.) Since 2026-11-19.

How many media of the workspace wait in review: `pendingReview` (waiting for a reviewer), `changesRequested` (sent back to their uploader) and `total`. Needs the organization's Team Collaboration add-on (`402 PLAN_UPGRADE_REQUIRED` with `details.feature: "team_collaboration"` without it).

**Parameters**

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `organizationId` | path | string | yes | 1–128 characters |
| `workspaceId` | path | string (uuid) | yes |  |

**200 OK**

- `data` (object, required, MediaReviewCounts)
  - `pendingReview` (number, required)
  - `changesRequested` (number, required)
  - `total` (number, required)

**Errors**

| Status | Code | Message |
|---|---|---|
| 402 | `PLAN_UPGRADE_REQUIRED` | Your current plan doesn't include this feature. |
| 404 | `ORGANIZATION_NOT_FOUND` | This organization doesn't exist or you're not a member of it. |
| 404 | `WORKSPACE_NOT_FOUND` | This workspace doesn't exist or you don't have access to it. |

Also, like every operation: `VALIDATION_FAILED` (400), `APP_SUSPENDED` (401), `TOKEN_EXPIRED` (401), `TOKEN_REVOKED` (401), `UNAUTHENTICATED` (401), `INSUFFICIENT_SCOPE` (403), `INTEGRATION_BLOCKED_BY_ORGANIZATION` (403), `INTEGRATION_PENDING_APPROVAL` (403), `RATE_LIMITED` (429), `INTERNAL_ERROR` (500).

**Example: Two media to review**

```bash
curl -X GET "https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/media-library/review-counts" \
  -H "Authorization: Bearer beplan_pat_…"
```

Answers 200:

```json
{
  "data": {
    "pendingReview": 2,
    "changesRequested": 0,
    "total": 2
  }
}
```


## Get a media in review

`GET /organizations/{organizationId}/workspaces/{workspaceId}/media-library/review/{mediaId}` · operationId `media.review.get`

- Scope: `media:read`
- Role permission: Any member who can see it
- Effect (`read`): Changes nothing.
- Stability: Beta (May still change before it is marked stable.) Since 2026-11-19.

Returns a media in review or raw footage with its versions (newest first, 0 being the original raw footage), the reviewer's note and the people involved. The conversation is in `media.threads.list`. `404 MEDIA_NOT_FOUND` once it left review (approved media are in the library). Needs the organization's Team Collaboration add-on (`402 PLAN_UPGRADE_REQUIRED` with `details.feature: "team_collaboration"` without it). URLs are signed and last about an hour: fetch them again rather than storing them. `playback` is always `null` through the API (video playback is for the Beplan app); use `mediaUrl` or the download URL to get the file.

**Parameters**

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `organizationId` | path | string | yes | 1–128 characters |
| `workspaceId` | path | string (uuid) | yes |  |
| `mediaId` | path | string (uuid) | yes |  |

**200 OK**

- `data` (object, required)
  - `id` (string, required)
  - `folderId` (string, required, nullable): The folder holding the media; `null` at the root of the library.
  - `filename` (string, required)
  - `altText` (string, required, nullable)
  - `mediaType` (string, required): one of `image`, `video`, `gif`, `audio` (may gain values).
  - `mimeType` (string, required, nullable)
  - `size` (number, required, nullable): File size in bytes, when known.
  - `width` (number, required, nullable): Width in pixels, when known (images at upload, videos once processed); `null` for audio.
  - `height` (number, required, nullable): Height in pixels, when known (images at upload, videos once processed); `null` for audio.
  - `aspectRatio` (number, required): Display ratio (width / height) from the dimensions, clamped to [0.45, 2.4]; `1` when unknown and for audio.
  - `duration` (number, required, nullable): Length in seconds, for videos, GIFs and audio once known (`null` for images).
  - `waveform` (array of number, required, nullable): Audio only: up to 1000 peaks (integers 0–100, 100 = full scale) spread evenly over `duration`. `null` while processing, when processing failed, and for every other type.
  - `createdAt` (string (date-time), required)
  - `formats` (array of object, required)
    - `id` (string, required)
    - `name` (string, required)
    - `color` (string, required)
  - `usage` (string, required): Where the media is used: `unused`; `used` in a post still to publish; `published` only in posts already published (or failed). one of `unused`, `used`, `published`.
  - `processing` (object, required): Upload and processing state: `processing` (videos and audio are being processed), `ready`, or `failed` with a readable `error`. A media can be put in a post while processing.
    - `state` (string, required): one of `processing`, `ready`, `failed` (may gain values).
    - `error` (string, required, nullable)
  - `previewUrl` (string, required, nullable): Signed URL (valid about one hour) of the image itself or of the video's poster; `null` while there is none yet, and always for audio.
  - `mediaUrl` (string, required): Signed URL (valid about one hour) of the original file, served inline. To save the file under its name, use the media's `download-url`.
  - `playback` (object, required, nullable): HLS playback of a processed video (`manifestUrl`, loaded by the Beplan app's player with its session), else `null`. Always `null` through the public API (`/v1`) and MCP: use `mediaUrl`, or the media's `download-url`, to fetch the file.
    - `manifestUrl` (string, required)
  - `publishCopy` (object, required, nullable): The copy sent to platforms that cannot take the original (a JPEG for images, an H.264/AAC MP4 of at most 1080p for videos): its type, pixels and bytes. `null` when every platform takes the original, or while it is being made.
    - `mimeType` (string, required)
    - `width` (number, required)
    - `height` (number, required)
    - `size` (number, required)
  - `transcriptMatch` (object, optional, MediaTranscriptMatch)
    - `snippet` (string, required)
    - `startMs` (number, required)
    - `source` (string, optional): one of `speech`, `scene`.
  - `reviewStatus` (string, required): one of `pending_review`, `changes_requested`, `raw_footage`.
  - `versionNumber` (number, required)
  - `reviewNote` (string, required, nullable)
  - `uploadedBy` (object, required, nullable, MediaPerson)
    - `id` (string, required)
    - `name` (string, required): The member's name. "A member" for an integration that does not hold `members:read` (the id is kept; the Inbox always names them).
    - `image` (string, required, nullable): Their picture's URL; `null` without one, and for an integration that does not hold `members:read` (outside the Inbox).
  - `reviewedBy` (object, required, nullable, MediaPerson)
    - `id` (string, required)
    - `name` (string, required): The member's name. "A member" for an integration that does not hold `members:read` (the id is kept; the Inbox always names them).
    - `image` (string, required, nullable): Their picture's URL; `null` without one, and for an integration that does not hold `members:read` (outside the Inbox).
  - `reviewedAt` (string (date-time), required, nullable)
  - `assignedTo` (object, required, nullable, MediaPerson)
    - `id` (string, required)
    - `name` (string, required): The member's name. "A member" for an integration that does not hold `members:read` (the id is kept; the Inbox always names them).
    - `image` (string, required, nullable): Their picture's URL; `null` without one, and for an integration that does not hold `members:read` (outside the Inbox).
  - `assignedAt` (string (date-time), required, nullable)
  - `versions` (array of object, required)
    - `versionNumber` (number, required)
    - `mediaUrl` (string, required)
    - `previewUrl` (string, required, nullable)
    - `playback` (object, required, nullable): HLS playback of a processed video (`manifestUrl`, loaded by the Beplan app's player with its session), else `null`. Always `null` through the public API (`/v1`) and MCP: use `mediaUrl`, or the media's `download-url`, to fetch the file.
      - `manifestUrl` (string, required)
    - `mimeType` (string, required, nullable)
    - `size` (number, required, nullable)
    - `width` (number, required, nullable)
    - `height` (number, required, nullable)
    - `aspectRatio` (number, required)
    - `duration` (number, required, nullable)
    - `createdAt` (string (date-time), required)
    - `uploadedBy` (object, required, nullable, MediaPerson)
      - `id` (string, required)
      - `name` (string, required): The member's name. "A member" for an integration that does not hold `members:read` (the id is kept; the Inbox always names them).
      - `image` (string, required, nullable): Their picture's URL; `null` without one, and for an integration that does not hold `members:read` (outside the Inbox).

**Errors**

| Status | Code | Message |
|---|---|---|
| 402 | `PLAN_UPGRADE_REQUIRED` | Your current plan doesn't include this feature. |
| 404 | `MEDIA_NOT_FOUND` | This media doesn't exist or was deleted. |
| 404 | `ORGANIZATION_NOT_FOUND` | This organization doesn't exist or you're not a member of it. |
| 404 | `WORKSPACE_NOT_FOUND` | This workspace doesn't exist or you don't have access to it. |

Also, like every operation: `VALIDATION_FAILED` (400), `APP_SUSPENDED` (401), `TOKEN_EXPIRED` (401), `TOKEN_REVOKED` (401), `UNAUTHENTICATED` (401), `INSUFFICIENT_SCOPE` (403), `INTEGRATION_BLOCKED_BY_ORGANIZATION` (403), `INTEGRATION_PENDING_APPROVAL` (403), `RATE_LIMITED` (429), `INTERNAL_ERROR` (500).

**Example: A media waiting for review**

```bash
curl -X GET "https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/media-library/review/0b6f5a52-7f4e-4c55-9d6f-2f0a6a1c3e11" \
  -H "Authorization: Bearer beplan_pat_…"
```

Answers 200:

```json
{
  "data": {
    "id": "0b6f5a52-7f4e-4c55-9d6f-2f0a6a1c3e11",
    "folderId": null,
    "filename": "launch-teaser.mp4",
    "altText": null,
    "mediaType": "video",
    "mimeType": "video/mp4",
    "size": 52428800,
    "width": 1080,
    "height": 1920,
    "aspectRatio": 0.5625,
    "duration": 28.4,
    "waveform": null,
    "createdAt": "2026-11-18T09:30:00.000Z",
    "formats": [],
    "usage": "unused",
    "processing": {
      "state": "ready",
      "error": null
    },
    "previewUrl": "https://storage.beplan.io/org-media/…/poster.jpg?X-Amz-Signature=…",
    "mediaUrl": "https://storage.beplan.io/org-media/…/v2.mp4?X-Amz-Signature=…",
    "playback": null,
    "publishCopy": null,
    "reviewStatus": "pending_review",
    "versionNumber": 2,
    "reviewNote": null,
    "uploadedBy": {
      "id": "user_7mQ4z",
      "name": "Sam Lee",
      "image": null
    },
    "reviewedBy": null,
    "reviewedAt": null,
    "assignedTo": null,
    "assignedAt": null,
    "versions": [
      {
        "versionNumber": 2,
        "mediaUrl": "https://storage.beplan.io/org-media/…/v2.mp4?X-Amz-Signature=…",
        "previewUrl": "https://storage.beplan.io/org-media/…/v2-poster.jpg?X-Amz-Signature=…",
        "playback": null,
        "mimeType": "video/mp4",
        "size": 52428800,
        "width": 1080,
        "height": 1920,
        "aspectRatio": 0.5625,
        "duration": 28.4,
        "createdAt": "2026-11-19T08:40:00.000Z",
        "uploadedBy": {
          "id": "user_7mQ4z",
          "name": "Sam Lee",
          "image": null
        }
      },
      {
        "versionNumber": 1,
        "mediaUrl": "https://storage.beplan.io/org-media/…/v1.mp4?X-Amz-Signature=…",
        "previewUrl": "https://storage.beplan.io/org-media/…/v1-poster.jpg?X-Amz-Signature=…",
        "playback": null,
        "mimeType": "video/mp4",
        "size": 50331648,
        "width": 1080,
        "height": 1920,
        "aspectRatio": 0.5625,
        "duration": 31.2,
        "createdAt": "2026-11-18T09:30:00.000Z",
        "uploadedBy": {
          "id": "user_7mQ4z",
          "name": "Sam Lee",
          "image": null
        }
      }
    ]
  }
}
```


## Get a version's download URL

`GET /organizations/{organizationId}/workspaces/{workspaceId}/media-library/review/{mediaId}/download-url` · operationId `media.review.downloadUrl.get`

- Scope: `media:read`
- Role permission: Any member who can see it
- Effect (`read`): Changes nothing.
- Stability: Beta (May still change before it is marked stable.) Since 2026-11-19.

Returns a signed URL (valid about one hour) that downloads one version of a media in review under the media's name. `version` is the version number (default: the newest). Needs the organization's Team Collaboration add-on (`402 PLAN_UPGRADE_REQUIRED` with `details.feature: "team_collaboration"` without it).

**Parameters**

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `organizationId` | path | string | yes | 1–128 characters |
| `workspaceId` | path | string (uuid) | yes |  |
| `mediaId` | path | string (uuid) | yes |  |
| `version` | query | integer | no | at least 0 |

**200 OK**

- `data` (object, required)
  - `url` (string, required)

**Errors**

| Status | Code | Message |
|---|---|---|
| 400 | `VALIDATION_FAILED` | Some of the information sent is invalid. |
| 402 | `PLAN_UPGRADE_REQUIRED` | Your current plan doesn't include this feature. |
| 404 | `MEDIA_NOT_FOUND` | This media doesn't exist or was deleted. |
| 404 | `ORGANIZATION_NOT_FOUND` | This organization doesn't exist or you're not a member of it. |
| 404 | `WORKSPACE_NOT_FOUND` | This workspace doesn't exist or you don't have access to it. |

Also, like every operation: `APP_SUSPENDED` (401), `TOKEN_EXPIRED` (401), `TOKEN_REVOKED` (401), `UNAUTHENTICATED` (401), `INSUFFICIENT_SCOPE` (403), `INTEGRATION_BLOCKED_BY_ORGANIZATION` (403), `INTEGRATION_PENDING_APPROVAL` (403), `RATE_LIMITED` (429), `INTERNAL_ERROR` (500).

**Example: The newest version**

```bash
curl -X GET "https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/media-library/review/0b6f5a52-7f4e-4c55-9d6f-2f0a6a1c3e11/download-url" \
  -H "Authorization: Bearer beplan_pat_…"
```

Answers 200:

```json
{
  "data": {
    "url": "https://storage.beplan.io/org-media/…?X-Amz-Signature=…"
  }
}
```


## Reply in a review thread

`POST /organizations/{organizationId}/workspaces/{workspaceId}/media-library/threads/{threadId}/comments` · operationId `media.threads.reply`

- Scope: `media:review`
- Role permission: Any member who can see it
- Effect (`write`): Changes data in Beplan.
- Idempotency: Send an `Idempotency-Key` to retry safely: the same key with the same body within 24 hours returns the stored response.
- Stability: Beta (May still change before it is marked stable.) Since 2026-11-19.

Adds a comment (`body`, up to 5,000 characters) to an open thread, on `versionNumber` (default: the media's current version). Anyone who can follow the media's review can reply. `mentionedUserIds` (up to 50, from `media.mentionableUsers.list`) tags people: each gets an email with the comment and a link to it (never the author); someone who can't see the workspace is refused with `400 VALIDATION_FAILED`. Write their names as `@Name` in `body`. `409 THREAD_CLOSED` when the thread is resolved: reopen it first. Answers `201` with the comment. Needs the organization's Team Collaboration add-on (`402 PLAN_UPGRADE_REQUIRED` with `details.feature: "team_collaboration"` without it).

**Parameters**

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `organizationId` | path | string | yes | 1–128 characters |
| `workspaceId` | path | string (uuid) | yes |  |
| `threadId` | path | string (uuid) | yes |  |

**Request body** (JSON, required)

- `body` (string, required): 1–5000 characters.
- `versionNumber` (integer, optional): at least 0.
- `mentionedUserIds` (array of string, required): at most 50 items.

**201 Created**

- `data` (object, required, MediaComment)
  - `id` (string, required)
  - `author` (object, required, nullable, MediaPerson)
    - `id` (string, required)
    - `name` (string, required): The member's name. "A member" for an integration that does not hold `members:read` (the id is kept; the Inbox always names them).
    - `image` (string, required, nullable): Their picture's URL; `null` without one, and for an integration that does not hold `members:read` (outside the Inbox).
  - `body` (string, required)
  - `type` (string, required): one of `text`, `close_thread`, `open_thread` (may gain values).
  - `versionNumber` (number, required, nullable)
  - `mentions` (array of object, required)
    - `id` (string, required)
    - `name` (string, required): The member's name. "A member" for an integration that does not hold `members:read` (the id is kept; the Inbox always names them).
    - `image` (string, required, nullable): Their picture's URL; `null` without one, and for an integration that does not hold `members:read` (outside the Inbox).
  - `createdAt` (string (date-time), required)

**Errors**

| Status | Code | Message |
|---|---|---|
| 400 | `VALIDATION_FAILED` | Some of the information sent is invalid. |
| 402 | `PLAN_UPGRADE_REQUIRED` | Your current plan doesn't include this feature. |
| 404 | `ORGANIZATION_NOT_FOUND` | This organization doesn't exist or you're not a member of it. |
| 404 | `THREAD_NOT_FOUND` | This conversation doesn't exist or was deleted. |
| 404 | `WORKSPACE_NOT_FOUND` | This workspace doesn't exist or you don't have access to it. |
| 409 | `THREAD_CLOSED` | This conversation is resolved. Reopen it to reply. |

Also, like every operation: `APP_SUSPENDED` (401), `TOKEN_EXPIRED` (401), `TOKEN_REVOKED` (401), `UNAUTHENTICATED` (401), `INSUFFICIENT_SCOPE` (403), `INTEGRATION_BLOCKED_BY_ORGANIZATION` (403), `INTEGRATION_PENDING_APPROVAL` (403), `CONFLICT` (409), `IDEMPOTENCY_KEY_REUSED` (409), `PAYLOAD_TOO_LARGE` (413), `UNSUPPORTED_MEDIA_TYPE` (415), `RATE_LIMITED` (429), `INTERNAL_ERROR` (500).

**Example: A reply**

```bash
curl -X POST "https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/media-library/threads/9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d/comments" \
  -H "Authorization: Bearer beplan_pat_…" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "body": "Fixed in the next cut.",
  "mentionedUserIds": []
}'
```

Answers 201:

```json
{
  "data": {
    "id": "5a4b3c2d-1e0f-4a9b-8c7d-6e5f4a3b2c1d",
    "author": {
      "id": "user_2x8Kq",
      "name": "Alex Martin",
      "image": null
    },
    "body": "Fixed in the next cut.",
    "type": "text",
    "versionNumber": 1,
    "mentions": [],
    "createdAt": "2026-11-18T11:20:00.000Z"
  }
}
```


## Reopen a review thread

`POST /organizations/{organizationId}/workspaces/{workspaceId}/media-library/threads/{threadId}/reopen` · operationId `media.threads.reopen`

- Scope: `media:review`
- Role permission: Any member who can see it
- Effect (`write`): Changes data in Beplan.
- Idempotency: Send an `Idempotency-Key` to retry safely: the same key with the same body within 24 hours returns the stored response.
- Stability: Beta (May still change before it is marked stable.) Since 2026-11-19.

Reopens a resolved thread (`open`) and records a trace comment. Already open: nothing changes. Returns the thread. Needs the organization's Team Collaboration add-on (`402 PLAN_UPGRADE_REQUIRED` with `details.feature: "team_collaboration"` without it).

**Parameters**

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `organizationId` | path | string | yes | 1–128 characters |
| `workspaceId` | path | string (uuid) | yes |  |
| `threadId` | path | string (uuid) | yes |  |

**200 OK**

- `data` (object, required, MediaThread)
  - `id` (string, required)
  - `status` (string, required): one of `open`, `closed`.
  - `startMs` (number, required, nullable)
  - `endMs` (number, required, nullable)
  - `versionNumber` (number, required, nullable)
  - `createdAt` (string (date-time), required)
  - `comments` (array of object, required)
    - `id` (string, required)
    - `author` (object, required, nullable, MediaPerson)
      - `id` (string, required)
      - `name` (string, required): The member's name. "A member" for an integration that does not hold `members:read` (the id is kept; the Inbox always names them).
      - `image` (string, required, nullable): Their picture's URL; `null` without one, and for an integration that does not hold `members:read` (outside the Inbox).
    - `body` (string, required)
    - `type` (string, required): one of `text`, `close_thread`, `open_thread` (may gain values).
    - `versionNumber` (number, required, nullable)
    - `mentions` (array of object, required)
      - `id` (string, required)
      - `name` (string, required): The member's name. "A member" for an integration that does not hold `members:read` (the id is kept; the Inbox always names them).
      - `image` (string, required, nullable): Their picture's URL; `null` without one, and for an integration that does not hold `members:read` (outside the Inbox).
    - `createdAt` (string (date-time), required)

**Errors**

| Status | Code | Message |
|---|---|---|
| 402 | `PLAN_UPGRADE_REQUIRED` | Your current plan doesn't include this feature. |
| 404 | `ORGANIZATION_NOT_FOUND` | This organization doesn't exist or you're not a member of it. |
| 404 | `THREAD_NOT_FOUND` | This conversation doesn't exist or was deleted. |
| 404 | `WORKSPACE_NOT_FOUND` | This workspace doesn't exist or you don't have access to it. |

Also, like every operation: `VALIDATION_FAILED` (400), `APP_SUSPENDED` (401), `TOKEN_EXPIRED` (401), `TOKEN_REVOKED` (401), `UNAUTHENTICATED` (401), `INSUFFICIENT_SCOPE` (403), `INTEGRATION_BLOCKED_BY_ORGANIZATION` (403), `INTEGRATION_PENDING_APPROVAL` (403), `CONFLICT` (409), `IDEMPOTENCY_KEY_REUSED` (409), `PAYLOAD_TOO_LARGE` (413), `UNSUPPORTED_MEDIA_TYPE` (415), `RATE_LIMITED` (429), `INTERNAL_ERROR` (500).

**Example: Reopen a thread**

```bash
curl -X POST "https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/media-library/threads/9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d/reopen" \
  -H "Authorization: Bearer beplan_pat_…" \
  -H "Idempotency-Key: $(uuidgen)"
```

Answers 200:

```json
{
  "data": {
    "id": "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
    "status": "open",
    "startMs": 4200,
    "endMs": null,
    "versionNumber": 1,
    "createdAt": "2026-11-18T10:02:00.000Z",
    "comments": [
      {
        "id": "4f3e2d1c-0b9a-4876-9543-210fedcba987",
        "author": {
          "id": "user_2x8Kq",
          "name": "Alex Martin",
          "image": null
        },
        "body": "The logo pops in too early here.",
        "type": "text",
        "versionNumber": 1,
        "mentions": [],
        "createdAt": "2026-11-18T10:02:00.000Z"
      },
      {
        "id": "7c6d5e4f-3a2b-4c1d-8e9f-0a7b6c5d4e3f",
        "author": {
          "id": "user_2x8Kq",
          "name": "Alex Martin",
          "image": null
        },
        "body": "",
        "type": "open_thread",
        "versionNumber": 2,
        "mentions": [],
        "createdAt": "2026-11-19T09:10:00.000Z"
      }
    ]
  }
}
```


## Resolve a review thread

`POST /organizations/{organizationId}/workspaces/{workspaceId}/media-library/threads/{threadId}/resolve` · operationId `media.threads.resolve`

- Scope: `media:review`
- Role permission: Any member who can see it
- Effect (`write`): Changes data in Beplan.
- Idempotency: Send an `Idempotency-Key` to retry safely: the same key with the same body within 24 hours returns the stored response.
- Stability: Beta (May still change before it is marked stable.) Since 2026-11-19.

Marks a thread resolved (`closed`) and records a trace comment. Already resolved: nothing changes. Returns the thread. Needs the organization's Team Collaboration add-on (`402 PLAN_UPGRADE_REQUIRED` with `details.feature: "team_collaboration"` without it).

**Parameters**

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `organizationId` | path | string | yes | 1–128 characters |
| `workspaceId` | path | string (uuid) | yes |  |
| `threadId` | path | string (uuid) | yes |  |

**200 OK**

- `data` (object, required, MediaThread)
  - `id` (string, required)
  - `status` (string, required): one of `open`, `closed`.
  - `startMs` (number, required, nullable)
  - `endMs` (number, required, nullable)
  - `versionNumber` (number, required, nullable)
  - `createdAt` (string (date-time), required)
  - `comments` (array of object, required)
    - `id` (string, required)
    - `author` (object, required, nullable, MediaPerson)
      - `id` (string, required)
      - `name` (string, required): The member's name. "A member" for an integration that does not hold `members:read` (the id is kept; the Inbox always names them).
      - `image` (string, required, nullable): Their picture's URL; `null` without one, and for an integration that does not hold `members:read` (outside the Inbox).
    - `body` (string, required)
    - `type` (string, required): one of `text`, `close_thread`, `open_thread` (may gain values).
    - `versionNumber` (number, required, nullable)
    - `mentions` (array of object, required)
      - `id` (string, required)
      - `name` (string, required): The member's name. "A member" for an integration that does not hold `members:read` (the id is kept; the Inbox always names them).
      - `image` (string, required, nullable): Their picture's URL; `null` without one, and for an integration that does not hold `members:read` (outside the Inbox).
    - `createdAt` (string (date-time), required)

**Errors**

| Status | Code | Message |
|---|---|---|
| 402 | `PLAN_UPGRADE_REQUIRED` | Your current plan doesn't include this feature. |
| 404 | `ORGANIZATION_NOT_FOUND` | This organization doesn't exist or you're not a member of it. |
| 404 | `THREAD_NOT_FOUND` | This conversation doesn't exist or was deleted. |
| 404 | `WORKSPACE_NOT_FOUND` | This workspace doesn't exist or you don't have access to it. |

Also, like every operation: `VALIDATION_FAILED` (400), `APP_SUSPENDED` (401), `TOKEN_EXPIRED` (401), `TOKEN_REVOKED` (401), `UNAUTHENTICATED` (401), `INSUFFICIENT_SCOPE` (403), `INTEGRATION_BLOCKED_BY_ORGANIZATION` (403), `INTEGRATION_PENDING_APPROVAL` (403), `CONFLICT` (409), `IDEMPOTENCY_KEY_REUSED` (409), `PAYLOAD_TOO_LARGE` (413), `UNSUPPORTED_MEDIA_TYPE` (415), `RATE_LIMITED` (429), `INTERNAL_ERROR` (500).

**Example: Resolve a thread**

```bash
curl -X POST "https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/media-library/threads/9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d/resolve" \
  -H "Authorization: Bearer beplan_pat_…" \
  -H "Idempotency-Key: $(uuidgen)"
```

Answers 200:

```json
{
  "data": {
    "id": "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
    "status": "closed",
    "startMs": 4200,
    "endMs": null,
    "versionNumber": 1,
    "createdAt": "2026-11-18T10:02:00.000Z",
    "comments": [
      {
        "id": "4f3e2d1c-0b9a-4876-9543-210fedcba987",
        "author": {
          "id": "user_2x8Kq",
          "name": "Alex Martin",
          "image": null
        },
        "body": "The logo pops in too early here.",
        "type": "text",
        "versionNumber": 1,
        "mentions": [],
        "createdAt": "2026-11-18T10:02:00.000Z"
      },
      {
        "id": "6b5c4d3e-2f1a-4b0c-9d8e-7f6a5b4c3d2e",
        "author": {
          "id": "user_2x8Kq",
          "name": "Alex Martin",
          "image": null
        },
        "body": "",
        "type": "close_thread",
        "versionNumber": 1,
        "mentions": [],
        "createdAt": "2026-11-18T14:05:00.000Z"
      }
    ]
  }
}
```


---
HTML version: https://beplan.io/docs/api/media-review/
