Sign in

Refresh access token

documented

Refresh the access token using a refresh token.

POST /v1/oauth/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://api.ln.ht/v1/oauth/token?grant_type=authorization_code&client_id={{$client_id}}&client_secret={{$client_secret}}&code={{$authorization_code}}&redirect_uri={{$redirect_uri}}" \
  -X POST \
  -H "Content-Type: application/x-www-form-urlencoded" \
  -H "Accept: application/json"