User login (v2)
documentedAuthenticate a TickTick user via the v2 API and obtain an access token (requires device metadata header).
POST /api/v2/user/signonAuthenticationno 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://ticktick.com/api/v2/user/signon?wc={{WC}}&remember={{REMEMBER}}" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H 'x-device: {"platform":"{{$platform}}","os":"{{$os}}","device":"{{$device}}","name":"{{$name}}","version":{{$version}},"id":"{{$device_id}}","channel":"{{$channel}}","campaign":"{{$campaign}}","websocket":"{{$websocket}}"}' \
-d '{"username": "{{$username}}", "password": "{{$password}}"}'