Slack API
conversations public
0
Node
JavaScript
Python beta
Ruby beta
Shell
curl
Hey! Want to build awesome, scalable APIs like this one?
Sign up with Standard Library today and build your own API or connect to others in seconds.
We hope you enjoy documentation for the Slack conversations API on Standard Library! This API can be used via the command line (shell), Node, Ruby, Python or as a generic HTTP call in any language. Check the code examples on the right associated with each API method for how to use this API in your language of choice.
API Description
No "description" field found in package.json
# API Documentation This file should contain documentation introducing your API to **end-users**. It will display on your service's [Standard Library](https://stdlib.com/) documentation page if you choose to publish it. Usage examples and additional information around calling your API belong here.
Retrieve the history of a Conversation
Authenticated   |   Pricing  ·  Free   |   Limit  ·  no rate limit
Unauthenticated   |   Limit  ·  no rate limit
Parameters
channel
required
string
Conversation ID to fetch history for
current value set to
enter a test value
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
optional, default value is
null
optional, current value set to
enter a test value
latest
string
End of time range of messages to include in results
optional, default value is
null
optional, current value set to
enter a test value
oldest
string
Start of time range of messages to include in results
optional, default value is
null
optional, current value set to
enter a test value
limit
number
The max number of messages to retrieve
optional, default value is
null
optional, current value set to
enter a test value
Retrieve Channel, DM, or Group DM by id
Authenticated   |   Pricing  ·  Free   |   Limit  ·  no rate limit
Unauthenticated   |   Limit  ·  no rate limit
Parameters
id
string
The id of the resource
optional, default value is
"C00000000"
optional, current value set to
enter a test value
List Conversations
Authenticated   |   Pricing  ·  Free   |   Limit  ·  no rate limit
Unauthenticated   |   Limit  ·  no rate limit
Parameters
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
optional, default value is
null
optional, current value set to
enter a test value
limit
number
The max number of messages to retrieve
optional, default value is
null
optional, current value set to
enter a test value
exclude_archived
boolean
Set to true to exclude archived channels from the list
optional, default value is
false
optional, current value set to
enter a test value
types
string
Mix and match channel types by providing a comma-separated list of any combination of public_channel, private_channel, mpim, im
optional, default value is
null
optional, current value set to
enter a test value
Made with by the Slack team with the help of Standard Library.