Open Context Protocol is live! 🚀 Read the launch post

pinsAdd

Pins an item to a channel.

POST /pins.add HTTP/1.1

Parameters

{
  "token": {
    "description": "Authentication token. Requires scope: `pins:write`",
    "required": true,
    "location": "header",
    "type": "string"
  },
  "channel": {
    "description": "Channel to pin the item in.",
    "required": true,
    "location": "formData",
    "type": "string"
  },
  "timestamp": {
    "description": "Timestamp of the message to pin.",
    "required": false,
    "location": "formData",
    "type": "string"
  }
}

Response Schema

{
  "additionalProperties": false,
  "description": "Schema for successful response from pins.add method",
  "properties": {
    "ok": {
      "enum": [
        true
      ],
      "title": "default success response",
      "type": "boolean"
    }
  },
  "required": [
    "ok"
  ],
  "title": "pins.add schema",
  "type": "object"
}