Obtain OAuth2 Token (client_credentials)

Obtain an access token using the OAuth2 client_credentials grant. Send your client_id and client_secret. Returns an RS256-signed JWT; the scope claim is a space-separated list of ACLs and no refresh token is returned.

Requires the x-api-key header on this request itself, not just on the downstream FHIR calls that follow. Omitting it still returns a 200 with a valid-looking token, but every downstream FHIR call then fails. This is the x-api-key provisioned for your client_credentials vendor application — a different value than the one used with the legacy password grant.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Form Data
string
required
Defaults to client_credentials
string
required
Defaults to fhir-emasuppo-dc01454f-73b3-4ba1-bacc-01a8fdbc1417

Your vendor application's client_id

string
required
Defaults to 0vVGfU4LNgQPySyrNjthFl9Y3usbt1uP

Your vendor application's client_secret

Response

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