Provider use case
Log a provider into VSee Clinic's provider dashboard for telehealth functionality — manage queue, accept visits, start video calls, view patient records.
POST /users/sso · auth: API Key + Secret
Call SSO with provider details (type=400). Use ?fields=vsee to include VSee ID and token.
headers:
| Field | Required | Description |
|---|---|---|
X-ApiKey | yes | API Key |
X-ApiSecret | yes | API Secret |
X-AccountCode | yes | Account code |
queryParams:
| Field | Required | Description |
|---|---|---|
fields | no | Set to 'vsee' to include VSee ID and token |
bodyFields:
| Field | Required | Description |
|---|---|---|
first_name | yes | Provider's first name |
last_name | yes | Provider's last name |
type | yes | User type: 400 = Provider |
email | no | Provider email address |
code | yes | Unique provider identifier on your end |
subtype | no | Provider subtype (e.g., 482 = Doctor, 470 = CSR) |
Redirect to https://{your_clinic}.vseepreview.com/auth?sso_token={sso_token}&next=/providers/dashboard
Redirect the provider to their dashboard.