trash

Restore a received message

Brings a received message back from Trash. Send no request body. It returns to listings, search and its conversation, with its labels and attachments, and repeating a restore is safe.

Restoring every message of a deleted conversation brings the conversation back. After restorable_until the message can't be restored and the request returns 404.

post/v1/messages/{message_id}/restore

Request

  • Base URL: https://cherami.to
  • URL: https://cherami.to/v1/messages/{message_id}/restore
  • Auth: HTTP bearer

Path parameters

message_idstring required

Cherami resource ID returned by the API.

Response

Success.

idstring required

Cherami resource ID.

inbox_idstring required

Cherami resource ID.

thread_idstring nullable required

Cherami resource ID.

status'restored' | 'already_live' required
messagestring required

Changes

No recorded changes to this operation across all 1 revision of this API.