Skip to content
Skip to main content

Configurations

A configuration is a collection of event settings and preferences. Nylas Scheduler stores Configuration objects in the Scheduler database and loads them as Scheduling Pages in the Scheduler UI.

A configuration can be either private if it uses a session, or public if it does not. By default, Nylas creates public configurations (requires_session_auth: false). To create a private configuration, set requires_session_auth to true.

After you create a private configuration, you can make a POST /v3/scheduling/sessions request that includes the Configuration object ID to create a session.

Configurations scopes

The table below lists the Configurations endpoints and which scopes they require. The table shortens the full scope URI for space reasons, so add the prefix for the provider when requesting scopes.

The ☑️ in each column indicates the most restrictive scope you can request for each provider and still use that API. More permissive scopes appear under the minimum option. If you're already using one of the permissive scopes, you don't need to add the more restrictive scope.

Endpoint Google Scopes
https://www.googleapis.com/auth/...
Microsoft Scopes
https://graph.microsoft.com/...
POST /scheduling/configurations
PUT /scheduling/configuration/<SCHEDULER_CONFIG_ID>
/calendar.readonly ☑️
/calendar
Calendars.Read ☑️
Calendars.ReadWrite

For more information about scopes, see Using scopes to request user data.