Skip to main content
POST
/
conversations
/
{conversation_id}
/
duplicate
Duplicate Conversation
curl --request POST \
  --url https://api.zo.computer/conversations/{conversation_id}/duplicate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "message_index": 1
}
'
{
  "conversation_id": "<string>",
  "title": "<string>"
}

Authorizations

Authorization
string
header
required

Zo API key (zo_sk_...)

Path Parameters

conversation_id
string
required

Body

application/json
message_index
integer
required

0-based message index to duplicate through (inclusive)

Required range: x >= 0

Response

Successful Response

conversation_id
string
required

Newly created conversation ID

title
string
required

Title assigned to the duplicated conversation