Skip to main content
PUT
/
chats
/
threads
/
{thread_id}
/
archive
Archive thread
curl --request PUT \
  --url https://api.ledgerbeam.com/v1/chats/threads/{thread_id}/archive \
  --header 'API-KEY: <api-key>'
{
  "message": "Thread archived successfully"
}

Overview

Archive a conversation thread. Archived threads are hidden from the default thread list but can still be accessed.

Authorizations

API-KEY
string
header
required

API key for authentication

Path Parameters

thread_id
string
required

Thread ID

Response

Thread archived successfully

message
string
Example:

"Thread archived successfully"