Skip to content

Make a save the current conversation

POST
/conversation/switch
curl --request POST \
--url https://api.harperharbor.com/open/v1/conversation/switch \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "conversationId": "example" }'
Media typeapplication/json
object
conversationId
required
string
Examplegenerated
{
"conversationId": "example"
}

Nothing is deleted; reload messages afterwards.

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