Create dashboard session
POST/v1/dashboard_sessions
The Dashboard Sessions API allows you to generate a short-lived session link that grants an account member access to the dashboard without requiring login credentials. This is useful for creating seamless, secure login experiences from external systems or integrations.
Before you can generate a session link for someone, you'll need to add them to your SavvyCal account. You can do this by navigating to Settings → Members & permissions and following the instructions to add a new user. Alternatively, you may use the Create account user API to add them programmatically.
The user_id property property can be retrieved from the List account users API,
or by copying it directly from the Settings → Members & permissions page.
To sign the user in, redirect the browser to the dashboard session url returned in the response.
Example Flow
- User clicks a button in your application to "Manage appointments".
- Your application receives this request and creates a dashboard session via the API.
- Your application redirects the user to the dashboard session URL.
- The user is automatically signed in to the dashboard and redirected to the home screen.
Request
Responses
- 201
- 401
- 422
Success
Unauthorized
Unprocessable Entity