Skip to main content
PUT
Replace a Gmail draft's full content

Authorizations

Authorization
string
header
required

Session token passed as Authorization: Bearer <session-token> for user-authenticated Den routes.

Path Parameters

draftId
string
required

Existing Gmail draft ID, not its message ID.

Required string length: 1 - 512

Body

application/json
confirm
boolean
required

True only when the user explicitly requested this action on this resource. Discovering or selecting a capability is not authorization.

message
object
required

Response

Google's validated response.

id
string
required
Minimum string length: 1
message
object
required
{key}
any