{
  "opencollection": "1.0.0",
  "info": {
    "name": "Hint Health AccountAccessToken API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "AccountAccessToken",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Create Patient Portal access token",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.hint.com/api/provider/patients/:patient_id/account_access_tokens",
            "params": [
              {
                "name": "patient_id",
                "value": "",
                "type": "path",
                "description": "Unique Patient ID"
              }
            ]
          },
          "docs": "## Usage Instructions and Security Best Practices\n - **Authenticate Patients:** Only generate access tokens for patients that your system has already authenticated.\n - **On-Demand Links:** Generate the access token only when a patient requests to view their data.\n - **New Windows/Tabs:** Automatically redirect patients to the URL provided, instead of showing them the link directly.\n - **Avoid Caching:** Do not cache or store access tokens in your application.\n - **Do Not Display Directly:** Avoi"
        }
      ]
    }
  ],
  "bundled": true
}