---
title: "Review message groups"
method: POST
path: "/v0/message-groups/review"
tags: ["Message Groups"]
---

# Review message groups

`POST /v0/message-groups/review`

Review, classify and take actions on message groups

## Request body

- ReviewMessageGroupsInput
  - `action` 'restore' | 'warning_banner' | 'quarantine' | 'trash' | 'move_to_spam' | 'move_to_graymail' | 'delete_calendar_events' — Action to take on the message group
  - `classification` 'malicious' | 'benign' | 'spam' | 'graymail' | 'simulation' | 'unwanted' | 'violation' | 'non-violation' | 'skip', required — Classification of the message group
  - `custom_action_ids` string[] — IDs of actions to perform on the message group
  - `message_group_ids` string[], required — Canonical IDs of the message groups to review
  - `review_comment` string, nullable — Comment describing reason for action
  - `share_with_sublime` boolean — Whether to share the message group & review with Sublime

## Response `202`

Accepted

- HandlersReviewMessagesResponse
  - `actions` string[] — List of actions that were applied
  - `task_id` string, nullable — Tracking ID of the parent task

---

[API](https://skmtc.net/sublime/apis/sublime-platform-api.md) · [All operations](https://skmtc.net/sublime/apis/sublime-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sublime/sublime-platform-api/revisions/d5df82850357/schema)
