Social calendar
The dated events daily media generation makes graphics for: the ones shared with every workspace, the workspace's own, and the design template each is drawn from.
List calendar events
The events daily media generation picks from, earliest first. ce_source says where each came from: system events are shared with every workspace and can be hidden but not edited, feed events come from the workspace's own calendar subscription, and custom events were added here. Hidden events are listed too, flagged ce_hidden, so they can be restored.
query Parameters
cursor^[A-Za-z0-9_-]+$fromlimitoffsetsort^-?[a-z0-9_]+$toHeaders
X-Tenant-IdThe workspace this request acts in. Every row the API returns is isolated to it at the database layer by row-level security.
List calendar events › Responses
Success
has_moreWhether more rows exist past this page.
next_cursorPass back as cursor for the next page. Null on the last page.
Add a calendar event
Adds an event of the workspace's own. Pass ce_template to have its graphic drawn from that design template.
Headers
X-Tenant-IdThe workspace this request acts in. Every row the API returns is isolated to it at the database layer by row-level security.
Add a calendar event › Request Body
ce_summaryce_startce_descriptionce_locationce_endce_templateAdd a calendar event › Responses
Created
ce_idce_summaryce_descriptionce_locationce_startce_endce_sourcece_hiddence_templatece_template_nameDelete a calendar event
Deletes an event the workspace added. Shared and subscribed events are hidden instead.
path Parameters
idHeaders
X-Tenant-IdThe workspace this request acts in. Every row the API returns is isolated to it at the database layer by row-level security.
Delete a calendar event › Responses
Success. No content.
Edit a calendar event
ce_hidden and ce_template apply to any event. The title, dates, location and description can only be changed on an event the workspace added itself. A template assigned here replaces AI image generation for that event: the template's layout, fonts, colors and images stay as approved, and only its text is written.
path Parameters
idHeaders
X-Tenant-IdThe workspace this request acts in. Every row the API returns is isolated to it at the database layer by row-level security.
Edit a calendar event › Request Body optional
ce_summaryce_startce_hiddence_descriptionce_locationce_endce_templateEdit a calendar event › Responses
Success
ce_idce_summaryce_descriptionce_locationce_startce_endce_sourcece_hiddence_templatece_template_name