Exchange a CLI authorization code for an access token.
Completes the PKCE flow: send the authorization code your loopback callback received together with the code_verifier matching the challenge you started with, and receive an access token, a refresh token, and the identity, organization, role, and entitlements the session carries. The code is single-use, and an exchange without the matching verifier is rejected.
POST
Exchange a CLI authorization code for an access token.
Authorizations
A Rafflesia API key, sent as Authorization: Bearer <key>.
Body
application/json
Exchange a CLI authorization code for an access token.