Copywriting
Manage copywriting templates and approved copies. Use action=“create” to create new copy (requires title, copy_type, content). Use action=“update” to update existing copy (requires copywriting_id). Use action=“list” to get copies with filters. Use action=“get” to get a single copy by id. Use action=“delete” to remove a copy.
Input Schema
| Parameter | Type | Description |
|---|---|---|
| action | string | Action to perform on copywriting templates. Enum: create, list, update, delete, get |
| copywriting_id | string | Copywriting UUID (required for update/delete/get single) |
| title | string | Title of the copy (required for create) |
| copy_type | string | Type of copy (required for create). Enum: email, sms, whatsapp, web_content, social_media, ad_copy, sales_script, other |
| content | string | The actual text content of the copy (required for create) |
| status | string | Status of the copy. Use “approved” for ready-to-use content. Enum: draft, review, approved, archived |
| target_audience | string | Who this copy is intended for |
| use_case | string | When to use this copy |
| notes | string | Internal notes about this copy |
| tags | array | Tags for categorization |
| site_id | string | Filter by site UUID |
| user_id | string | Filter by user UUID |
| search | string | Text search in title, content, target_audience |
| limit | number | Max results (default 50) |
| offset | number | Pagination offset |
REST Endpoint
Actions map to sub-routes: create → /create, list → /get, update → /update, delete → /delete.
POST /api/agents/tools/copywriting/create
POST /api/agents/tools/copywriting/get
POST /api/agents/tools/copywriting/update
POST /api/agents/tools/copywriting/deletePOST /api/agents/tools/copywriting/create
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json
{
"site_id": "YOUR_SITE_ID",
"title": "Cold Email — SaaS Intro",
"copy_type": "email",
"content": "Hi {{name}}, I wanted to reach out...",
"status": "approved",
"target_audience": "SaaS founders"
}Response:
{
"success": true,
"copywriting": { "id": "...", "title": "Cold Email — SaaS Intro" }
}Last updated on