capabilities.work

Exchange a code or refresh an access token

One step with Flexpa. We can help you get access.

Get something done

Exchange a code or refresh an access token

with Flexpa

Use Flexpa: its Flexpa Access Tokens API lets you exchange a code or refresh an access token in a single step (POST /oauth/token). capabilities.work can help you get signed up and connected.

  • What do I send to Flexpa to swap a Link authorization code and PKCE verifier for a Patient Access Token?
  • Can I renew an expired patient token with a refresh token instead of sending the patient through Link again?
  • Which grant mints a server-to-server Application Access Token from my publishable and secret keys, and how long does it last?
Say it to your AI assistant
  • Exchange authorization code {code} with PKCE verifier {code_verifier} for a Patient Access Token.
  • Renew the patient's access using refresh token {refresh_token}.
  • Mint a 30-minute Application Access Token with the {grant_type} grant.
For your developer

POST /oauth/token in Flexpa Access Tokens API. Full spec on APIs.io.