+ Add Question

want to create task using http

trying to create a task using this code but something goes wrong

https://todoist.com/API/login?email=<my id>&password=<my pass>&addItem=test

can anybody pl help me to correct the code.

All responses

David Trey staff
Replied on Dec 10, 2013 - 13:05

Hello Naresh,

Please refer to this documentation: https://todoist.com/API/help#items

the /addItem API requires at least 3 mandatory parameters:

project_id: The id of the project to add to
content: The text of the task
token: The user's token (received on login)

Optional parameters and an example of a successful return are described in the /API/addItem section on the page linked above.


Best regards,
David

Naresh Jain premium
Replied on Dec 10, 2013 - 13:17

thanks now working fine ,