api/v1/customer/messages/{id}/get

GET

/api/v1/customer/messages/{id}/get

This API method allows the user to retrieve the details of a single message group.

Request Parameters

None Required

Sample Response

{
  "status": true,
  "item": {
    "group_id": "Wb7gBR3KEV3eAjQ2wdJZ",
    "group_name": "Bob Richmond",
    "group_image": null,
    "last_message": "Test",
    "last_message_time": "2018-08-15 14:22:54",
    "initial_customer_id": "LZWBJx0PmYkEwjGdr2vO",
    "initial_customer_name": "John Doe",
    "initial_customer_avatar": "http:\/\/controlcenter.ftx\/customer\/images\/default-avatars\/6?v=1534865107",
    "last_customer": "bZ6xBGP2mdPm3R8VX17L",
    "last_customer_name": "Devin Smith",
    "last_customer_avatar": "http:\/\/controlcenter.ftx\/customer\/images\/default-avatars\/4?v=1513629663",
    "read_status": 1,
    "notifications_disabled": 1,
    "group_members": [
      {
        "id": "nK8oWGj0zxqELP1A53ak",
        "name": "Bob Richmond",
        "avatar": "http:\/\/controlcenter.ftx\/customer\/images\/default-avatars\/4?v=1513880339",
        "customer_description": "",
        "friend_status": -1,
        "total_balance": 0,
        "is_blocked": false
      }
    ]
  }
}
{
  "status": false,
  "message": "Message group could not be found"
}