Problem in adding task list through API

Problem in adding task list through API

Is milestone id is necessary to add the task list through API?
If i add tasklist from site it not asking for it.