Projects/Brands

Complete Calendar Event

Changed on

Mark a campaign as sent so the calendar stops suggesting it. Requires an API key with project:write. Returns the whole calendar back, so a client never has to guess how the change reordered it. There is deliberately no edit endpoint — Migma’s calendar supports adding, removing and marking done, and nothing else.

post/v1/projects/{projectId}/insights/events/{eventId}/complete

Request

  • Base URL
    https://api.migma.ai
  • URL
    https://api.migma.ai/v1/projects/{projectId}/insights/events/{eventId}/complete
  • Auth
    API key in header Authorization

Path parameters

projectIdstring required

Project ID (MongoDB ObjectId)

eventIdstring required

The suggestion's id, from the list response.

Response

The calendar after the change

successboolean required
errorstring nullable

Changes