List Conversations and Users

Learn to use Slack API calls to get data of users in the workspace.

Overview

Let’s look at the following endpoints in this lesson:

  1. users.conversations: This endpoint lists the conversations that the requesting user may access.
  2. users.list: This endpoint lists all users in a Slack team.

Get a list of conversations

To get a list of conversations, we’ll access https://slack.com/api/users.conversations endpoint. We can use this endpoint to know the number of conversations in which the application is engaged.

Some important query parameters for the users.conversations endpoint are the following:

Get hands-on with 1400+ tech skills courses.