Stars
Stars Add
Adds a star to an item.
Authorization
slackAuth stars:writeAuthorizationBearer <token>
In: header
Scope: stars:write
Header Parameters
token*string
Authentication token. Requires scope: stars:write
Content-Type*"application/x-www-form-urlencoded"
Value in
- "application/x-www-form-urlencoded"
Request Body
application/x-www-form-urlencoded
channel?string
Channel to add star to, or channel where the message to add star to was posted (used with timestamp).
file?string
File to add star to.
file_comment?string
File comment to add star to.
timestamp?string
Timestamp of the message to add star to.
Response Body
application/json
application/json
curl -X POST "https://example.com/stars.add" \ -H "token: string" \ -H "Content-Type: application/x-www-form-urlencoded" \ -H "Content-Type: application/x-www-form-urlencoded" \ -d ''{ "ok": "True"}
