Skip to content
Download Beeper

Archive or unarchive a chat

POST/v1/chats/{chatID}/archive

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

Path ParametersExpand Collapse
chatID: string

Chat ID. Input routes also accept the local chat ID from this installation when available.

Body ParametersJSONExpand Collapse
archived: optional boolean

True to archive, false to unarchive

Archive or unarchive a chat

curl http://localhost:23373/v1/chats/$CHAT_ID/archive \
    -X POST \
    -H "Authorization: Bearer $BEEPER_ACCESS_TOKEN"
Returns Examples