Sample API Call
Below is a sample call for an application to allow a beneficiary to log in with their Medicare.gov account credentials and authorize access to their data.
API version: 2
Authorization Link
https://sandbox.bluebutton.cms.gov/v2/o/authorize/?response_type=code&client_id=9FTkjlaFygjcy4KAqxRZoDHUCK4MHCptUSOIoZUa&redirect_uri=https%3A%2F%2Fsandbox.bluebutton.cms.gov%2Ftestclient%2Fcallback&state=cltpSHYreUY9WGJQbEAqVX1UPGYpUGYiVG9SZiM7Wis%3D&code_challenge=Xs4H8UUOLMoIGWcZFgc0exXZE5qtPZGW93ur6JdmYek%3D&code_challenge_method=S256