Get Users In Channel: /user/channel/{channel_id} (GET)

Purpose:

Get users in a channel by channel id.

Input:

  • Headers:
    • Client-Secret: (Optional) A header to authenticate the request.
  • URL Parameters:
    • channel_id: (Uuid) The id of the channel.
  • Query Parameters:
    • page: (Integer) Default 1
    • per_page: (Integer) Default 30

Output (200):

[
  {
    "id": "203c2fda-480c-497a-80ea-156217d77d1c",
    "username": "user1",
    "display_name": "Bob Good",
    "profile_image": null
  },
  {
    "id": "b513e480-b114-4391-8fd2-9691fea430b4",
    "username": "bob",
    "display_name": "bob",
    "profile_image": null
  }
]