GET/messages/{id}/replies.json

Retrieve Replies to a Message

Uses the given messsage ID to retrieve a all replies to a message specified in the url. By default 20 records are returned at a time. You can pass "page" and "pageSize" to change this.

Notes:

The following headers are returned:
  • X-Records - The total number of replies
  • X-Pages - The total number of pages
  • X-Page - The page you requested

Path Params

  • Name
    id
    Type
    string
    required
    Description

Query Params

  • Name
    page
    Type
    integer
    Description
    The page you want
  • Name
    pageSize
    Type
    integer
    Description
    The size of each page

Responses

  • Code
    200
    Type
    object
    Schema
    Description
    200 Response

Examples

200 Response

application/json
{
  "messageReplies": [
    {
      "attachments_count": "0",
      "author-lastname": "User",
      "attachments-count": "0",
      "emailed-from": "",
      "author-avatar-url": "https://s3.amazonaws.com/TWFiles/2/users/999.avatar",
      "author_id": "999",
      "posted-on": "2014-04-01T10:04:26Z",
      "body": "Reply Body",
      "attachments": [],
      "author-firstname": "Demo",
      "id": "999",
      "last-changed-on": "2014-04-01T10:04:26Z",
      "author-id": "999",
      "messageId": "999"
    }
  ],
  "STATUS": "OK"
}