Skip to main content
Create or update sidebar notifications shown in the editor UI (tenant domain, cached).
POST /api/notifications
{
  "id": "notification-123",        // optional; required if using `status`
  "message": "Generation started",
  "status": "pending",             // pending | done
  "action": "none",                // none | url | openChatbot | openAssistant
  "action_params": { "url": "/page-1", "target": "_blank" },
  "page_id": 38,
  "type": "editor",                // editor | footer | rag
  "layout_uuid": "footer-fr",
  "dotted_path": "logo",
  "layout_name": "footer"
}
201 Created (new id) or 200 Updated (existing id).

Security considerations

  • message originates from the official Sitecopilot Cloud AI API. The UI renders the message safely; arbitrary HTML from untrusted sources is not accepted.
  • Apply standard rate limiting and audit logging on this endpoint.