Exchange OAuth token
documentedExchange an authorization grant for an access token.
POST /api/2/oauth/tokenAuthenticationno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.stocktwits.com/api/2/oauth/token" \
-X POST \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Accept: application/json" \
-d "client_id={{STOCKTWITS_CLIENT_ID}}&client_secret={{STOCKTWITS_CLIENT_SECRET}}&code={{AUTHORIZATION_CODE}}&redirect_uri={{REDIRECT_URI}}&grant_type=authorization_code"