Projects/Brands
Add Calendar Event
Changed onPut 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
- Base URLhttps://api.migma.ai
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
projectIdstring required
Project ID (MongoDB ObjectId)
Request body
Response
The calendar after the change
Changes
- info
endpoint added
- info