Skip to main content
POST
/
v1
/
campaign
/
{campaignId}
/
clone
Clone a campaign
curl --request POST \
  --url https://openapi.enginy.ai/v1/campaign/{campaignId}/clone \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "identityId": 123,
  "name": "<string>"
}
'
{
  "status": "success",
  "message": "<string>",
  "data": {
    "id": 123,
    "name": "<string>",
    "status": "<string>"
  }
}

Authorizations

x-api-key
string
header
required

Path Parameters

campaignId
string
required

The campaign ID to clone

Body

application/json
identityId
integer
required

Identity ID for the cloned campaign

name
string

Optional name. Defaults to "Copy of {original}"

Maximum string length: 255

Response

Campaign cloned successfully

status
enum<string>
required
Available options:
success
message
string
required
data
object
required