Listflock API

todos/add


Spec

Auth

User

Lists

Todos

Add a todo item to a list.

Request url

http://listflock.com/api-0.1/todos/add/


Parameters

api_key (Required) : The api key of your application.
sk (Required) : 32 character string returned through the authentication process.
api_sig (Required) : Signature for the request as described in the authentication spec.
list_id (Required) : The id of the list you wish to add the todo item to.
name (Required) : The short name of the todo item.
details (Optional) : A longer paragraph relating the the todo.

This request must be be made using HTTP POST.

Auth

This request does require authentication

Sample Response

<api status="ok">
   <todo>
      <id>17</id>
      <name>Pay for the paper</name>
      <details><![CDATA[Go down to the newsagents and pay for last weeks paper.]]></details>
      <list_id>4</list_id>
      <status>0</status>
   </todo>
</api>

Errors