Introduction to VSee Clinic API
VSee Clinic API allow developer to make their own interface while still having full VSee Clinic and VSee Call capability.
Example Set up
Let's take a look at a typical example set up
Key | Example | Note |
---|---|---|
Clinic Portal URL |
| This is your original portal |
Account code |
| Your VSee Clinic Account Code |
API Key |
| The key generated under Developers menu |
API Secret |
| The secret generated under Developers menu |
Admin Token |
| The admin token is a special token that allows you to perform admin functions through API. You need to create such tokens manually in your API app. https://developers.vsee.com/wiki/spaces/VD/pages/381517825/Sign+Up+for+a+Developer+Account#Create-an-Admin-token |
API Endpoint |
| To be advised by VSee Clinic Team |
Clinic Portal URL |
| To be advised by VSee Clinic Team |
Waiting Room URL |
| To be advised by VSee Clinic Team |
User Code |
| This is anything that you can formular and act as a way for VSee Clinic to identify the your user |
API Documentation
API Setup
API Endpoints
Production:
https://api.vsee.me/api_v3/
Staging:
https://api.vseepreview.com/vc/next/api_v3/
Note: Your clinic setting on Production environment is not available on Staging environment unless set up by VSee Clinic Support team.
API Parameters
Parameter | Location | Type | Description |
---|---|---|---|
|
|
| If the app knows the account code, it should pass it in this header for every request. Otherwise leave blank |
|
|
| Once the user logs in, the app gets the token and should pass it for every request. |
|
|
| Wherever there’s user’s :id field in API methods, it will also accept dash (-) as a mapping to the current user. |
API Errors
VSee Clinic API use standard HTTP response status codes
Code | Meaning | Response example | |
---|---|---|---|
1 |
|
| { data: { // actual payload } } |
2 |
|
| { code: 404, message: "Sorry, this page is not available." } |
3 |
|
| |
4 |
|
| |
5 |
|
| |
6 |
|
| |
7 |
|
| |
8 |
|
| |
9 |
|
| |
10 |
|
|
API Objects
User Object
(To be completed soon)
Visit Object
status
:
Status Code | Meaning | Description |
---|---|---|
| Pending | Visit was just created |
| Confirmed | Appointment is confirmed |
| In-progress | Visit is in progress |
| Completed | Visit is closed |
| Deleted / Cancelled | Visit is cancelled by patient or provider |
subtype:
Subtype | Meaning | Description |
---|---|---|
| In-person | In-person visit, no video call requested |
| Phone | Appointment is by phone, no video call requested |
| Video | Default: VSee video call |
| E-consult | Async visit, no video call |
subtype
Intake Object
(To be completed soon)
Settings API
Users API
See [New] User API
EMR API
See [New] EMR API
Pharmacy API
Visits API
See [New] Visit API
Payment API
Clinic Account API
Rooms API
See [New] Rooms API
Push Notification API
Mostly for mobile app
See [New] Push Notification API
File Upload API
VSee Clinic Webhooks
See https://developers.vsee.com/wiki/spaces/VD/pages/192905327/Webhooks