Skip to content

Archive and open a fresh conversation

POST
/conversation/save-and-start-new
curl --request POST \
--url https://api.harperharbor.com/open/v1/conversation/save-and-start-new \
--header 'Authorization: Bearer <token>'

New conversation.

Media typeapplication/json
object
conversationId
string
title
string
messageCount
integer
Examplegenerated
{
"conversationId": "example",
"title": "example",
"messageCount": 1
}

conversation_limit_reached — the card already has 20 saves ({ limit, count }). Existing saves are retained.

Media typeapplication/json
object
error
required

Machine-readable code. unauthorized means authentication failed. Refresh the token; if refresh fails, request authorization again.

string
message
required

One English sentence a client may show verbatim.

string
retryable
boolean
detail

Present on some 4xx errors with the offending part.

object
key
additional properties
any
Example
{
"error": "unauthorized"
}