Skip to content
  • Auto
  • Light
  • Dark
Download Beeper

Archive

Archive or unarchive a chat
post/v1/chats/{chatID}/archive

Archive or unarchive a chat. Set archived=true to move to archive, archived=false to move back to inbox

Path ParametersExpand Collapse
chatID: string

Unique identifier of the chat.

Body ParametersExpand Collapse
archived: optional boolean

True to archive, false to unarchive

Archive or unarchive a chat
curl http://localhost:23373/v1/chats/$CHAT_ID/archive \
    -H 'Content-Type: application/json' \
    -H "Authorization: Bearer $BEEPER_ACCESS_TOKEN"
Returns Examples