Tables

Pin or unpin a message

Pin (pinned: true) a published message so it is the first thing the next reader of the thread sees, or unpin it (false). Idempotent: pinning a pinned message answers it unchanged. A message that is not published yet is a 409 MESSAGE_NOT_EDITABLE.

post/v1/tables/{tableId}/messages/{messageId}/pin

Request

  • Base URL
    https://api.banksync.io
  • Auth
    • API key in header X-API-Key
    • or HTTP bearer

Path parameters

tableId, string required

Table ID

messageId, string required

Message ID

Request body

object required
pinned, boolean required

Response

The message, pinned or unpinned

object required
success, true required
data, object required

Changes

No recorded changes to this operation across all 6 revisions of this API.