Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

More detail list of commands can be found here https://jitsi.github.io/handbook/docs/dev-guide/dev-guide-iframe

Embedding For VSee Clinic Users

Use case: Create a visit in VSee Clinic and embed the video into your page

Step 1: Obtain patient access credentials from POST /users/sso?fields=vsee API call

Important fields in the response are:

Field name / path

Example Data

Field Description

data.id

91711

Patient's ID

data.token.token

66bcd0acff324e8a44992d9596b5d361

The SSO token that should be used for further creating Intake (Step 2) and Visit (Step 3)

data.meeting.meeting_id

1662401692837_7c9edb62-31a8-4bbc-a401-f71ffda568d4__jitsi

This can be used as Conference ID in the SDK test tool above. https://jsfiddle.net/gunyhake/btpqLrs4/

data.vsee.id

ccpreview+606ce3e353c8411a8e7b52c664457b1f

Use as Username in the SDK tool above

data.vsee.token

78fc497ff743d2b51050d9102acabe63

Use as Auth token in the SDK tool above

Step 2: Create intake object via POST /intakes API

Use the SSO token from Step 1 in the X-ApiToken header field. You will get an intake ID in the response (data.id), e.g. 61165a8e-d8cc-47da-bd8e-597d64457b1f

Step 3: Create either a walkin visit via POST /visits/add_walkin API or a scheduled appointment visit via POST /visits API

Use SSO token from Step 1 in the X-ApiToken header field and intake_id from Step 2.

Important fields in the response are:

Field name / path

Example Data

Field Description

data.id

67258

Visit ID

data.meeting.meeting_id

1662401692837_7c9edb62-31a8-4bbc-a401-f71ffda568d4__jitsi

This can be used as Conference ID in the SDK test tool above. https://jsfiddle.net/gunyhake/btpqLrs4/