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. 
I am getting following response
{"response": {"uri":"/jsp/error.jsp","error": {"code":6831,"message":"Input Parameter missing"}}}