List email drafts
org.intentschema.communication.email.draft.list.v1
JSON: bare · @sha256:0858d54c3a72…
Hash: sha256:0858d54c3a72b7d90176cf5b0a8c0821b27fcb398dfc8b11c74ffa4bdc5b5e51
List the user's drafts.
Payload
| Field | Type | Description |
target * | Target | |
object | object | |
object
| Field | Type | Description |
filter | object | |
limit | integer (minimum 1; maximum 500; default 50) | |
cursor | string | |
filter
| Field | Type | Description |
after | string (date-time) | |
before | string (date-time) | |
subject_contains | string | |
Result
| Field | Type | Description |
items * | object[] | |
next_cursor | string | |
items[]
| Field | Type | Description |
external_id | string | |
subject | string | |
snippet | string | |
to | string (email)[] | |
updated_at | string (date-time) | |
Examples
list drafts
{
"target": {
"system": "gmail"
},
"object": {}
}
Profiles