MailMoo
EndpointsCRM

Create a task on a lead

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.

POST/leadActivities.taskCreate

Authorization

bearerAuth
AuthorizationBearer <token>

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

curl -X POST "https://example.com/leadActivities.taskCreate" \  -H "Content-Type: application/json" \  -d '{    "leadId": "3c6e2b8e-0e8f-48db-8791-27271df10113",    "content": "string"  }'
{  "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}