Groups

Get All

Get all the groups.

get/public/api/groups?filter={filter}

Query parameters

filterstring

A valid JSON filter object

Headers

Acceptstring

e.g. application/json

Request body

Example request

{
  "Authorization": {
    "Authorization": "Bearer JWT"
  }
}

Response

OK

Example response

{
  "paging": {
    "total": 2,
    "skip": 0,
    "limit": 1000
  },
  "data": [
    {
      "group_id": "mycompany_test",
      "user_ids": [
        "53fb03c6546847ee0d33386b",
        "53fb03c6546847ee0d30086a"
      ],
      "updated_date": "2018-10-08T10:15:22.100Z",
      "created_date": "2018-05-22T11:45:22.100Z",
      "title": "My Company Title",
      "description": "My Company Description",
      "icon_url": "https://res.cloudinary.com/www-yoobic-com/image/upload/a_exif/v1581436892/klsrdxjtz44dtnlsquzc.png"
    },
    {
      "group_id": "mycompany_another_test_group",
      "user_ids": [
        "53fb03c6546847ee0d33387b",
        "53fb03c6546847ee0d30086a"
      ],
      "updated_date": "2018-10-08T10:15:22.100Z",
      "created_date": "2018-05-22T11:45:22.100Z"
    }
  ]
}

Changes