Sign in

Exchange authorization code for access token

documented

Exchange the authorization code for an access token.

POST /api/v2/oauth/tokenOAuthno 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://anilist.co/api/v2/oauth/token" \
  -X POST \
  -H "Accept: application/json" \
  -H "Content-Type: application/x-www-form-urlencoded" \
  -d "grant_type={{$grant_type}}&code={{$authorization_code}}&redirect_uri={{$redirect_uri}}&client_id={{ANILIST_CLIENT_ID}}&client_secret={{ANILIST_CLIENT_SECRET}}"