Get conversation parts

This method allows you to receive messages of a specific conversation (parts of the conversation).

URL

GET https://api.dashly.app/conversations/{id}/parts

ID of the conversation should be used as {id}

Parameters

Authentification parameters. Pagination. Pagination by primary key of ConversationPart object.
id_as_string parameter. Parameters enabling optional fields of ConversationPart object.

Response

data field contains ConversationPart objects. meta contains new pagination parameters.

{
  "data": [
    {
      "id": 7936880,
      "created": 1450420434,
      "conversation": 7179725,
      "body": "...",
      "read": true,
      "type": "reply_admin",
      "sent_via": "app_chrome",
      "from": {
        "id": 14709,
        "name": "Alex",
        "avatar": "https://files.dashly.app/avatars/1422020258978-15jb56g7.jpg",
        "type": "admin"
      }
    },
    ...
  ],
  "meta": {
    "next_before_position": [7936756],
    "status": 200
  }
}

Exceptions

Standart Web API exceptions

Example

curl -X GET -H "Authorization: Token XXX" "https://api.dashly.app/conversations/313341/parts"