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

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

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