users conversations
GET {{baseUrl}}/users.conversations?user=<string>&types=<string>&exclude_archived=<boolean>&limit=<integer>&cursor=<string>
List conversations the calling user may access.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
user | string | Browse conversations by a specific user ID's membership. Non-public channels are restricted to those where the calling user shares membership. | |
types | string | Mix and match channel types by providing a comma-separated list of any combination of public_channel , private_channel , mpim , im | |
exclude_archived | string | Set to true to exclude archived channels from the list | |
limit | string | 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. | |
cursor | string | 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 for more detail. |
RESPONSES
status: OK
{"ok":"\u003cboolean\u003e","channels":[],"response_metadata":{"next_cursor":"\u003cstring\u003e"}}