---
title: "Get channel members by ids"
method: POST
path: "/api/v4/channels/{channel_id}/members/ids"
tags: ["channels"]
---

# Get channel members by ids

`POST /api/v4/channels/{channel_id}/members/ids`

Get a list of channel members based on the provided user ids.
##### Permissions
Must have the `read_channel` permission.

## Path parameters

- `channel_id` string, required

## Request body

- string[]

## Response `200`

Channel member list retrieval successful

- 38cb7293ChannelMember[]
  - `channel_id` string
  - `user_id` string
  - `roles` string
  - `last_viewed_at` integer — The time in milliseconds the channel was last viewed by the user
  - `msg_count` integer
  - `mention_count` integer
  - `notify_props` 38cb7293ChannelNotifyProps
    - `email` string — Set to "true" to enable email notifications, "false" to disable, or "default" to use the global user notification setting.
    - `push` string — Set to "all" to receive push notifications for all activity, "mention" for mentions and direct messages only, "none" to disable, or "default" to use the global user notification setting.
    - `desktop` string — Set to "all" to receive desktop notifications for all activity, "mention" for mentions and direct messages only, "none" to disable, or "default" to use the global user notification setting.
    - `mark_unread` string — Set to "all" to mark the channel unread for any new message, "mention" to mark unread for new mentions only. Defaults to "all".
  - `last_update_at` integer — The time in milliseconds the channel member was last updated

## Other responses

- `400` — Invalid or missing parameters in URL or request body
- `401` — No access token provided
- `403` — Do not have appropriate permissions
- `404` — Resource not found

---

[API](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools.md) · [All operations](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/infomaniak/api-reference-developer-tools/revisions/667aae28fec6/schema)
