Sign-in

LiquidPlanner
30-day free trial
30-second sign-up

API Guide > Getting Started > Add a Task

Developer Forum - Ask the LiquidPlanner development team questions. Note that the LP iPhone app uses this same API.

API Sample Code – See the API in action then give it a try.


Enter a search term or try the Dev Forums for more answers.

LiquidPlanner uses a RESTful web service API. You can download the API Guide (PDF) for offline reference. Most actions that you can perform within the application can be automated using the API -- for example, you can create a task, comment on the task, track time against it, and then mark it done.

NEED HELP? Please post API questions in the API forums


To create a task, you:

  • POST to the /tasks resource of the workspace
  • With a parameter named “task” whose value is a hash of task attributes
  • With task attributes including at least “name” and “parent_id”

Supposing we want to add a task “learn the API” within a project “Project A” (project_id = 146269):

% curl https://app.liquidplanner.com/api/workspaces/:id/tasks \
-d '{"task": {"name": "learn the API", "parent_id": 146269}}'

{
"name": "learn the API",
"id": 79104,
"project_id": 146269
...
}
Status: 201

If you get an error here, double-check that you’ve set the Content-Type of your request to “application/json” using your curl configuration file.