Skip to main content
POST
Restore a Gmail message from trash

Authorizations

x-api-key
string
header
required

Organization API key passed as the x-api-key header. The raw key is the header value; do not prefix it with Bearer.

Path Parameters

messageId
string
required
Required string length: 1 - 512

Response

Google's validated response.

id
string
required
Minimum string length: 1
threadId
string
required
Minimum string length: 1
{key}
any