OAuth2 token
documentedExchange authorization code for an OAuth2 access token.
POST /auth/oauth2/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://www.toneden.io/auth/oauth2/token" \\
-X POST \\
-H "Content-Type: application/json" \\
-H "Accept: application/json" \\
-d '{"grant_type": "authorization_code", "code": "{{$code}}", "redirect_uri": "{{$redirect_uri}}", "client_id": "{{TONEDEN_CLIENT_ID}}", "client_secret": "{{TONEDEN_CLIENT_SECRET}}"}'