How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Nylas Drafts API

Drafts. Compose, update, send and delete drafts, manage attachments, and generate draft bodies and replies with Smart Compose.

Nylas Drafts API is one of 13 APIs that Nylas publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Drafts. The published artifact set on APIs.io includes an OpenAPI specification.

This API exposes 8 operations across 4 paths, and defines 11 schemas. It is described by OpenAPI 3.2.0, at version v3.

Requests are made against 2 base URLs: https://api.us.nylas.com, https://api.eu.nylas.com.

8 operations 4 paths 11 schemas 1 DELETE2 GET4 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
v3
Base URL
https://api.us.nylas.com
Authentication
HTTP Bearer, HTTP Bearer
Resource Areas
1

Authentication & Security 2

Nylas Drafts API declares 2 security schemes for authenticating requests. It accepts HTTP bearer tokens (NYLAS_ACCESS_TOKEN) (ACCESS_TOKEN). It accepts HTTP bearer tokens (NYLAS_API_KEY) (NYLAS_API_KEY). By default, every request must be authenticated.

  • ACCESS_TOKEN — The Nylas access token for a specific grant. Issued as part of OAuth 2.1 flow token exchange.
  • NYLAS_API_KEY — The Nylas API key provides application-level access to APIs and all grants. You can generate these from the Dashboard. Learn more about [authorizing requests](…

Paths & Operations 8

Across 4 paths, the API surfaces 8 operations — 1 DELETE, 2 GET, 4 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Drafts 8
GET
/v3/grants/{grant_id}/drafts
Return all Drafts
get-drafts 14 params → 200400401429504
POST
/v3/grants/{grant_id}/drafts
Create a Draft
post-draft 1 param body → 200400401429504
GET
/v3/grants/{grant_id}/drafts/{draft_id}
Return a Draft
get-draft-id 4 params → 200400401404429504
PUT
/v3/grants/{grant_id}/drafts/{draft_id}
Update a draft
put-drafts-id 3 params body → 200400401404429504
DELETE
/v3/grants/{grant_id}/drafts/{draft_id}
Delete a Draft
delete-drafts-id 2 params → 200400401404429504
POST
/v3/grants/{grant_id}/drafts/{draft_id}
Send a Draft
send-draft-id 3 params body → 200400401
POST
/v3/grants/{grant_id}/messages/smart-compose
Compose a message
post-smart-compose 1 param body → 200400401422500
POST
/v3/grants/{grant_id}/messages/{message_id}/smart-compose
Compose a reply
post-smart-compose-reply 2 params body → 200400401422500

Schemas 11

The contract defines 11 schemas that model the data the API accepts and returns. The most detailed are draft (16 properties), attachment (8 properties), common_response_with_cursor (3 properties), message-participant-response (2 properties). Each schema is shown below with its type and property counts.

attachment
object
A file attached to an email message.
8 properties 1 required
smart_compose_suggestion
object
1 property 1 required
grant_id
string
The ID of grant for the connected user.
common_response_with_cursor
object
3 properties
common_response
object
2 properties
metadata
object
The metadata associated with the object. For more information, see [Metadata](/docs/reference/api/metadata).
draft
object
A draft of a message. You can edit a draft until you send it as a message.
16 properties
id
string
A globally unique object identifier for Microsoft accounts. An email address for Google accounts.
message-participant-response
object
A name/email address pair.
2 properties
tracking_domain_name
string
The custom hostname to use for link click and message open tracking. The hostname must be registered to the authenticated organization in the [Nylas Dashboard]…
message-participant
object
A name/email address pair.
2 properties 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

nylas-drafts-api-openapi.yml Raw ↑

Other APIs Nylas publishes across the network.

Nylas Admin API
Nylas Auth API
Nylas Calendars API
Nylas Contacts API
Nylas Events API
Nylas Grants API
Nylas Messages API
Nylas Scheduling API
Nylas Threads API
Nylas Notifications API
Nylas Notetaker API
Nylas Templates and Workflows API
Where this information came from

This is an independent, third-party profile of Nylas Drafts API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.