Skip to Content
The Makinari API repo now includes an MCP Server — connect your AI models directly. View on GitHub →
MCP ServerToolsCampaignsPOST

Campaigns

Manage marketing campaigns. Use action=“create” to create a new campaign (requires title). Use action=“update” to update an existing campaign (requires campaign_id). Use action=“list” to get campaigns with filters.

Input Schema

ParameterTypeDescription
actionstringAction to perform on campaigns. Enum: create, list, update
campaign_idstringCampaign UUID (required for update)
titlestringCampaign title
descriptionstringCampaign description
statusstringStatus (e.g. pending, active, completed)
typestringCampaign type (e.g. email, social, ad)
prioritystringPriority (e.g. low, medium, high)
budgetobjectBudget details
revenueobjectRevenue details
due_datestringDue date (ISO string)
site_idstringFilter by site UUID
user_idstringFilter by user UUID
limitnumberMax results
offsetnumberPagination offset

REST Endpoint

Actions map to sub-routes: create/create, list/get, update/update.

POST /api/agents/tools/campaigns/create POST /api/agents/tools/campaigns/get POST /api/agents/tools/campaigns/update
POST /api/agents/tools/campaigns/create Authorization: Bearer YOUR_API_KEY Content-Type: application/json { "site_id": "YOUR_SITE_ID", "title": "Q1 Outreach Campaign", "type": "email", "status": "active", "priority": "high" }

Response:

{ "success": true, "campaign": { "id": "...", "title": "Q1 Outreach Campaign" } }
Last updated on