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

KeyDatatypeRequiredDescription
userstringBrowse conversations by a specific user ID's membership. Non-public channels are restricted to those where the calling user shares membership.
typesstringMix and match channel types by providing a comma-separated list of any combination of public_channel, private_channel, mpim, im
exclude_archivedstringSet to true to exclude archived channels from the list
limitstringThe 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.
cursorstringPaginate 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

{&quot;ok&quot;:&quot;\u003cboolean\u003e&quot;,&quot;channels&quot;:[],&quot;response_metadata&quot;:{&quot;next_cursor&quot;:&quot;\u003cstring\u003e&quot;}}