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

Content

Manage content. Use action=“create” to create new content (requires title, type). Use action=“update” to update existing content (requires content_id). Use action=“list” to get content items with filters.

Input Schema

ParameterTypeDescription
actionstringAction to perform on content. Enum: create, list, update
content_idstringContent UUID (required for update/get single)
titlestringContent title (required for create)
typestringContent type: blog_post, video, podcast, social_post, newsletter, case_study, whitepaper, infographic, webinar, ebook, ad, landing_page (required for create)
descriptionstringShort description or excerpt
statusstringContent status: draft, review, approved, published, archived
segment_idstringSegment UUID
textstringBody content / main text
tagsarrayTags for categorization
instructionsstringInstructions for AI content generation or editing
campaign_idstringCampaign UUID
metadataobjectJSON object. For bulk templates, you may set placeholders.when_unresolved to strip_tokens or skip_recipient (see sendBulkMessages).
site_idstringFilter by site UUID
user_idstringFilter by user UUID
searchstringText search in title, description, text
limitnumberMax results (default 50)
offsetnumberPagination offset

Merge fields in stored content

When text is used for audience sends, prefer canonical tokens: {{lead.name}}, {{lead.first_name}}, {{lead.email}}, {{lead.phone}}, {{lead.position}}, {{lead.company}}, {{lead.notes}}, {{lead.metadata.<path>}}, {{site.name}}. Policy: metadata.placeholders.when_unresolved.

REST Endpoint

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

POST /api/agents/tools/content/create POST /api/agents/tools/content/get POST /api/agents/tools/content/update
POST /api/agents/tools/content/create Authorization: Bearer YOUR_API_KEY Content-Type: application/json { "site_id": "YOUR_SITE_ID", "title": "How AI is Changing Sales", "type": "blog_post", "status": "draft", "campaign_id": "CAMPAIGN_UUID" }

Response:

{ "success": true, "content": { "id": "...", "title": "How AI is Changing Sales" } }
Last updated on