Projects/Brands
Complete Calendar Event
Changed onMark 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 URLhttps://api.migma.ai
- URLhttps://api.migma.ai/v1/projects/{projectId}/insights/events/{eventId}/complete
- AuthAPI 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
Changes
- info
endpoint added
- info