Skip to content

Archive a conversation

POST
/api/intake/{conversation_id}/archive
curl --request POST \
--url https://example.com/api/intake/example/archive \
--header 'Authorization: Bearer <token>'

Hides a conversation from the default list. The conversation state is preserved — use /recover to access it again.

conversation_id
required
Conversation Id
string

Successful Response

Media type application/json
ArchiveResponse
object
conversation_id
required
Conversation Id
string
archived
required
Archived
boolean
Example generated
{
"conversation_id": "example",
"archived": true
}

Validation Error

Media type application/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Example generated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example",
"input": "example",
"ctx": {}
}
]
}