Sign-in

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

API Guide > Getting Started > Comment on 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 comment, you:

  • POST to the …/comments resource of an item
  • With a parameter named “comment” whose value is a hash of comment attributes
  • With an attribute “comment” in the hash whose value is the text of the comment

Supposing we want to comment “working on it…” on our task “learn the API”:

% curl https://app.liquidplanner.com/api/workspaces/:id/tasks/:id/comments \
-d '{"comment": {"comment": "working on it..."}}'
{
"comment": "working on it...",
"id": 10941,
"type": "Comment",
"item_id": 79104,
...
}
Status: 201