Home Reviews Pricing Sign in Create account

Checkvist. Online outliner and task list manager for groups

online collaborative outliner and task list manager

Open API

Checkvist provides Open API which can be used for integration with other tools. The API offers only limited functionality, though allows both read and write operations. If you have questions regarding OpenAPI, feel free to ask in Checkvist OpenAPI group.

Checkvist API is based on HTTP protocol and uses REST principles for obtaining and updating data. Most read operations can return either XML or JSON response.

To emulate HTTP request methods like PUT or DELETE, you can use POST method and pass additional parameter _method with the required method name.

For XML response, the main part of the URL shall end with .xml suffix. For example:

http://checkvist.com/checklists/42.xml

For JSON response, the corresponding request should end with .json suffix. You can pass the resulting JSON object to your javascript function by passing the name of the function via callback parameter:

http://checkvist.com/checklists.json?callback=processor_for_my_checklists

Using JSON and callbacks, you can place the Checkvist API request inside a <script> tag, and operate on the results with a function elsewhere in the JavaScript code on the page.

Authentication (for non-public checklists)

If your HTTP client can handle basic HTTP authentication, you can use it to identify the user working with Checkvist API. As a password, you can use either real password of the user, or user can use Remote API key obtained from user profile page.

Alternatively, you can use token-based authentication. In this case, you should obtain a token first, and than pass it to all API call under token name. The token is valid only within limited period of time (30 minutes). To obtain the token, you should use the following API call:

URL Method Parameters Response
/auth/login.json get/post
  • callback - Optional javascript callback function (will get token as a parameter)
  • remote_key - User's remote API Key from profile page
  • username - User login (email)
Returns quoted token string in the body, unless callback parameter is passed. If authentication failed, will return HTTP status 401 Unauthorized.

Work with checklists

Create a checklist

URL Method Parameters Response
/checklists.(json|xml) post
  • checklist[name] - checklist name name
JSON/XML representation for the created checklist. See checklist data fields.

Get list of active checklists

URL Method Response
/checklists.(json|xml) get For JSON call, javascript array of JSON representations for user checklists. Sorting is the same as in user's Checkvist UI (default - recently updated checklists first). See checklist data fields.
For XML request:
  <checklists>
    <checklist1>
    <checklist2>
    <checklistN>
  </checklists>

Get checklist information

URL Method Response
/checklists/13.(json|xml) get JSON/XML representation for the checklist with given ID. See checklist data fields.

Work with tasks

Get tasks

URL Method Parameters Response
/checklists/checklist_id/tasks.(json|xml) get
  • with_notes - If set, the result will contain information about notes added to the tasks
List of representations for the tasks of checklist with given ID. Tasks are sorted by parent_id, position. For JSON, returns a javascript array of tasks. For XML, returns a structure like below:
<tasks>
    <task1>
    <task2>
    <taskN>
</tasks>
/checklists/checklist_id/tasks/task_id.(json|xml) get
  • with_notes - If set, the result will contain information about notes added to the tasks
List of XML/JSON representations for the given task and its parents. Original task is the first, and than go parents, one after another, till the root parent task.
<tasks>
    <task>
    <task_parent>
    <task_parent_parent>
    <task_root_parent>
</tasks>

Create tasks

URL Method Parameters Response
/checklists/checklist_id/tasks.(json|xml) post
  • task[status] - task status (optional)
  • task[parent_id] - id of the parent task (optional)
  • task[content] - task text
  • task[position] - 1-based position of the task (omit to add to the end of the list)
JSON/XML representation for the created task.
/checklists/checklist_id/import.(json|xml) post Created tasks, organized to hierarchy according to input data.
Note: no more than 1000 task can be imported with one call.
For JSON, returns a javascript array of tasks. For XML, returns a structure like below:
<tasks>
    <task1>
    <task2>
    <taskN>
</tasks>

Update task information

URL Method Parameters Response
/checklists/checklist_id/tasks/task_id.(json|xml) put
  • task[parent_id] - new parent_id task
  • task[content] - new task text
  • task[position] - 1-based position of the task
Updates the task information and returns JSON/XML representation for it. This method won't change task status.

Close/open/invalidate

The following actions allow to change task status. You can

Available status change actions are

These actions are presented in the final part of action URL below, like close.xml or invalidate.json. The performed action corresponds to the action name.

URL Method Response
/checklists/checklist_id/tasks/task_id/action.(json|xml) post Updates the task status and returns representation for it and for its children. XML sample:
<tasks>
    <changed_task>
    <child1>
    <child2>
    <childN>
</tasks>
For JSON, javascript array of tasks is returned. If there are no children, only one element is returned under the tasks node and only one element in resulting JSON array.

Delete task

URL Method Response
/checklists/checklist_id/tasks/task_id.(json|xml) delete Deletes the task including its children and returns task representation.

Checklist representation

JSON and XML representations of a checklist have the following fields:

id
 
name
 
public (boolean)
true for checklist which can be accessed in read-only mode by anyone. Access to such checklists doesn't require authentication.
role
1-author, 2-writer, 3-reader
updated_at
timestamp when checklist was updated the last time (includes updates to tasks, but excludes updates to comments). For XML requests the timestamp is formatted according to ISO 8601. For JSON requests the date is formatted like 2005/02/01 15:15:10 +0000 (and can be parsed by javascript's Date class)
task_count
total number of leaf tasks
task_completed
number of completed leaf tasks

Checklist XML example

  <checklist>
    <id>1</id>
    <name>EAP checklist</name>
    <public>false</public>
    <role>1</role>
    <updated_at>2009-05-16T11:20:31Z</updated_at>
    <task_count>3</task_count>
    <task_completed>1</task_completed>
  </checklist>

Task representation

id
 
content
Task content
status
0-open, 1-closed, 2-invalidated
checklist_id
Containing checklist ID
parent_id
Parent task ID. Empty for root-level tasks (or 0 in case of JSON output)
comments_count
Number of notes for this task
position
1 - based position of the task under its parent
deleted
Attribute is present only after task deletion (and has value true). In other cases information about deleted tasks is not included to results.
tasks
[JSON] Javascript array of children task IDs
update_line
[JSON] Information about last change in the task (text string like 'updated by kir')
updated_at
[JSON] Timestamp of the last change in the task (like 2005/02/01 15:15:10 +0000, can be passed to javascript Date object). May be empty string if the task was never updated.
notes
When with_notes parameter is set to "true", this field contains a list of notes added to this task. The list of fields for each note is described below. For XML, there is a node <notes> with subnodes <node>. For JSON, property nodes refers to Javascript array of note objects.

Task XML example

  <task>
      <content>Root task</content>
      <id>3</id>
      <checklist_id>1</checklist_id>
      <comments_count>0</comments_count>
      <parent_id nil="true"></parent_id>
      <position>3</position>
      <status>0</status>
      <notes type="array"/>
  </task>

Note representation

id
 
comment
Note text
task_id
Containing task ID
user_id
ID of user who added this note
updated_at
Timestamp of the last change of the note (like 2005/02/01 15:15:10 +0000, can be passed to javascript Date object)
created_at
Timestamp of the note creation (same format as above)

Note XML example

<note type="Comment">
  <comment>some note1</comment>
  <created_at>2009-06-12T19:50:00Z</created_at>
  <id>53</id>
  <task_id>4</task_id>
  <updated_at>2009-06-12T19:50:00Z</updated_at>
  <user_id>123</user_id>
</note>

FAQ

Some frequently asked questions - to save your and our time.

Reference

More detailed description of Checkvist features.

Open API

Integrate Checkvist with other tools that can connect to the web.