Obtain OAuth2 Token (Legacy — password grant)

Legacy authentication — being sunset. Obtain an access token using the OAuth2 password grant. Send your sandbox x-api-key plus username/password. The token is an HS256 JWT and a refresh_token is returned. New integrations should use the OAuth2 client_credentials flow described in the Authentication guide. Treat the returned access_token as an opaque Bearer token.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Obtain an OAuth2 access token using password grant type.
NOTE:

  1. Use default params.
  2. Use following header x-api-key: Zt9tXPIgz17uxEU6gkZPWa3ZAFhZOqm04oEDHC1f
Form Data
string
required
Defaults to password
string
required
Defaults to fhir_QfLlo

The username provided to you

string
required
Defaults to 925X3LZ505

The password provided to you

Responses

400

BAD REQUEST - The request was bad, often due to a missing required parameter

401

NOT AUTHORIZED - Authentication error; this token is not allowed access to the API

403

FORBIDDEN

404

NOT FOUND

422

UNPROCESSABLE ENTITY - Request could not be processed; typically a validation error

429

TOO MANY REQUESTS - Request was rate limited (1000 calls/min default); please retry

500

SERVER ERROR - Internal Server Error

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json