Authorize an OAuth TokenCopy Pagepost https://broker-api.sandbox.alpaca.markets/v1/oauth/authorizeThe operation issues an OAuth code which can be used in the OAuth code flow.Body ParamsThis model is used for both the Issue and Authorize OAuth token routesaccount_iduuidrequiredend-user account IDclient_idstringrequiredOAuth client IDclient_secretstringrequiredOAuth client secretredirect_uristringrequiredredirect URI for the OAuth flowscopestringrequiredscopes requested by the OAuth flowResponses 200Successfully issued a code. 401Client does not exist, you do not have access to the client, or "client_secret" is incorrect. 422Redirect URI or scope is invalid.Updated 2 months ago