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

Tasks

Manage tasks. Use action=“create” to create a new task (requires title, type, lead_id). Use action=“update” to update an existing task (requires task_id). Use action=“list” to get tasks with filters.

Input Schema

ParameterTypeDescription
actionstringAction to perform on tasks. Enum: create, list, update
task_idstringTask UUID (required for update)
titlestringTask title (required for create)
typestringTask type: website_visit, demo, meeting, email, call, quote, contract, payment, referral, feedback (required for create)
lead_idstringLead UUID (required for create)
descriptionstringTask description
statusstringpending, in_progress, completed, failed
stagestringTask stage in pipeline
prioritynumberPriority 0-10
scheduled_datestringISO 8601 datetime
completed_datestringISO 8601 when completed
amountnumberMonetary amount if applicable
assigneestringAssignee user UUID
notesstringAdditional notes
conversation_idstringConversation UUID
addressobjectAddress/location data
user_idstringFilter by user UUID
site_idstringFilter by site UUID
visitor_idstringFilter by visitor UUID
scheduled_date_fromstringISO 8601 start
scheduled_date_tostringISO 8601 end
searchstringText search
limitnumberMax results (default 50)
offsetnumberPagination offset

REST Endpoint

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

POST /api/agents/tools/tasks/create POST /api/agents/tools/tasks/get POST /api/agents/tools/tasks/update
POST /api/agents/tools/tasks/create Authorization: Bearer YOUR_API_KEY Content-Type: application/json { "site_id": "YOUR_SITE_ID", "title": "Schedule product demo", "type": "demo", "lead_id": "LEAD_UUID", "status": "pending", "scheduled_date": "2026-03-15T10:00:00Z" }

Response:

{ "success": true, "task": { "id": "...", "title": "Schedule product demo", "status": "pending" } }
Last updated on