OppiziDeveloper
API ReferenceCampaign Builder

Rename a campaign

PATCH
/client/campaigns/{id}

Changes the name of one of your campaigns.

Needs an OAuth access token carrying the campaigns:create scope — a plain client key is refused. The campaign must be one of yours; anything else returns 404.

Authorization

campaignBuilderOAuth campaigns:create
AuthorizationBearer <token>

OAuth access token carrying the campaigns:create scope, obtained through the Oppizi consent screen (the same sign-in used by the MCP connector). A plain client key carries no scopes and is refused on these endpoints.

In: header

Scope: campaigns:create

Path Parameters

id*string

Your campaign id.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X PATCH "https://example.com/client/campaigns/string" \  -H "Content-Type: application/json" \  -d '{    "name": null  }'
{  "success": true,  "data": {    "campaignId": 9700,    "name": "EDDM Fall"  }}
Empty
Empty
Empty
Empty
Empty