Logo
Zoom Public API Documentation

Get the specified draft email

GET {{baseUrl}}/emails/mailboxes/:email/drafts/:draftId?format=full

Retrieves the specified draft.

Scopes: mail:read

Rate Limit Label: LIGHT

Not supported in Gov cluster

 

Body PARAM

Key Datatype Required Description 
format
string The format to return the draft in.



HEADERS

Key Datatype Required Description 
Accept
string




RESPONSES

status OK

{ "id": "<string>", "message": { "id": "<string>", "threadId": "<string>", "labelIds": [ "<string>", "<string>" ], "snippet": "<string>", "historyId": "<string>", "internalDate": "<string>", "payload": { "partId": "<string>", "mimeType": "<string>", "filename": "<string>", "headers": [ { "name": "<string>", "value": "<string>" }, { "name": "<string>", "value": "<string>" } ], "body": { "attachmentId": "<string>", "size": "<integer>", "data": "<string>" }, "parts": [ { "partId": "<string>", "mimeType": "<string>", "filename": "<string>", "headers": [ { "name": "<string>", "value": "<string>" }, { "name": "<string>", "value": "<string>" } ], "body": { "attachmentId": "<string>", "data": "<string>", "size": "<integer>" }, "parts": [ { "partId": "<string>", "mimeType": "<string>", "filename": "<string>", "headers": [ { "name": "<string>", "value": "<string>" }, { "name": "<string>", "value": "<string>" } ], "body": { "attachmentId": "<string>", "data": "<string>", "size": "<integer>" }, "parts": [ { "partId": "<string>", "mimeType": "<string>", "filename": "<string>", "headers": [ { "name": "<string>", "value": "<string>" }, { "name": "<string>", "value": "<string>" } ], "body": { "attachmentId": "<string>", "data": "<string>", "size": "<integer>" } }, { "partId": "<string>", "mimeType": "<string>", "filename": "<string>", "headers": [ { "name": "<string>", "value": "<string>" }, { "name": "<string>", "value": "<string>" } ], "body": { "attachmentId": "<string>", "data": "<string>", "size": "<integer>" } } ] }, { "partId": "<string>", "mimeType": "<string>", "filename": "<string>", "headers": [ { "name": "<string>", "value": "<string>" }, { "name": "<string>", "value": "<string>" } ], "body": { "attachmentId": "<string>", "data": "<string>", "size": "<integer>" }, "parts": [ { "partId": "<string>", "mimeType": "<string>", "filename": "<string>", "headers": [ { "name": "<string>", "value": "<string>" }, { "name": "<string>", "value": "<string>" } ], "body": { "attachmentId": "<string>", "data": "<string>", "size": "<integer>" } }, { "partId": "<string>", "mimeType": "<string>", "filename": "<string>", "headers": [ { "name": "<string>", "value": "<string>" }, { "name": "<string>", "value": "<string>" } ], "body": { "attachmentId": "<string>", "data": "<string>", "size": "<integer>" } } ] } ] }, { "partId": "<string>", "mimeType": "<string>", "filename": "<string>", "headers": [ { "name": "<string>", "value": "<string>" }, { "name": "<string>", "value": "<string>" } ], "body": { "attachmentId": "<string>", "data": "<string>", "size": "<integer>" }, "parts": [ { "partId": "<string>", "mimeType": "<string>", "filename": "<string>", "headers": [ { "name": "<string>", "value": "<string>" }, { "name": "<string>", "value": "<string>" } ], "body": { "attachmentId": "<string>", "data": "<string>", "size": "<integer>" }, "parts": [ { "partId": "<string>", "mimeType": "<string>", "filename": "<string>", "headers": [ { "name": "<string>", "value": "<string>" }, { "name": "<string>", "value": "<string>" } ], "body": { "attachmentId": "<string>", "data": "<string>", "size": "<integer>" } }, { "partId": "<string>", "mimeType": "<string>", "filename": "<string>", "headers": [ { "name": "<string>", "value": "<string>" }, { "name": "<string>", "value": "<string>" } ], "body": { "attachmentId": "<string>", "data": "<string>", "size": "<integer>" } } ] }, { "partId": "<string>", "mimeType": "<string>", "filename": "<string>", "headers": [ { "name": "<string>", "value": "<string>" }, { "name": "<string>", "value": "<string>" } ], "body": { "attachmentId": "<string>", "data": "<string>", "size": "<integer>" }, "parts": [ { "partId": "<string>", "mimeType": "<string>", "filename": "<string>", "headers": [ { "name": "<string>", "value": "<string>" }, { "name": "<string>", "value": "<string>" } ], "body": { "attachmentId": "<string>", "data": "<string>", "size": "<integer>" } }, { "partId": "<string>", "mimeType": "<string>", "filename": "<string>", "headers": [ { "name": "<string>", "value": "<string>" }, { "name": "<string>", "value": "<string>" } ], "body": { "attachmentId": "<string>", "data": "<string>", "size": "<integer>" } } ] } ] } ] }, "sizeEstimate": "<integer>", "raw": "<string>" } }



Curl
curl -X GET 'https://api.zoom.us/v2/emails/mailboxes/:email/drafts/:draftId?format=full?format=full' -H 'Accept: application/json'

ENDPOINTS