Edit a task
Changes a task's text, due date, or assignee. Send only the fields you are changing; at least one is required. Only the task's creator may edit it, and only while it is still open. To complete or cancel a task, use the status endpoint instead.
/leadActivities.taskUpdateAuthorization
bearerAuth Enter your MailMoo API key (format: sk_live_...)
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/leadActivities.taskUpdate" \ -H "Content-Type: application/json" \ -d '{ "activityId": "bdfd0655-55e6-45e6-8bbc-6ed31d3820b5" }'{ "id": "string", "leadId": "string", "workspaceId": "string", "userId": "string", "type": "NOTE", "content": "string", "metadata": {}, "dueAt": "string", "remindAt": "string", "scheduledFor": "string", "createdAt": "string", "updatedAt": "string", "property1": null, "property2": null}Create a task on a lead POST
Creates an open task against a lead. Tasks appear on the lead's timeline and in the assignee's queue. The task's state lives in `metadata.taskStatus`, which starts as `open`.
Delete a task POST
Removes a task entirely. Only the task's creator may delete it. To record that a task was finished or abandoned, set its status instead: deleting loses the history.

