Projects/Brands

Add Calendar Event

Changed on

Put a campaign on this brand’s calendar. 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

Request

Path parameters

projectIdstring required

Project ID (MongoDB ObjectId)

Request body

titlestring required
suggestedDatestring required

YYYY-MM-DD.

Response

The calendar after the change

successboolean required
errorstring nullable

Changes