Choose the creative
Attaches one of your designs to the campaign.
List yours at GET /client/designs, or start from the template library.
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:createOAuth 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
Your campaign id.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/client/campaigns/string/design" \ -H "Content-Type: application/json" \ -d '{ "designId": null }'{ "success": true, "data": { "campaignId": 9700, "designId": 4412 }}Set audience attributes POST
Narrows a direct-mail campaign by audience attributes such as age, income or household size. The available attributes and their values are at [GET /client/eddm/demographic-attributes](/docs/api-reference/targeting/listdemographicattributes). 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.
Link an audience POST
Attaches one of your saved address lists to the campaign — the targeting for an ADM campaign. List them at [GET /client/audiences](/docs/api-reference/assets/listaudiences). 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.