Basecamp API

Back to the Developer home page

Legacy Comments API Calls

The API described in this document is obsolete. It is documented here only for the support of legacy applications that might be using it. New applications are encouraged to use the newer, REST-based API. Older applications, too, are encouraged to switch to the newer API.

Comments

/msg/comments/#{message_id}

Return the list of comments associated with the specified message.

Response

<comments>
  <comment>
    ...
  </comment>
  <comment>
    ...
  </comment>
  ...
</comments>

Comment

/msg/comment/#{comment_id}

Retrieve a specific comment by its id.

Response

<comment>
  ...
</comment>

Create comment

/msg/create_comment

Create a new comment, associating it with a specific message.

Request

<request>
  <comment>
    <post-id>#{post_id}</post-id>
    <body>#{body}</body>
  </comment>
</request>

Response

<comment>
  ...
</comment>

Update comment

/msg/update_comment

Update a specific comment. This can be used to edit the content of an existing comment.

Request

<request>
  <comment_id>#{comment_id}</comment_id>
  <comment>
    <body>#{body}</body>
  </comment>
</request>

Response

<comment>
  ...
</comment>

Delete comment

/msg/delete_comment/#{comment_id}

Delete the comment with the given id.

Response

<comment>
  ...
</comment>