Refresh access token
documentedRefresh an access token using a refresh token.
POST /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)
Note: Alterdesk's OAuth token endpoint is https://im.alterdesk.com/oauth/token and expects a form-encoded POST body (client_id, client_secret, code, grant_type, redirect_uri). This is based on the official Alterdesk OAuth documentation. ([api.alterdesk.com](https://api.alterdesk.com/documentation/oauth?utm_source=openai))
npx -y keychains@latest curl "https://im.alterdesk.com/oauth/token" \
-X POST \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Accept: application/json" \
-d "client_id={{$client_id}}&client_secret={{$client_secret}}&code={{$code}}&grant_type={{$grant_type}}&redirect_uri={{$redirect_uri}}"