---
# @generated by sylphx-gen. Do not edit.
title: "Review media on a chat profile"
description: "`events.chat_profiles.review_media` (POST /v1/{name}:reviewMedia): Registers an image and its automated moderation receipt."
type: reference
product: queues
summary: "Registers an image and its automated moderation receipt."
updated: 2026-09-28
nav: false
---

Registers an image and its automated moderation receipt.

- **Path** `POST https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/chat_profiles/chat-profile:reviewMedia`
- **Scope** `events:write`
- **Effect** `write` — a successful call changes state.
- **Collection** [chat_profiles](/docs/api/chat_profiles)

## Request

| Field | Type | What it is |
| --- | --- | --- |
| `name` | `string` | Uploader's profile resource name. Required. |
| `sha256` | `string` | Lowercase SHA-256 digest. |
| `content_uri` | `string` | Exact existing storage URI. |
| `status` | `string` | pending registers an upload; approved or rejected is a backend moderation receipt. |
| `reason` | `string` | Administrator-only moderation reason; player status/reason are never trusted. |

## Response

| Field | Type | What it is |
| --- | --- | --- |
| `sha256` | `string` | SHA-256 digest. |
| `content_uri` | `string` | Exact URI. |
| `uploader_id` | `string` | Stable uploader identity. |
| `status` | `string` | pending, approved or rejected. |
| `reason` | `string` | Visible pending/refusal reason, such as moderation_checking. |

## Errors

- [`UNAUTHENTICATED`](/docs/api/errors/UNAUTHENTICATED) — No valid key or token was presented.
- [`PERMISSION_DENIED`](/docs/api/errors/PERMISSION_DENIED) — The key lacks the method's permission.
- [`RESOURCE_NOT_FOUND`](/docs/api/errors/RESOURCE_NOT_FOUND) — The named Resource does not exist or is not visible.
- [`INVALID_FIELD`](/docs/api/errors/INVALID_FIELD) — A field failed validation.
- [`INVALID_STATE`](/docs/api/errors/INVALID_STATE) — The Resource is in a state that forbids the call.

Every error arrives in the body [Errors](/docs/platform/errors) describes.

## Examples

**cURL**

```curl
curl -X POST "https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/chat_profiles/chat-profile:reviewMedia" \
  -H "Authorization: Bearer $SYLPHX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

**TypeScript**

```ts
const response = await sylphx.events.chatProfiles.reviewMedia({ name: 'orgs/acme/projects/shop/envs/production/chat_profiles/chat-profile' })
```

**Rust**

```rust
let mut req = sylphx::events::ReviewChatMediaRequest::default();
req.name = "orgs/acme/projects/shop/envs/production/chat_profiles/chat-profile".to_string();
let response = sx.events().chat_profiles().review_media(req).await?;
```

**CLI**

```bash
sylphx events chat-profiles review-media orgs/acme/projects/shop/envs/production/chat_profiles/chat-profile
```

**MCP**

```json
{ "method_id": "events.chat_profiles.review_media", "args": {"name":"orgs/acme/projects/shop/envs/production/chat_profiles/chat-profile"} }
```
