---
title: "Restore a previously-trashed message"
method: POST
path: "/v0/messages/{id}/restore"
tags: ["Messages"]
---

# Restore a previously-trashed message

`POST /v0/messages/{id}/restore`

Restore a previously-trashed message. "For an Office 365 message source, the message will be put back in the folder it was in before. For a Google Workspace message source, any applied labels (e.g. "Trash") will be removed from the message."

## Path parameters

- `id` string, uuid, required — ID of the message to restore

## Response `202`

Accepted

- HandlerTypesTaskAccepted
  - `task_id` string, uuid, required — Task ID. Use the /v0/tasks/:id endpoint to check the task status.

---

[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/versions/d5df82850357/schema)
