Create a Draft
POST {{baseUrl}}/v3/grants/:grant_id/drafts
You can use the Drafts v3 API to create a draft email message. See the Drafts documentation for more information.
Request Body
{"subject"=>"<string", "to"=>[{"email"=>"<string>", "name"=>"<string>"}], "from"=>[{"email"=>"<string>", "name"=>"<string>"}], "reply_to"=>[{"name"=>"<string>", "email"=>"<string>"}], "reply_to_message_id"=>"<string>", "body"=>"This email was sent using the Nylas email API. Visit https://nylas.com for details."}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"request_id":"\u003cstring\u003e","data":"\u003cobject\u003e"}