External Accounts

By using the external accounts API, you may allow the participant to initiate an OAuth connection to their external account at their EHR, Health Plan, or Device Manufacturer. For instance, you may create a button in the app which allows them to connect to their Fitbit account.

Connect an External Account

MyDataHelps.connectExternalAccount(externalAccountProviderID)

This will initiate a secure OAuth connection to the specified external account provider, where the participant will be prompted to provide their credentials and authorize MyDataHelps to retrieve data from the account.

Parameters

externalAccountProviderID int (required)

The ID of the external account provider.

Availability

MyDataHelps Applications
Web View Steps

Delete an External Account

MyDataHelps.deleteExternalAccount(accountID)

Parameters

accountID int (required)

The ID of the account to disconnect.

Returns

Promise

A promise which resolves if the operation succeeded.

Availability

MyDataHelps Applications
Web View Steps