Skip to content
This repository was archived by the owner on Dec 20, 2024. It is now read-only.

V2 API User Sessions Samples

Karen White edited this page May 28, 2019 · 2 revisions

User Sessions Samples for v2/account/token [DEPRECATED]

The information below is intended ONLY for those clients that are currently using the *deprecated* POST v2/account/token API.

The most recent version of the Token API can be found here


POST v2/account/token

1. Create access token with SnapMD issued credential, which has proper permissions

  • Call Token API to create access token
POST v2/account/token

   headers:

X-Api-Key:your_api_key
X-Developer-Id:your_developer_id

   body:

{
  "userTypeId": 2,
  "hospitalId": "your_hospital_id",
  "email": "your_admin@domain.com",
  "password": "your_password"
}

Clone this wiki locally