Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.fluveo.com/llms.txt

Use this file to discover all available pages before exploring further.

The OAuth API implements the OAuth 2.0 authorization code flow for marketplace apps. Apps redirect merchants to approve access, exchange authorization codes for tokens, refresh expired tokens, and revoke access when no longer needed.
curl -X POST https://api.leanrails.com/v1/oauth/token \
  -u "client_id:client_secret" \
  -d grant_type=authorization_code \
  -d code=lr_ac_abc123 \
  -d redirect_uri=https://myapp.com/callback

Endpoints

Exchange Token

Exchanges an authorization code or refresh token for an access token.

Approve Authorization

Merchant approves an app’s OAuth authorization request.

Deny Authorization

Merchant denies an app’s OAuth authorization request.

Revoke Token

Revokes an access token or refresh token.