---
title: "Prepare inert drafts, local templates, folders and preferences"
method: POST
path: "/api/mcp/tools/configure_marketing"
tags: ["tools"]
---

# Prepare inert drafts, local templates, folders and preferences

`POST /api/mcp/tools/configure_marketing`

## Request

- Base URL: `https://finestructure.ai`
- URL: `https://finestructure.ai/api/mcp/tools/configure_marketing`
- Auth: HTTP bearer

Prepare inert drafts, local templates, folders and preferences. Does not authorize sending. Uses the same engine as /audiences. Call get_marketing_capabilities(operation=...) for the native parameters, including body when required.

## Request body

- object
  - `operation` 'drafts.save' | 'email.templates.delete' | 'email.templates.save' | 'events.create' | 'flows.create' | 'flows.draft' | 'folders.archive' | 'folders.create' | 'folders.move_item' | 'folders.rename' | 'lists.create' | 'views.save' | 'whatsapp.account_profile' | 'whatsapp.official.duplicate' | 'whatsapp.templates.create' | 'whatsapp.templates.delete' | 'whatsapp.templates.duplicate' | 'whatsapp.templates.update', required
  - `parameters` object: Exact native parameters from capability discovery; omit for parameterless operations.

## Response `200`

Tool executed successfully

- ToolResult
  - `ok` boolean, required
  - `tool` string, required
  - `result` object, required

## Other responses

- `400`: Invalid arguments for this tool
- `401`: Missing or invalid bearer token
- `402`: Not enough credits on the account
- `403`: Token scope does not permit this tool
- `404`: Unknown tool name
- `429`: Rate limit exceeded, retry after the indicated delay
- `500`: Internal error while executing the tool

---

[API](https://skmtc.dev/finestructure/apis/fine-structure-api.md) · [All operations](https://skmtc.dev/finestructure/apis/fine-structure-api/llms.txt) · [OpenAPI document](https://skmtc.dev/finestructure/apis/fine-structure-api/revisions/02c50ed5fd70?raw)
