Rename a campaign

Give one campaign a new name, the same as Rename in the workspace. A new campaign is named "<company>, <Goal>, <Month>" until it is renamed; the name is what the workspace, the emails and campaign_status show. 1 to 80 characters, spaces collapsed. Any live campaign of the brand's can be renamed, paid or not; an archived one is refused (conflict, archived) until it is restored in the workspace. Needs an idempotency_key. Within the key's mandate; recorded as an agent run. Scope: campaigns:write. MCP tool: rename_campaign.

patch/campaigns/{id}

Request

  • Base URL: https://app.distribution.tech/api/v1
  • URL: https://app.distribution.tech/api/v1/campaigns/{id}
  • Auth: HTTP bearer

Path parameters

idstring uuid required

Headers

Idempotency-Keystring required

8 to 128 letters, digits or . _ : -. Retry with the same key and the same request to get the same answer; it never runs twice.

Request body

namestring required

The new name; spaces are collapsed.

Response

OK

campaign_idstring uuid required
namestring required

Changes

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