provider users GET
/users.conversations @utdk/slack
/users.conversations users_conversations
List conversations the calling user may access.
- token query
- Authentication token. Requires scope: `conversations:read`
- string
- user query
- Browse conversations by a specific user ID's membership. Non-public channels are restricted to those where the calling user shares membership.
- string
- types query
- Mix and match channel types by providing a comma-separated list of any combination of `public_channel`, `private_channel`, `mpim`, `im`
- string
- exclude_archived query
- Set to `true` to exclude archived channels from the list
- boolean
- limit query
- The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the list hasn't been reached. Must be an integer no larger than 1000.
- integer
- cursor query
- Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`. Default value fetches the first "page" of the collection. See [pagination](/docs/pagination) for more detail.
- string
Try it
Authentication
Configure credentials for Slack Web API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import slack from '@utdk/slack';
await slack.usersConversations()