Complete, cancel, or reopen a task
Moves a task between states. Anyone in the workspace may complete an open task, but only its creator may cancel or reopen one. A task must be open to be completed or cancelled, and must not be open to be reopened.
/leadActivities.taskSetStatusAuthorization
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.taskSetStatus" \ -H "Content-Type: application/json" \ -d '{ "activityId": "bdfd0655-55e6-45e6-8bbc-6ed31d3820b5", "status": "completed" }'{ "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}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.
List tags GET
Returns every tag in the workspace, alphabetically. Tags are workspace configuration, so fetch them here to resolve a tag name to the ID that lead updates expect. A null `builtInType` means someone created the tag by hand; a non-null one means MailMoo maintains it.

