Pins

Pins Add

POST
/pins.add

Pins an item to a channel.

Authorization

slackAuth pins:write
AuthorizationBearer <token>

In: header

Scope: pins:write

Header Parameters

token*string

Authentication token. Requires scope: pins: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 pin the item in.

timestamp?string

Timestamp of the message to pin.

Response Body

application/json

application/json

curl -X POST "https://example.com/pins.add" \  -H "token: string" \  -H "Content-Type: application/x-www-form-urlencoded" \  -H "Content-Type: application/x-www-form-urlencoded" \  -d 'channel=string'
{  "ok": "True"}