Rename a campaign

PATCH
/advanced/campaigns/{campaignId}/name

Renames the campaign. Not allowed while the campaign is RUNNING.

Authorization

apiKey
Authorization<token>

Your 48 character API key, sent as is (a Bearer prefix is tolerated). Create it at https://v3.emelia.io/settings/api.

In: header

Path Parameters

campaignId*string

Identifier of a multichannel campaign (24 hexadecimal characters), as returned by POST /advanced/campaigns or GET /advanced/campaigns.

Match^[0-9a-fA-F]{24}$

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/advanced/campaigns/6650f1a2b839d80011c5a0f1/name" \  -H "Authorization: YOUR_API_KEY" \  -H "Content-Type: application/json" \  -d '{    "name": "Acme Q4 outreach v2"  }'
{  "success": true,  "campaign": {    "_id": "6650f1a2b839d80011c5a0f1",    "name": "Q4 outreach: SaaS founders",    "status": "DRAFT",    "tagIds": [      "6650f1a2b839d80011c5a0f1"    ],    "identities": [      {        "_id": "6650f1a2b839d80011c5a0f1",        "userId": "6650f1a2b839d80011c5a0f1",        "name": "Marie Martin",        "email": "6650f1a2b839d80011c5a0f1",        "linkedin": "6650f1a2b839d80011c5a0f1",        "whatsapp": "6650f1a2b839d80011c5a0f1"      }    ],    "schedule": {      "dailyEmailAdded": 35,      "dailyEmailLimit": 100,      "dailyLinkedinAdded": 20,      "dailyWhatsappAdded": 20,      "bcc": "",      "trackLinks": false,      "trackOpens": false,      "timeZone": "Europe/Brussels",      "days": [        0,        1,        2,        3,        4      ],      "start": "08:00",      "end": "17:00",      "blacklistUnsub": false,      "excludeAlreadyMessaged": true,      "eventToStop": [        "VISITED"      ],      "alwaysOn": false,      "ignoreAutoReplies": false    },    "steps": {      "_id": "6650f1a2b839d800498e9dff",      "stepType": "START",      "delay": {        "amount": 1,        "unit": "MINUTES"      },      "identities": [        "6650f1a2b839d800271af1ef"      ],      "versions": [        {          "_id": "6650f1a2b839d800d471e242",          "subject": "Quick question about Nexora",          "message": "Hi Claire, thanks for your reply. Are you free for a call on Thursday?",          "disabled": false,          "rawHtml": true,          "attachments": [            {              "mediaType": "MEDIA"            }          ]        }      ],      "cc": "",      "conditions": {        "field": "MAIL_REPLIED",        "operator": "EQUAL"      },      "next": {        "_id": "6650f1a2b839d80075fdd3ca",        "stepType": "START",        "delay": {          "amount": 1,          "unit": "MINUTES"        },        "identities": [          "6650f1a2b839d800b2167636"        ],        "versions": [          {            "_id": "6650f1a2b839d80048cdb6d9",            "subject": "Quick question about Nexora",            "message": "Hi Claire, thanks for your reply. Are you free for a call on Thursday?",            "disabled": false,            "rawHtml": true,            "attachments": []          }        ],        "cc": "",        "conditions": {          "field": "MAIL_REPLIED",          "operator": "EQUAL"        },        "next": {          "_id": "6650f1a2b839d800a4dfb53d",          "stepType": "START",          "delay": {            "amount": 1,            "unit": "MINUTES"          },          "identities": [            "6650f1a2b839d8001c33f465"          ],          "versions": [            {}          ],          "cc": "",          "conditions": {            "field": "MAIL_REPLIED",            "operator": "EQUAL"          },          "next": {            "_id": "6650f1a2b839d800d76b4b24",            "stepType": "START",            "delay": {              "unit": "MINUTES"            },            "identities": [],            "versions": [],            "cc": "",            "conditions": {              "operator": "EQUAL"            },            "next": {              "stepType": "START"            },            "yes": {              "stepType": "START"            },            "no": {              "stepType": "START"            }          },          "yes": {            "_id": "6650f1a2b839d800e2281dac",            "stepType": "START",            "delay": {              "unit": "MINUTES"            },            "identities": [],            "versions": [],            "cc": "",            "conditions": {              "operator": "EQUAL"            },            "next": {              "stepType": "START"            },            "yes": {              "stepType": "START"            },            "no": {              "stepType": "START"            }          },          "no": {            "_id": "6650f1a2b839d800fa90870e",            "stepType": "START",            "delay": {              "unit": "MINUTES"            },            "identities": [],            "versions": [],            "cc": "",            "conditions": {              "operator": "EQUAL"            },            "next": {              "stepType": "START"            },            "yes": {              "stepType": "START"            },            "no": {              "stepType": "START"            }          }        },        "yes": {          "_id": "6650f1a2b839d80008d9a42f",          "stepType": "START",          "delay": {            "amount": 1,            "unit": "MINUTES"          },          "identities": [            "6650f1a2b839d800eb3ca81f"          ],          "versions": [            {}          ],          "cc": "",          "conditions": {            "field": "MAIL_REPLIED",            "operator": "EQUAL"          },          "next": {            "_id": "6650f1a2b839d80061a9645a",            "stepType": "START",            "delay": {              "unit": "MINUTES"            },            "identities": [],            "versions": [],            "cc": "",            "conditions": {              "operator": "EQUAL"            },            "next": {              "stepType": "START"            },            "yes": {              "stepType": "START"            },            "no": {              "stepType": "START"            }          },          "yes": {            "_id": "6650f1a2b839d800dcd057fe",            "stepType": "START",            "delay": {              "unit": "MINUTES"            },            "identities": [],            "versions": [],            "cc": "",            "conditions": {              "operator": "EQUAL"            },            "next": {              "stepType": "START"            },            "yes": {              "stepType": "START"            },            "no": {              "stepType": "START"            }          },          "no": {            "_id": "6650f1a2b839d800d26cc328",            "stepType": "START",            "delay": {              "unit": "MINUTES"            },            "identities": [],            "versions": [],            "cc": "",            "conditions": {              "operator": "EQUAL"            },            "next": {              "stepType": "START"            },            "yes": {              "stepType": "START"            },            "no": {              "stepType": "START"            }          }        },        "no": {          "_id": "6650f1a2b839d8000a64af83",          "stepType": "START",          "delay": {            "amount": 1,            "unit": "MINUTES"          },          "identities": [            "6650f1a2b839d800bd846cd3"          ],          "versions": [            {}          ],          "cc": "",          "conditions": {            "field": "MAIL_REPLIED",            "operator": "EQUAL"          },          "next": {            "_id": "6650f1a2b839d8001f2c2de6",            "stepType": "START",            "delay": {              "unit": "MINUTES"            },            "identities": [],            "versions": [],            "cc": "",            "conditions": {              "operator": "EQUAL"            },            "next": {              "stepType": "START"            },            "yes": {              "stepType": "START"            },            "no": {              "stepType": "START"            }          },          "yes": {            "_id": "6650f1a2b839d8001c87cb02",            "stepType": "START",            "delay": {              "unit": "MINUTES"            },            "identities": [],            "versions": [],            "cc": "",            "conditions": {              "operator": "EQUAL"            },            "next": {              "stepType": "START"            },            "yes": {              "stepType": "START"            },            "no": {              "stepType": "START"            }          },          "no": {            "_id": "6650f1a2b839d8003244233c",            "stepType": "START",            "delay": {              "unit": "MINUTES"            },            "identities": [],            "versions": [],            "cc": "",            "conditions": {              "operator": "EQUAL"            },            "next": {              "stepType": "START"            },            "yes": {              "stepType": "START"            },            "no": {              "stepType": "START"            }          }        }      },      "yes": {        "_id": "6650f1a2b839d800e7933ace",        "stepType": "START",        "delay": {          "amount": 1,          "unit": "MINUTES"        },        "identities": [          "6650f1a2b839d8003e92faca"        ],        "versions": [          {            "_id": "6650f1a2b839d8002ce293dd",            "subject": "Quick question about Nexora",            "message": "Hi Claire, thanks for your reply. Are you free for a call on Thursday?",            "disabled": false,            "rawHtml": true,            "attachments": []          }        ],        "cc": "",        "conditions": {          "field": "MAIL_REPLIED",          "operator": "EQUAL"        },        "next": {          "_id": "6650f1a2b839d8002f2974c9",          "stepType": "START",          "delay": {            "amount": 1,            "unit": "MINUTES"          },          "identities": [            "6650f1a2b839d80009d3fdb1"          ],          "versions": [            {}          ],          "cc": "",          "conditions": {            "field": "MAIL_REPLIED",            "operator": "EQUAL"          },          "next": {            "_id": "6650f1a2b839d800842890d8",            "stepType": "START",            "delay": {              "unit": "MINUTES"            },            "identities": [],            "versions": [],            "cc": "",            "conditions": {              "operator": "EQUAL"            },            "next": {              "stepType": "START"            },            "yes": {              "stepType": "START"            },            "no": {              "stepType": "START"            }          },          "yes": {            "_id": "6650f1a2b839d8002ee6ba18",            "stepType": "START",            "delay": {              "unit": "MINUTES"            },            "identities": [],            "versions": [],            "cc": "",            "conditions": {              "operator": "EQUAL"            },            "next": {              "stepType": "START"            },            "yes": {              "stepType": "START"            },            "no": {              "stepType": "START"            }          },          "no": {            "_id": "6650f1a2b839d8009335aa9a",            "stepType": "START",            "delay": {              "unit": "MINUTES"            },            "identities": [],            "versions": [],            "cc": "",            "conditions": {              "operator": "EQUAL"            },            "next": {              "stepType": "START"            },            "yes": {              "stepType": "START"            },            "no": {              "stepType": "START"            }          }        },        "yes": {          "_id": "6650f1a2b839d800bf8452b3",          "stepType": "START",          "delay": {            "amount": 1,            "unit": "MINUTES"          },          "identities": [            "6650f1a2b839d8000842a783"          ],          "versions": [            {}          ],          "cc": "",          "conditions": {            "field": "MAIL_REPLIED",            "operator": "EQUAL"          },          "next": {            "_id": "6650f1a2b839d800bc920876",            "stepType": "START",            "delay": {              "unit": "MINUTES"            },            "identities": [],            "versions": [],            "cc": "",            "conditions": {              "operator": "EQUAL"            },            "next": {              "stepType": "START"            },            "yes": {              "stepType": "START"            },            "no": {              "stepType": "START"            }          },          "yes": {            "_id": "6650f1a2b839d800345524b2",            "stepType": "START",            "delay": {              "unit": "MINUTES"            },            "identities": [],            "versions": [],            "cc": "",            "conditions": {              "operator": "EQUAL"            },            "next": {              "stepType": "START"            },            "yes": {              "stepType": "START"            },            "no": {              "stepType": "START"            }          },          "no": {            "_id": "6650f1a2b839d800641f460c",            "stepType": "START",            "delay": {              "unit": "MINUTES"            },            "identities": [],            "versions": [],            "cc": "",            "conditions": {              "operator": "EQUAL"            },            "next": {              "stepType": "START"            },            "yes": {              "stepType": "START"            },            "no": {              "stepType": "START"            }          }        },        "no": {          "_id": "6650f1a2b839d800bd5a3307",          "stepType": "START",          "delay": {            "amount": 1,            "unit": "MINUTES"          },          "identities": [            "6650f1a2b839d800756d2097"          ],          "versions": [            {}          ],          "cc": "",          "conditions": {            "field": "MAIL_REPLIED",            "operator": "EQUAL"          },          "next": {            "_id": "6650f1a2b839d800c1089d12",            "stepType": "START",            "delay": {              "unit": "MINUTES"            },            "identities": [],            "versions": [],            "cc": "",            "conditions": {              "operator": "EQUAL"            },            "next": {              "stepType": "START"            },            "yes": {              "stepType": "START"            },            "no": {              "stepType": "START"            }          },          "yes": {            "_id": "6650f1a2b839d800909fd0d6",            "stepType": "START",            "delay": {              "unit": "MINUTES"            },            "identities": [],            "versions": [],            "cc": "",            "conditions": {              "operator": "EQUAL"            },            "next": {              "stepType": "START"            },            "yes": {              "stepType": "START"            },            "no": {              "stepType": "START"            }          },          "no": {            "_id": "6650f1a2b839d800d3c6efc0",            "stepType": "START",            "delay": {              "unit": "MINUTES"            },            "identities": [],            "versions": [],            "cc": "",            "conditions": {              "operator": "EQUAL"            },            "next": {              "stepType": "START"            },            "yes": {              "stepType": "START"            },            "no": {              "stepType": "START"            }          }        }      },      "no": {        "_id": "6650f1a2b839d800aff80158",        "stepType": "START",        "delay": {          "amount": 1,          "unit": "MINUTES"        },        "identities": [          "6650f1a2b839d800e3061a0c"        ],        "versions": [          {            "_id": "6650f1a2b839d800ac97aed7",            "subject": "Quick question about Nexora",            "message": "Hi Claire, thanks for your reply. Are you free for a call on Thursday?",            "disabled": false,            "rawHtml": true,            "attachments": []          }        ],        "cc": "",        "conditions": {          "field": "MAIL_REPLIED",          "operator": "EQUAL"        },        "next": {          "_id": "6650f1a2b839d800cc57a087",          "stepType": "START",          "delay": {            "amount": 1,            "unit": "MINUTES"          },          "identities": [            "6650f1a2b839d8002ae1d217"          ],          "versions": [            {}          ],          "cc": "",          "conditions": {            "field": "MAIL_REPLIED",            "operator": "EQUAL"          },          "next": {            "_id": "6650f1a2b839d800e3f18592",            "stepType": "START",            "delay": {              "unit": "MINUTES"            },            "identities": [],            "versions": [],            "cc": "",            "conditions": {              "operator": "EQUAL"            },            "next": {              "stepType": "START"            },            "yes": {              "stepType": "START"            },            "no": {              "stepType": "START"            }          },          "yes": {            "_id": "6650f1a2b839d800bf669656",            "stepType": "START",            "delay": {              "unit": "MINUTES"            },            "identities": [],            "versions": [],            "cc": "",            "conditions": {              "operator": "EQUAL"            },            "next": {              "stepType": "START"            },            "yes": {              "stepType": "START"            },            "no": {              "stepType": "START"            }          },          "no": {            "_id": "6650f1a2b839d800cc968440",            "stepType": "START",            "delay": {              "unit": "MINUTES"            },            "identities": [],            "versions": [],            "cc": "",            "conditions": {              "operator": "EQUAL"            },            "next": {              "stepType": "START"            },            "yes": {              "stepType": "START"            },            "no": {              "stepType": "START"            }          }        },        "yes": {          "_id": "6650f1a2b839d8008b5d86a5",          "stepType": "START",          "delay": {            "amount": 1,            "unit": "MINUTES"          },          "identities": [            "6650f1a2b839d800f09d444d"          ],          "versions": [            {}          ],          "cc": "",          "conditions": {            "field": "MAIL_REPLIED",            "operator": "EQUAL"          },          "next": {            "_id": "6650f1a2b839d8007df2c9ac",            "stepType": "START",            "delay": {              "unit": "MINUTES"            },            "identities": [],            "versions": [],            "cc": "",            "conditions": {              "operator": "EQUAL"            },            "next": {              "stepType": "START"            },            "yes": {              "stepType": "START"            },            "no": {              "stepType": "START"            }          },          "yes": {            "_id": "6650f1a2b839d8000b224f94",            "stepType": "START",            "delay": {              "unit": "MINUTES"            },            "identities": [],            "versions": [],            "cc": "",            "conditions": {              "operator": "EQUAL"            },            "next": {              "stepType": "START"            },            "yes": {              "stepType": "START"            },            "no": {              "stepType": "START"            }          },          "no": {            "_id": "6650f1a2b839d80018f4e036",            "stepType": "START",            "delay": {              "unit": "MINUTES"            },            "identities": [],            "versions": [],            "cc": "",            "conditions": {              "operator": "EQUAL"            },            "next": {              "stepType": "START"            },            "yes": {              "stepType": "START"            },            "no": {              "stepType": "START"            }          }        },        "no": {          "_id": "6650f1a2b839d800d99d6d49",          "stepType": "START",          "delay": {            "amount": 1,            "unit": "MINUTES"          },          "identities": [            "6650f1a2b839d800e5e64231"          ],          "versions": [            {}          ],          "cc": "",          "conditions": {            "field": "MAIL_REPLIED",            "operator": "EQUAL"          },          "next": {            "_id": "6650f1a2b839d8009fea5a58",            "stepType": "START",            "delay": {              "unit": "MINUTES"            },            "identities": [],            "versions": [],            "cc": "",            "conditions": {              "operator": "EQUAL"            },            "next": {              "stepType": "START"            },            "yes": {              "stepType": "START"            },            "no": {              "stepType": "START"            }          },          "yes": {            "_id": "6650f1a2b839d800c0c1ba98",            "stepType": "START",            "delay": {              "unit": "MINUTES"            },            "identities": [],            "versions": [],            "cc": "",            "conditions": {              "operator": "EQUAL"            },            "next": {              "stepType": "START"            },            "yes": {              "stepType": "START"            },            "no": {              "stepType": "START"            }          },          "no": {            "_id": "6650f1a2b839d800dcf0f81a",            "stepType": "START",            "delay": {              "unit": "MINUTES"            },            "identities": [],            "versions": [],            "cc": "",            "conditions": {              "operator": "EQUAL"            },            "next": {              "stepType": "START"            },            "yes": {              "stepType": "START"            },            "no": {              "stepType": "START"            }          }        }      }    },    "recipients": {      "lists": [        {          "_id": "6650f1a2b839d80011c5a0f1",          "name": "Q4 outreach: SaaS founders",          "contactCount": 1        }      ],      "excludedLists": [        {          "_id": "6650f1a2b839d80011c5a0f1",          "name": "Q4 outreach: SaaS founders",          "contactCount": 1        }      ],      "processing": true    },    "zapierData": [      {        "_id": "6650f1a2b839d80011c5a0f1",        "webhookUrl": "https://hooks.yourcompany.com/emelia",        "events": []      }    ],    "hubspotIntegration": {},    "pipedriveIntegration": {},    "createdAt": "2026-10-06T09:30:00.000Z",    "startAt": "2026-10-06T09:30:00.000Z",    "estimatedEnd": "2026-10-06T09:30:00.000Z",    "plannedStart": "2026-10-06T09:30:00.000Z"  }}