Brokers
Finish Alpaca OAuth
OAuth redirect target hit by Alpaca (not called directly by clients). Exchanges the code for tokens, verifies via /v2/account, stores AES-256-GCM-encrypted creds, auto-grants the trade scope, and returns a small HTML page that closes the popup. The signed state authenticates the user — no API key is sent.
get/v1/brokers/alpaca/callback
Request
- Base URL: https://api.marketintell.ai
- URL: https://api.marketintell.ai/v1/brokers/alpaca/callback
- Auth: none required
Query parameters
codestring
statestring
errorstring
Set when the user denied access.
Response
HTML popup-close page (success or failure rendered inline)
Changes
No recorded changes to this operation across all 1 revision of this API.