Skip to main content
Glama
index.md1.9 kB
## Changes to Threads Nylas v3 includes the following changes to the Threads API: - All Threads endpoints now require a `grant_id`, an email address, or — if you're using access token authentication — the [`/me/` construction](https://developer.nylas.com/docs/api/v3/ecc/#overview--me-syntax-for-api-calls). - You can now soft-delete threads. - The `folder` object in all Threads now contains a list of `folder_id`s instead of an array of Folders. - Support for the `view=expanded` query parameter is deprecated. ### New Threads endpoints - Delete a thread: [`DELETE /v3/grants/<NYLAS_GRANT_ID>/threads/<THREAD_ID>`](https://developer.nylas.com/docs/api/v3/ecc/#delete-/v3/grants/-grant_id-/threads/-thread_id-) ### Migrated Threads endpoints - Return all threads: `GET /threads` → [`GET /v3/grants/<NYLAS_GRANT_ID>/threads`](https://developer.nylas.com/docs/api/v3/ecc/#get-/v3/grants/-grant_id-/threads) - Return a specific thread: `GET /threads/<THREAD_ID>` → [`GET /v3/grants/<NYLAS_GRANT_ID>/threads/<THREAD_ID>`](https://developer.nylas.com/docs/api/v3/ecc/#get-/v3/grants/-grant_id-/threads/-thread_id-) - Update a specific thread: `PUT /threads/<THREAD_ID>` → [`PUT /v3/grants/<NYLAS_GRANT_ID>/threads/<THREAD_ID>`](https://developer.nylas.com/docs/api/v3/ecc/#put-/v3/grants/-grant_id-/threads/-thread_id-) ### Changes to Threads response fields Nylas v3 adds the following response fields for `/threads` requests: - `latest_draft_or_message`: The most recent draft or email message in the thread. - `has_drafts`: Indicates whether the thread has associated Drafts. The following response fields have also been updated: - `first_message_timestamp` → `earliest_message_date` - `last_message_received_timestamp` → `latest_message_received_date` - `last_message_sent_timestamp` → `latest_message_sent_date` - `last_message_timestamp` → `latest_draft_or_message.date`

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nylas-samples/nylas-api-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server