Set or clear a lead's tag
Replaces the tag on a lead. A lead carries one tag at a time, so this overwrites whatever was there; the previous value comes back as oldTagId. Resolve the tag ID from the tags endpoint first.
/campaigns.leads.updateTagAuthorization
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
curl -X POST "https://example.com/campaigns.leads.updateTag" \ -H "Content-Type: application/json" \ -d '{ "leadGroupId": "b15edcce-7ff3-427f-9d96-03b6df3f3ff2", "leadId": "3c6e2b8e-0e8f-48db-8791-27271df10113", "tagId": "f69eb9f1-ae9f-4086-b25c-c39758a43fb3" }'{ "id": "string", "workspaceId": "string", "leadGroupId": "string", "tagId": "string", "pipelineStageId": "string", "closeReason": "NOT_ICP", "closedFromCategory": "NEW", "stageSetManuallyAt": "string", "followUpAt": "string", "lastActivityAt": "string", "cycle": 0, "profilePictureUrl": "string", "meetingBookedAt": "string", "meetingBookedSource": "VIDEO_LANDING_PAGE", "createdAt": "string", "updatedAt": "string", "campaigns": [ { "id": "string", "name": "string", "property1": null, "property2": null } ], "oldTagId": "string", "property1": null, "property2": null}Set when to pick a lead back up POST
Sets or clears a lead's catch-up date. A lead with a date in the past shows up in triage until someone messages them, which clears it. This is separate from a task: a catch-up date says when to return to the deal, a task is a to-do someone wrote.
List pipeline stages GET
Returns every pipeline stage in the workspace, in board order. Stage names are workspace configuration, so fetch them here rather than hardcoding an ID: this is how you turn 'move the lead to Contacted' into the ID that pipeline updates expect.

