Sessions
Nylas Scheduler uses session IDs to authorize requests to the /v3/scheduling/availability and /v3/scheduling/bookings endpoints.
When you create a session, you must include the ID of an existing Configuration object. Sessions are only required for private configurations (requires_session_auth: true).
Time to live
For security purposes, Nylas recommends you set the time_to_live value for each session and refresh the sessions as they expire.
POST
Create a session
POST /v3/scheduling/sessionsCreates a new short-lived session that you can pass to the Scheduling Component to enforce user authentication. Your request must include the ID of an existing Configuration object.
DELETE
Delete a session
DELETE /v3/scheduling/sessions/{session_id}Deletes a specific session.