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 to archive, archived=false to move back to inbox

Path ParametersExpand Collapse
chatID: string

Unique identifier of the chat.

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
Returns Examples