/gmail/v1/users/{userId}/threads/{id}/modify
POST
/gmail/v1/users/{userId}/threads/{id}/modify
users
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://gmail.googleapis.com//gmail/v1/users//threads//modify' \
--header 'Content-Type: application/json' \
--data-raw ''
Response Response Example
{
"historyId": "string",
"id": "string",
"messages": [
{
"historyId": "string",
"id": "string",
"internalDate": "string",
"labelIds": [
"string"
],
"payload": {
"body": {
"attachmentId": "string",
"data": "string",
"size": 0
},
"filename": "string",
"headers": [
{
"name": "string",
"value": "string"
}
],
"mimeType": "string",
"partId": "string",
"parts": [
{}
]
},
"raw": "string",
"sizeEstimate": 0,
"snippet": "string",
"threadId": "string"
}
],
"snippet": "string"
}
Request
Path Params
userId
stringÂ
required
me
can be used to indicate the authenticated user.id
stringÂ
required
Body Params application/json
Responses
Modified at 2023-08-15 05:40:23