Skip to content

Nylas privacy mode

Privacy mode is a security feature that restricts data access to only objects created through the Nylas API. It provides enhanced data privacy and access control. When enabled, it ensures that users can only interact with objects that were created through Nylas API, providing a layer of protection for sensitive calendar data.

Privacy mode is a paid feature. Contact the Nylas sales team to enable this feature for your application.

Currently, privacy mode is only supported for calendar events. When privacy mode is enabled:

  • Users maintain access to all calendars.
  • Users can only access events that were created via Nylas API.
  • Events created outside of Nylas API (For example, Google Calendar, Microsoft Outlook) are not accessible.

When privacy mode is enabled, the following restrictions apply:

When you attempt to access events not created by Nylas API, you’ll receive a 403 Forbidden response with the following error message:

{
"request_id": "921039196-e72dd1a1-4715-4ad8-871b-6802b86cb6e9",
"error": {
"type": "forbidden",
"message": "Event is not accessible under privacy filter"
}
}

When privacy mode is enabled, you will only receive the webhook notifications for events created by Nylas API. The following event notification will be affected:

  • event.created
  • event.updated
  • event.deleted

Events created outside of Nylas API will not trigger webhook notifications, even if they exist in the user’s calendar.

For recurring events, access is determined by the primary event. If the primary event was created by Nylas API, users have full access to the entire recurring series. Updating a recurring event doesn’t revoke users’ access to the series and all instances of the recurring event remain accessible if the primary event was created by Nylas API.

Historical data limitation: Nylas does not track which events were created by Nylas API before privacy mode is enabled. When you turn on privacy mode, you will immediately lose access to all events created before enabling the feature, regardless of whether they were created by Nylas API or not.

Privacy mode is designed for scenarios where data privacy and access control are critical.

Some customers don’t want to share their calendar events that weren’t created by your application. Privacy mode ensures they only see and interact with events relevant to your service.

When building applications that create meetings for end customers, privacy mode prevents access to other calendar events or meetings belonging to those customers, providing essential data isolation and protection.

Organizations with strict data privacy requirements can use privacy mode to ensure that only authorized, application-created events are accessible through the Nylas API.