Drafts
Get a draft
Returns the draft as it stands now, including any edits a person made. Requires scope mail:read.
get/mailboxes/{address}/drafts/{uid}
Request
- Base URL: https://faivelo.com/api/v1
- URL: https://faivelo.com/api/v1/mailboxes/{address}/drafts/{uid}
- Auth: HTTP bearer
Path parameters
addressstring required
Full mailbox address, e.g. user@yourdomain.com
uidinteger required
The draft's UID in the Drafts folder, as returned when it was created or listed.
Response
The draft
Example response
{
"success": true,
"data": {
"uid": 1234,
"from": "alice@example.com",
"to": [
"jane@yourdomain.com"
],
"subject": "Hello from Alice",
"seen": true,
"labels": [
"needs-reply"
],
"attachments": [
{
"filename": "report.pdf",
"contentType": "application/pdf",
"size": 102400
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.