Add task to Ticktick with apple Script

Hi!
I am trying to write an apple script that I can use in a shortcut to add task with due date and list. When running the script it doesnt matter what I choose as list. It always choose the INBOX, which is a bit problematic…

Is there anyone who has succeeded at creating tasks in Ticktick with Apple Script?

(I use Apple Script instead of the blocks in Shortcuts because I can’t choose specific dates for tasks, which I frequently use when creating tasks!)