All guides
Authentication· 6 min
Register an OAuth Client
Self-service OAuth 2.0 client registration for SMART on FHIR and machine-to-machine integrations.
- 1
Open the credentials page
Sign in at developers.parkerapex.com and navigate to My Tokens & Keys.
bashhttps://developers.parkerapex.com/tokens - 2
Register a client
Choose OAuth client, name your integration, and select scopes (e.g. cms.fhir.r4.read, prime.ingest.write). Store the client_secret immediately — it is shown once.
- 3
Exchange credentials for a token
Use the client_credentials grant against the platform token endpoint.
bash"text">-amber-300 font">-semibold">curl "text-cyan-300">-s "text-cyan-300">-X "text">-amber-300 font">-semibold">POST https://api.parkerapex.com/oauth/token \ "text-cyan-300">-H "Content">-Type: application/x">-www-form-urlencoded" \ "text-cyan-300">-d "grant_type=client_credentials&client_id=clt_xxx&client_secret=sec_xxx&scope=cms.fhir.r4.read" - 4
Use sandbox for testing
Repeat the same flow against sandbox.api.parkerapex.com before promoting to production traffic.
bash"text">-amber-300 font">-semibold">curl "text-cyan-300">-s "text-cyan-300">-X "text">-amber-300 font">-semibold">POST https://sandbox.api.parkerapex.com/oauth/token \ "text-cyan-300">-H "Content">-Type: application/x">-www-form-urlencoded" \ "text-cyan-300">-d "grant_type=client_credentials&client_id=clt_sandbox_xxx&client_secret=sec_xxx&scope=cms.fhir.r4.read"