Campaigns

Rename a campaign

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

patch/advanced/campaigns/{campaignId}/name

Request

  • Base URL: https://api.emelia.io
  • URL: https://api.emelia.io/advanced/campaigns/{campaignId}/name
  • Auth: API key in header Authorization

Path parameters

campaignIdstring required

MongoDB ObjectId: 24 hexadecimal characters.

Example:6650f1a2b839d80011c5a0f1

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

Request body

namestring required

Response

Success.

successunknown

Example response

{
  "campaign": {
    "_id": "6650f1a2b839d80011c5a0f1",
    "tagIds": [
      "6650f1a2b839d80011c5a0f1"
    ],
    "identities": [
      {
        "_id": "6650f1a2b839d80011c5a0f1",
        "userId": "6650f1a2b839d80011c5a0f1",
        "email": "6650f1a2b839d80011c5a0f1",
        "linkedin": "6650f1a2b839d80011c5a0f1",
        "whatsapp": "6650f1a2b839d80011c5a0f1"
      }
    ],
    "recipients": {
      "lists": [
        {
          "_id": "6650f1a2b839d80011c5a0f1"
        }
      ],
      "excludedLists": [
        {
          "_id": "6650f1a2b839d80011c5a0f1"
        }
      ]
    },
    "zapierData": [
      {
        "_id": "6650f1a2b839d80011c5a0f1"
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.