Sign Up

Log In

Slack

FREE
By dimashirokov
Updated 5 months ago
Social
-/10
Popularity Score
-
Latency
-
Success Rate

Slack API Documentation

Build tools, bots or apps for this communication tool.
View API Details

Supercharge your App

Discover and connect to thousands of APIs in the world's largest API Hub

POSTaddFileComment
POSTaddReaction
POSTaddStar
POSTarchiveChannel
POSTarchivePrivateChannel
POSTcloseDirectMessageChannel
POSTcloseMultipartyDirectMessageChannel
POSTclosePrivateChannel
POSTcreateChannel
POSTcreatePrivateChannel
POSTcreateReminder
POSTcreateUserGroup
POSTdeleteChat
POSTdeleteFile
POSTdeleteFileComment
POSTdeleteReminder
POSTdeleteUserProfilePhoto
POSTdisableFileSharing
POSTdisableUserGroup
POSTenableFileSharing
POSTenableUserGroup
POSTendDoNotDisturb
POSTendSnooze
POSTgetAccessLogs
POSTgetAccessToken
POSTgetBotInfo
POSTgetChannelHistory
POSTgetChannelInfo
POSTgetChannelPinnedItems
POSTgetChannels
POSTgetDirectMessageChannelHistory
POSTgetDoNotDisturbInfo
POSTgetFileInfo
POSTgetMultipartyDirectMessageChannelHistory
POSTgetMultipartyDirectMessageChannels
POSTgetPrivateChannelHistory
POSTgetPrivateChannelInfo
POSTgetPrivateChannels
POSTgetReaction
POSTgetReactions
POSTgetReminders
POSTgetSingleReminder
POSTgetStars
POSTgetTeamCustomEmoji
POSTgetTeamFiles
POSTgetTeamInfo
POSTgetTeamProfile
POSTgetTeamUserDoNotDisturbInfo
POSTgetTeamUsers
POSTgetUser
POSTgetUserGroupUsers
POSTgetUserGroups
POSTgetUserIdentity
POSTgetUserImChannels
POSTgetUserPresence
POSTgetUserProfile
POSTinviteToChannel
POSTinviteToPrivateChannel
POSTjoinChannel
POSTkickFromChannel
POSTkickFromPrivateChannel
POSTleaveChannel
POSTleavePrivateChannel
POSTmarkChannel
POSTmarkDirectMessageChannel
POSTmarkMultipartyDirectMessageChannel
POSTmarkPrivateChannel
POSTmarkReminderComplete
POSTopenDirectMessageChannel
POSTopenMultipartyDirectMessageChannel
POSTopenPrivateChannel
POSToutgoing
POSTpinItemToChannel
POSTpostMessage
POSTremoveReaction
POSTremoveStar
POSTrenameChannel
POSTrenamePrivateChannel
POSTrevokeAuth
POSTsearchItem
POSTsendMeMessage
POSTsetChannelPurpose
POSTsetChannelTopic
POSTsetPhoto
POSTsetPrivateChannelPurpose
POSTsetPrivateChannelTopic
POSTsetSnooze
POSTsetUserActive
POSTsetUserPresence
POSTsetUserProfile
POSTslashCommand
POSTstartRealTimeMessaging
POSTtestAuth
POSTunarchiveChannel
POSTunarchivePrivateChannel
POSTunpinItemFromChannel
POSTupdateFileComment
POSTupdateMessage
POSTupdateUserGroup
POSTupdateUserGroupUsers
POSTuploadFile
POSTaddFileComment

Add a comment to an existing file.

Sign up to test this endpoint
Log in
Header Parameters
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
fileSTRING
REQUIREDRequired: File to add a comment to.
commentSTRING
REQUIREDRequired: Text of the comment to add.
tokenCREDENTIALS
REQUIREDRequired: Authentication token (Requires scope: files:write:user)
Optional Parameters
channelSTRING
OPTIONALChannel id (encoded) of which location to associate with the new comment.
Request Snippet
unirest.post("https://SlackdimashirokovV1.p.rapidapi.com/addFileComment")
.header("X-RapidAPI-Key", "undefined")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("channel=undefined")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response

loading...

Log inSign up

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.post("https://SlackdimashirokovV1.p.rapidapi.com/addFileComment")
.header("X-RapidAPI-Key", "undefined")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("channel=undefined")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication
Sign up for freeto test this endpoint
Join the world’s largest API marketplace with over half a million developers and thousands of APIs.
DiscoverAPIs
Testfrom the browser
Connectusing code snippets
Managefrom one dashboard