Examples

GET /api/v2/message-groups/47
200
{
  "data": {
    "id": "47",
    "type": "message-groups",
    "links": {
      "self": "http://test.host/api/v2/message-groups/47"
    },
    "attributes": {
      "group-chat": false,
      "chat-room-name": null,
      "updated-at": "2017-08-29T10:51:35.703+08:00",
      "has-unread-message": false
    },
    "relationships": {
      "last-message": {
        "links": {
          "self": "http://test.host/api/v2/message-groups/47/relationships/last-message",
          "related": "http://test.host/api/v2/message-groups/47/last-message"
        }
      },
      "accounts": {
        "links": {
          "self": "http://test.host/api/v2/message-groups/47/relationships/accounts",
          "related": "http://test.host/api/v2/message-groups/47/accounts"
        }
      },
      "messages": {
        "links": {
          "self": "http://test.host/api/v2/message-groups/47/relationships/messages",
          "related": "http://test.host/api/v2/message-groups/47/messages"
        }
      }
    }
  }
}

Params

Param name Description
id
required

Message group ID

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hyphen(-) with no leading or trailing space.