Sign in

OAuth2 token

documented

Exchange authorization code for an OAuth2 access token.

POST /auth/oauth2/tokenAuthenticationno implementation yet0 runs
No 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}}"}'
OAuth2 token · ToneDen · OpenIntegrations