Skip to main content
POST
cURL

Path Parameters

id
string<uuid>
required

The source chat room UUID.

Body

application/json

Copy target options

targetChatId
string<uuid>
required

Target chat room UUID to receive the copied messages.

clearExisting
boolean
default:true

When true, existing messages in the target chat are deleted before copy.

Response

Messages copied successfully

status
enum<string>
required

Status of the request

Available options:
success
Example:

"success"

source_chat_id
string<uuid>
required

Source chat room UUID.

target_chat_id
string<uuid>
required

Target chat room UUID.

copied_count
integer
required

Number of messages copied from source to target.

cleared_existing
boolean
required

Whether existing target messages were deleted before copy.