# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand. overlay: 1.0.0 info: title: API Evangelist conversational phrasing for Flexpa Access Tokens API version: 1.0.0 extends: openapi/flexpa-access-tokens-api-openapi.yml actions: - target: $.info update: x-apievangelist-phrasing: method: generated generated: '2026-10-01' generator: build-phrasing.py label: Generated by API Evangelist operations: 1 - target: $.paths['/oauth/token'].post update: x-apievangelist-phrasing: intent: Exchange a code or refresh an access token effect: write questions: - 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? instructions: - text: Exchange authorization code {code} with PKCE verifier {code_verifier} for a Patient Access Token. slots: code: requestBody.code code_verifier: requestBody.code_verifier - text: Renew the patient's access using refresh token {refresh_token}. slots: refresh_token: requestBody.refresh_token - text: Mint a 30-minute Application Access Token with the {grant_type} grant. slots: grant_type: requestBody.grant_type method: generated generated: '2026-10-01'