
Security News
Feross on TBPN: How North Korea Hijacked Axios
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.
@datafire/slack
Advanced tools
A messaging app for teams
{
"type": "object",
"properties": {
"code": {
"title": "code",
"type": "string"
}
},
"required": [
"code"
]
}
{
"properties": {
"access_token": {
"type": "string"
},
"refresh_token": {
"type": "string"
},
"token_type": {
"type": "string"
},
"scope": {
"type": "string"
},
"expiration": {
"type": "string"
}
}
}
{}
{
"properties": {
"access_token": {
"type": "string"
},
"refresh_token": {
"type": "string"
},
"token_type": {
"type": "string"
},
"scope": {
"type": "string"
},
"expiration": {
"type": "string"
}
}
}
Checks authentication and tells you who you are.
{
"type": "object",
"properties": {
"token": {
"type": "string",
"description": "Authentication token"
}
},
"additionalProperties": false,
"required": [
"token"
]
}
{
"$ref": "#/definitions/user"
}
Fetches history of messages and events from a channel.
{
"type": "object",
"properties": {
"channel": {
"type": "string",
"description": "Channel to fetch history for."
},
"latest": {
"type": "string",
"description": "Timestamp of the oldest recent seen message."
},
"oldest": {
"type": "string",
"description": "Timestamp of the latest previously seen message."
},
"count": {
"type": "number",
"description": "Number of messages to return, between 1 and 1000."
},
"has_more": {
"type": "boolean"
},
"is_limited": {
"type": "boolean"
}
},
"additionalProperties": false,
"required": [
"channel"
]
}
{
"$ref": "#/definitions/channelsHistory"
}
Gets information about a channel.
{
"type": "object",
"properties": {
"channel": {
"type": "string",
"description": "Channel to fetch history for."
}
},
"additionalProperties": false,
"required": [
"channel"
]
}
{
"$ref": "#/definitions/searchAll"
}
Invites a user to a channel.
{
"type": "object",
"properties": {
"channel": {
"type": "string",
"description": "Channel to fetch history for."
},
"user": {
"type": "string",
"description": "User to invite to channel."
}
},
"additionalProperties": false,
"required": [
"channel",
"user"
]
}
{
"$ref": "#/definitions/channelsInvite"
}
Joins a channel, creating it if needed.
{
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Name of channel to join"
}
},
"additionalProperties": false,
"required": [
"name"
]
}
{
"$ref": "#/definitions/channelsInvite"
}
Leaves a channel.
{
"type": "object",
"properties": {
"channel": {
"type": "string",
"description": "Channel to fetch history for."
}
},
"additionalProperties": false,
"required": [
"channel"
]
}
{
"$ref": "#/definitions/ok"
}
Lists all channels in a Slack team.
{
"type": [
"object",
"null"
],
"properties": {
"exclude_archived": {
"type": "string",
"description": "Don't return archived channels."
}
},
"additionalProperties": false
}
{
"$ref": "#/definitions/channels"
}
Sets the read cursor in a channel.
{
"type": "object",
"properties": {
"channel": {
"type": "string",
"description": "Channel to fetch history for."
},
"ts": {
"type": "string",
"description": "Timestamp of the most recently seen message."
}
},
"additionalProperties": false,
"required": [
"channel",
"ts"
]
}
{
"$ref": "#/definitions/ok"
}
Sets the purpose for a channel.
{
"type": "object",
"properties": {
"channel": {
"type": "string",
"description": "Channel to fetch history for."
},
"purpose": {
"type": "string",
"description": "The new purpose"
}
},
"additionalProperties": false,
"required": [
"channel",
"purpose"
]
}
{
"$ref": "#/definitions/purpose"
}
Sets the topic for a channel.
{
"type": "object",
"properties": {
"channel": {
"type": "string",
"description": "Channel to fetch history for."
},
"topic": {
"type": "string",
"description": "The new topic"
}
},
"additionalProperties": false,
"required": [
"channel",
"topic"
]
}
{
"$ref": "#/definitions/topic"
}
Deletes a message.
{
"type": "object",
"properties": {
"channel": {
"type": "string",
"description": "Channel to fetch history for."
},
"ts": {
"type": "string",
"description": "Timestamp of the most recently seen message."
}
},
"additionalProperties": false,
"required": [
"channel",
"ts"
]
}
{
"$ref": "#/definitions/chatOk"
}
Sends a message to a channel.
{
"type": "object",
"properties": {
"channel": {
"type": "string",
"description": "Channel to fetch history for."
},
"text": {
"type": "string",
"description": "Text of the message to send. See below for an explanation of formatting."
},
"username": {
"type": "string",
"description": "Name of bot."
},
"parse": {
"type": "string",
"description": "Change how messages are treated. See below."
},
"link_names": {
"type": "string",
"description": "Find and link channel names and usernames."
},
"unfurl_links": {
"type": "string",
"description": "Pass 1 to enable unfurling of primarily text-based content."
},
"icon_url": {
"type": "string",
"description": "URL to an image to use as the icon for this message"
},
"icon_emoji": {
"type": "string",
"description": "emoji to use as the icon for this message. Overrides icon_url."
},
"attachments": {
"type": "string",
"description": "Structured message attachments."
}
},
"additionalProperties": false,
"required": [
"channel",
"text"
]
}
{
"$ref": "#/definitions/chatOk"
}
Updates a message.
{
"type": "object",
"properties": {
"channel": {
"type": "string",
"description": "Channel to fetch history for."
},
"text": {
"type": "string",
"description": "Text of the message to send. See below for an explanation of formatting."
},
"ts": {
"type": "string",
"description": "Timestamp of the most recently seen message."
}
},
"additionalProperties": false,
"required": [
"channel",
"text",
"ts"
]
}
{
"$ref": "#/definitions/chatUpdate"
}
Lists custom emoji for a team.
{}
{
"$ref": "#/definitions/emojiList"
}
Gets information about a team file.
{
"type": "object",
"properties": {
"file": {
"type": "string",
"description": "File to fetch info for"
},
"count": {
"type": "number",
"description": "Number of items to return per page."
},
"page": {
"type": "number",
"description": "Page number of results to return."
}
},
"additionalProperties": false,
"required": [
"file"
]
}
{
"$ref": "#/definitions/fileObj"
}
Lists and filters team files.
{
"type": "object",
"properties": {
"file": {
"type": "string",
"description": "File to fetch info for"
},
"user": {
"type": "string",
"description": "Filter files created by a single user."
},
"ts_from": {
"type": "string",
"description": "Filter files created after this timestamp (inclusive)."
},
"ts_to": {
"type": "string",
"description": "Filter files created before this timestamp (inclusive)."
},
"types": {
"type": "string",
"description": "You can pass multiple values in the types argument, like types=posts,snippets.The default value is all, which does not filter the list.",
"enum": [
"pdfs",
"zips",
"posts",
"images",
"snippets",
"gdocs",
"all"
]
}
},
"additionalProperties": false,
"required": [
"file"
]
}
{
"$ref": "#/definitions/files"
}
Uploads or creates a file.
{
"type": [
"object",
"null"
],
"properties": {
"file": {
"type": "string",
"description": "File contents via multipart/form-data."
},
"content": {
"type": "string",
"description": "File contents via a POST var."
},
"filetype": {
"type": "string",
"description": "Slack-internal file type identifier."
},
"filename": {
"type": "string",
"description": "Filename of file."
},
"title": {
"type": "string",
"description": "Title of file."
},
"initial_comment": {
"type": "string",
"description": "Initial comment to add to file."
},
"channels": {
"type": "string",
"description": "Comma separated list of channels to share the file into."
}
},
"additionalProperties": false
}
{
"$ref": "#/definitions/fileObj"
}
Fetches history of messages and events from a private group.
{
"type": "object",
"properties": {
"channel": {
"type": "string",
"description": "Group to fetch history for."
},
"latest": {
"type": "string",
"description": "Timestamp of the oldest recent seen message."
},
"oldest": {
"type": "string",
"description": "Timestamp of the latest previously seen message."
},
"count": {
"type": "number",
"description": "Number of messages to return, between 1 and 1000."
},
"has_more": {
"type": "boolean"
},
"is_limited": {
"type": "boolean"
}
},
"additionalProperties": false,
"required": [
"channel"
]
}
{
"$ref": "#/definitions/channelsHistory"
}
Lists private groups that the calling user has access to.
{
"type": [
"object",
"null"
],
"properties": {
"exclude_archived": {
"type": "string",
"description": "Don't return archived channels."
}
},
"additionalProperties": false
}
{
"$ref": "#/definitions/groups"
}
Sets the read cursor in a private group.
{
"type": "object",
"properties": {
"channel": {
"type": "string",
"description": "Group to fetch history for."
},
"ts": {
"type": "string",
"description": "Timestamp of the most recently seen message."
}
},
"additionalProperties": false,
"required": [
"channel",
"ts"
]
}
{
"$ref": "#/definitions/ok"
}
Sets the purpose for a private group.
{
"type": "object",
"properties": {
"channel": {
"type": "string",
"description": "Group to fetch history for."
},
"purpose": {
"type": "string",
"description": "The new purpose"
}
},
"additionalProperties": false,
"required": [
"channel",
"purpose"
]
}
{
"$ref": "#/definitions/purpose"
}
Sets the topic for a private group.
{
"type": "object",
"properties": {
"channel": {
"type": "string",
"description": "Channel to fetch history for."
},
"topic": {
"type": "string",
"description": "The new topic"
}
},
"additionalProperties": false,
"required": [
"channel",
"topic"
]
}
{
"$ref": "#/definitions/topic"
}
Fetches history of messages and events from direct message channel.
{
"type": "object",
"properties": {
"channel": {
"type": "string",
"description": "Direct message channel to fetch history for."
},
"latest": {
"type": "string",
"description": "Timestamp of the oldest recent seen message."
},
"oldest": {
"type": "string",
"description": "Timestamp of the latest previously seen message."
},
"count": {
"type": "number",
"description": "Number of messages to return, between 1 and 1000."
},
"has_more": {
"type": "boolean"
},
"is_limited": {
"type": "boolean"
}
},
"additionalProperties": false,
"required": [
"channel"
]
}
{
"$ref": "#/definitions/channelsHistory"
}
Lists direct message channels for the calling user.
{}
{
"$ref": "#/definitions/ims"
}
Sets the read cursor in a direct message channel.
{
"type": "object",
"properties": {
"channel": {
"type": "string",
"description": "Channel to fetch history for."
},
"ts": {
"type": "string",
"description": "Timestamp of the most recently seen message."
}
},
"additionalProperties": false,
"required": [
"channel",
"ts"
]
}
{
"$ref": "#/definitions/ok"
}
Searches for messages and files matching a query.
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Search query. May contains booleans, etc."
},
"sort": {
"type": "string",
"description": "Return matches sorted by either score or timestamp.",
"enum": [
"timestamp",
"score"
]
},
"sort_dir": {
"type": "string",
"description": "Change sort direction to ascending (asc) or descending (desc).",
"enum": [
"desc",
"asc"
]
},
"highlight": {
"type": "string",
"description": "Pass a value of 1 to enable query highlight markers ."
},
"count": {
"type": "number",
"description": "Number of items to return per page."
},
"page": {
"type": "number",
"description": "Page number of results to return."
}
},
"additionalProperties": false,
"required": [
"query"
]
}
{
"$ref": "#/definitions/searchAll"
}
Searches for files matching a query.
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Search query. May contains booleans, etc."
},
"sort": {
"type": "string",
"description": "Return matches sorted by either score or timestamp.",
"enum": [
"timestamp",
"score"
]
},
"sort_dir": {
"type": "string",
"description": "Change sort direction to ascending (asc) or descending (desc).",
"enum": [
"desc",
"asc"
]
},
"highlight": {
"type": "string",
"description": "Pass a value of 1 to enable query highlight markers ."
},
"count": {
"type": "number",
"description": "Number of items to return per page."
},
"page": {
"type": "number",
"description": "Page number of results to return."
}
},
"additionalProperties": false,
"required": [
"query"
]
}
{
"$ref": "#/definitions/searchFiles"
}
Searches for messages matching a query.
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Search query. May contains booleans, etc."
},
"sort": {
"type": "string",
"description": "Return matches sorted by either score or timestamp.",
"enum": [
"timestamp",
"score"
]
},
"sort_dir": {
"type": "string",
"description": "Change sort direction to ascending (asc) or descending (desc).",
"enum": [
"desc",
"asc"
]
},
"highlight": {
"type": "string",
"description": "Pass a value of 1 to enable query highlight markers ."
},
"count": {
"type": "number",
"description": "Number of items to return per page."
},
"page": {
"type": "number",
"description": "Page number of results to return."
}
},
"additionalProperties": false,
"required": [
"query"
]
}
{
"$ref": "#/definitions/searchMessages"
}
Lists stars for a user.
{
"type": [
"object",
"null"
],
"properties": {
"user": {
"type": "string",
"description": "Show stars by this user. Defaults to the authed user."
},
"count": {
"type": "number",
"description": "Number of items to return per page."
},
"page": {
"type": "number",
"description": "Page number of results to return."
}
},
"additionalProperties": false
}
{
"$ref": "#/definitions/starList"
}
Lists all users in a Slack team.
{}
{
"$ref": "#/definitions/usersList"
}
FAQs
DataFire integration for Slack Web API
The npm package @datafire/slack receives a total of 14 weekly downloads. As such, @datafire/slack popularity was classified as not popular.
We found that @datafire/slack demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.

Security News
OpenSSF has issued a high-severity advisory warning open source developers of an active Slack-based campaign using impersonation to deliver malware.

Research
/Security News
Malicious packages published to npm, PyPI, Go Modules, crates.io, and Packagist impersonate developer tooling to fetch staged malware, steal credentials and wallets, and enable remote access.