Copy stream

Creates a copy of an existing stream with a new title.

Requires the stream:copy:write or streams.write permission.

Request

POST /stream/copy

Headers

HeaderValue
AuthorizationBearer <token>
Content-Typeapplication/json

Request Body

FieldTypeRequiredDescription
streamintegerYesThe ID of the stream to copy.
namestringNoThe title for the new stream. Defaults to "{original title} (Kopie)" when omitted.

Example Request

{
  "stream": 5,
  "name": "Summer Sale – Copy"
}

Response

Returns the newly created stream object.

Example Response

{
  "id": 42,
  "title": "Summer Sale – Copy",
  "datatype": "product",
  "query": {
    "and": [],
    "or": []
  }
}