chat

Pin or unpin chats for the caller

Changed on
patch/api/chat/pins

Request

  • Base URL
    https://api.rewritelifestyle.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.rewritelifestyle.ai/api/chat/pins
  • Auth
    HTTP bearer

Request body

pinnumber[]

Room ids to pin, newest first. They go on top; one already pinned keeps its place.

unpinnumber[]

Room ids to unpin, including pins for rooms no longer in the list.

Example request

{
  "pin": [
    12,
    7
  ],
  "unpin": [
    3
  ]
}

Changes