Sign in

Create task (v2)

documented

Create a new TickTick task via the v2 API.

POST /api/v2/taskTasksno 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.ticktick.com/api/v2/task" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H 'x-device: {"platform":"web","os":"{{$device_os}}","device":"{{$device_device}}","name":"{{$device_name}}","version":{{$device_version}},"id":"{{$device_id}}","channel":"{{$device_channel}}","campaign":"","websocket":""}' \
  -d '{"title":"{{$title}}","projectId":"{{$project_id}}","content":"{{$description}}","startDate":"{{$startDate}}","dueDate":"{{$dueDate}}","timeZone":"{{$timeZone}}","reminders":{{$reminders}},"repeatFlag":"{{$repeatFlag}}","allDay":{{$allDay}}}'